
sudo /etc/init.d/nfs-kernel-server restart After then restart the service with help of the following command. home *(rw,no_root_squash)Ībove entry shows that we have shared /home directory and allowed the root user on the client to access files to read/ write operation and * sign denotes connection from any Host machine. An NFS system is considered weak or Misconfigured when following entry/record is edit into it for sharing any directory.
#NFS RUN SOUNDTRACK LIST HOW TO#
Hopefully, it might be clear to you, how to configure the /etc/export file by using a particular option.

#NFS RUN SOUNDTRACK LIST INSTALL#
To install NFS service execute below command in your terminal and open /etc/export file for configuration. But to configure weak NFS server we will look only /etc/export file. Misconfigured NFS Lab setupīasically, there are three core configuration files (/etc/exports, /etc/hosts.allow, and /etc/ny) you will need to configure to set up an NFS server.

Although NFS uses TCP/UDP port 2049 for sharing any files/directories over a network. Network File System (NFS): Network File System permits a user on a client machine to mount the shared files or directories over a network. NFS uses Remote Procedure Calls (RPC) to route requests between clients and servers. Table of ContentsĮxploiting NFS server for Privilege Escalation via: In this article, we will learn how to exploit a misconfigured NFS share to gain root access to a remote host machine. After solving several OSCP Challenges we decided to write an article on the various methods used for Linux privilege escalation, which can be helpful for our readers in their penetration testing projects.
