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.
The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Link | Tags |
---|---|
http://www.openwall.com/lists/oss-security/2017/02/07/4 | third party advisory mailing list |
https://www.mail-archive.com/s-nail-users%40lists.sourceforge.net/msg00551.html | mailing list |
http://www.openwall.com/lists/oss-security/2017/01/27/7 | mailing list exploit third party advisory |
http://www.securityfocus.com/bid/96138 | vdb entry third party advisory |