### [CVE-2017-5899](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5899) ![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue) ![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen) ### Description 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. ### POC #### Reference - http://www.openwall.com/lists/oss-security/2017/01/27/7 #### Github - https://github.com/ARPSyndicate/cvemon - https://github.com/bcoles/local-exploits