CVE-2017-5899
S-nail Project S-nail vulnerability
Directory traversal vulnerability in the setuid root helper binary in S-nail (later S-mailx) before 14.8.16 allows local users to write to arbitrary files and consequently gain root privileges via a .. (dot dot) in the randstr argument.
Affected products
S-nail. The exact versions are in the references.
What to do now
- Check your exposureFind out whether S-nail Project S-nail runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.openwall.com/lists/oss-security/2017/01/27/7 · Exploit
- www.openwall.com/lists/oss-security/2017/02/07/4 · Third Party Advisory
- www.securityfocus.com/bid/96138 · Third Party Advisory
- www.mail-archive.com/s-nail-users%40lists.sourceforge.net/msg00551.html
- nvd.nist.gov/vuln/detail/CVE-2017-5899
- cve.org/CVERecord?id=CVE-2017-5899
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.