CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
6.7 | $0-$5k | 0.00 |
A vulnerability was found in S-nail up to 14.8.15. It has been rated as critical. This issue affects an unknown code block of the component root Helper. The manipulation of the argument randstr
with an unknown input leads to a path traversal vulnerability. Using CWE to declare the problem leads to CWE-22. 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. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
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 bug was discovered 01/27/2017. The weakness was shared 03/27/2017 by wapiflapi (oss-sec). It is possible to read the advisory at openwall.com. The identification of this vulnerability is CVE-2017-5899 since 02/07/2017. Attacking locally is a requirement. The requirement for exploitation is a simple authentication. Technical details as well as a public exploit are known. The attack technique deployed by this issue is T1006 according to MITRE ATT&CK.
A public exploit has been developed by bcoles. The exploit is available at github.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 59 days. During that time the estimated underground price was around $0-$5k.
Upgrading to version 14.8.16 eliminates this vulnerability.
The vulnerability is also documented in the vulnerability database at Exploit-DB (47172).
Product
Name
Version
- 14.8.0
- 14.8.1
- 14.8.2
- 14.8.3
- 14.8.4
- 14.8.5
- 14.8.6
- 14.8.7
- 14.8.8
- 14.8.9
- 14.8.10
- 14.8.11
- 14.8.12
- 14.8.13
- 14.8.14
- 14.8.15
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.4VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.8
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 7.0
NVD Vector: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Path traversalCWE: CWE-22
ATT&CK: T1006
Local: Yes
Remote: No
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Author: bcoles
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Exploit-DB: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: S-nail 14.8.16
Timeline
01/27/2017 🔍02/07/2017 🔍
02/07/2017 🔍
03/27/2017 🔍
03/27/2017 🔍
03/28/2017 🔍
07/13/2020 🔍
Sources
Advisory: openwall.comResearcher: wapiflapi
Status: Not defined
CVE: CVE-2017-5899 (🔍)
SecurityFocus: 96138 - S-nail CVE-2017-5899 Local Privilege Escalation Vulnerability
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/28/2017 22:05Updated: 07/13/2020 09:56
Changes: 03/28/2017 22:05 (61), 07/26/2019 14:40 (4), 07/26/2019 14:41 (2), 07/13/2020 09:56 (1)
Complete: 🔍
Committer: misc
No comments yet. Languages: en.
Please log in to comment.