nfs-utils: user-controlled /etc/mtab corruption
| Package(s): | nfs-utils | CVE #(s): | CVE-2011-1749 | ||||||||||||||||||||||||||||||||
| Created: | July 14, 2011 | Updated: | March 22, 2012 | ||||||||||||||||||||||||||||||||
| Description: | From the Pardus advisory: It was found that mount.nfs suffers from the same flaw as other mount helpers (see CVE-2011-1089). Instead of using addmntent(), nfs-utils implements its own similar function (nfs_addmntent()) which also fails to anticipate whether resource limits would interfere with correctly writing to /etc/mtab. A local user could use this to trigger corruption of the /etc/mtab file via a process with a small RLIMIT_FSIZE value. | ||||||||||||||||||||||||||||||||||
| Alerts: |
| ||||||||||||||||||||||||||||||||||
Posted Jul 21, 2011 9:26 UTC (Thu)
by zuki (subscriber, #41808)
[Link] (1 responses)
Posted Jul 28, 2011 12:49 UTC (Thu)
by nix (subscriber, #2304)
[Link]
/etc/mtab? Shouldn't that be a link to /proc/self/mounts anyway?
nfs-utils: user-controlled /etc/mtab corruption
nfs-utils: user-controlled /etc/mtab corruption
