Vulnerability Details : CVE-2017-5899
Potential exploit
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.
Vulnerability category: Directory traversal
Products affected by CVE-2017-5899
- cpe:2.3:a:s-nail_project:s-nail:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2017-5899
1.05%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 76 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2017-5899
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.9
|
MEDIUM | AV:L/AC:M/Au:N/C:C/I:C/A:C |
3.4
|
10.0
|
NIST | |
7.0
|
HIGH | CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
1.0
|
5.9
|
NIST |
CWE ids for CVE-2017-5899
-
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.Assigned by: nvd@nist.gov (Primary)
-
The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.Assigned by: nvd@nist.gov (Primary)
References for CVE-2017-5899
-
https://www.mail-archive.com/s-nail-users@lists.sourceforge.net/msg00551.html
The Mail Archive - Document Not FoundThird Party Advisory
-
http://www.openwall.com/lists/oss-security/2017/02/07/4
oss-security - Re: CVE Request: s-nail local rootMailing List;Third Party Advisory
-
http://www.openwall.com/lists/oss-security/2017/01/27/7
oss-security - CVE Request: s-nail local rootExploit;Mailing List;Third Party Advisory
-
http://www.securityfocus.com/bid/96138
S-nail CVE-2017-5899 Local Privilege Escalation VulnerabilityThird Party Advisory;VDB Entry
Jump to