June 6, 2016 By Larry Loeb 2 min read

Network file system (NFS) is a computer protocol that describes how to connect and access files via a network connection. It is used to store and share data, but early versions of the protocol do not provide or request user-based authentication.

Since the fourth version, NFS has been using Kerberos to improve authentication. Unfortunately, this version has not been widely implemented, leaving some holes that are catching the attention of experts — and cybercriminals.

NFS Servers Leak Data Like a Sieve

Security research firm Fortinet recently took a look at NFS, and its conclusions are rather worrisome. It found that “most servers on the Internet that have been linked to data leakage have been shown to use NFSv3.”

Fortinet used data from the website Shodan and found that 10 percent of NFS servers in the world are open for everyone to access with no need for a password. Some of these servers contained confidential data such as email backups, server logs and web source code.

This isn’t limited to just read-only access, either; Fortinet found that write access is often available as well.

Thousands of the exposed servers were located in the U.S. (18,843 servers), China (11,608), France (10,744), Germany (7,188) and Russia (5,269), the firm reported.

Mitigating the Risk

Fixing this problem can be a bit tricky. Fortinet strongly recommended upgrading NFS to version 4, but this isn’t possible for every organization.

If one of the earlier versions of NFS must be used, then there should be a specific white list of allowed IP addresses that can access the data. While the security firm noted that “this process can be tedious and time consuming,” it is a critical part of establishing “data security protocols that will prevent sensitive or confidential data from being accessible from the internet.”

Enabling the NFS application control signature on a system’s main gateway can also block all unexpected NFS connections from the outside to prevent data leakage.

Correct NFS configuration can be a pain for the system administrator, but saving a server from exploitation by cybercriminals will be worth it.

More from

SoaPy: Stealthy enumeration of Active Directory environments through ADWS

10 min read - Introduction Over time, both targeted and large-scale enumeration of Active Directory (AD) environments have become increasingly detected due to modern defensive solutions. During our internship at X-Force Red this past summer, we noticed FalconForce’s SOAPHound was becoming popular for enumerating Active Directory environments. This tool brought a new perspective to Active Directory enumeration by performing collection via Active Directory Web Services (ADWS) instead of directly through Lightweight Directory Access Protocol (LDAP) as other AD enumeration tools had in the past.…

Smoltalk: RCE in open source agents

26 min read - Big shoutout to Hugging Face and the smolagents team for their cooperation and quick turnaround for a fix! Introduction Recently, I have been working on a side project to automate some pentest reconnaissance with AI agents. Just after I started this project, Hugging Face announced the release of smolagents, a lightweight framework for building AI agents that implements the methodology described in the ReAct paper, emphasizing reasoning through iterative decision-making. Interestingly, smolagents enables agents to reason and act by generating…

4 ways to bring cybersecurity into your community

4 min read - It’s easy to focus on technology when talking about cybersecurity. However, the best prevention measures rely on the education of those who use technology. Organizations training their employees is the first step. But the industry needs to expand the concept of a culture of cybersecurity and take it from where it currently stands as an organizational responsibility to a global perspective.When every person who uses technology — for work, personal use and school — views cybersecurity as their responsibility, it…

Topic updates

Get email updates and stay ahead of the latest threats to the security landscape, thought leadership and research.
Subscribe today