小码农 猫的一生在打哈欠中度过
【漏洞修复】NFS Exported Share Infomation Disclosure

【漏洞修复】NFS Exported Share Infomation Disclosure

前言

运维的机器扫描漏洞扫出了NFS Exported Share Information Disclosure高危漏洞

漏洞描述

描述:至少有一个由远程服务器导出的NFS共享可以被扫描主机挂载。攻击者可能利用这个漏洞来读取(甚至写入)远程主机上的文件。

原始描述

Description: At least one of the NFS shares exported by the remote server could be mounted by the scanning host. An attacker may be able to leverage this to read (and possibly write) files on remote host.
Solution: Configure NFS on the remote host so that only authorized hosts can mount its remote shares.
See Also:
STIG Severity:
Vulnerability Priority Rating: 5.9
CVSS V2 Base Score: 10.0
CVSS V2 Temporal Score:
CVSS V2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C
CVE: CVE-1999-0170,CVE-1999-0211,CVE-1999-0554
Cross References:
First Discovered: Jun 14, 2023 10:40:47 CST
Last Observed: Jun 14, 2023 10:40:47 CST
Exploit Ease: Exploits are available
Exploit Frameworks: Metasploit (NFS Mount Scanner)

修复

修复:请在远程主机上配置NFS,以确保只有授权的主机可以挂载其远程共享。

配置白名单即可。
进入共享的主机:

vim /etc/hosts.allow
mountd:10.170.129.101/105:allow
rpcbind:10.170.129.101/105:allow
vim /etc/hosts.deny
showmount:ALL
mountd:all

这样配置后,只有10.170.129.101到105的5台机器能访问nfs

赏
支付宝赞赏码
支付宝
微信赞赏码
微信
分享 微博 QQ 空间 豆瓣 Twitter

本文最后更新于 2023 年 07 月 05 日,距今日已 1221 天。

签 漏洞 NFS

本文出自 小码农,转载请注明出处。

评 说

正在取来评说……

卷首