| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.0 | $0-$5k | 0.00 |
Summary
A vulnerability was found in S-nail up to 14.8.15. It has been classified as critical. Affected is an unknown function of the component root Helper. The manipulation of the argument randstr leads to path traversal. This vulnerability is traded as CVE-2017-5899. An attack has to be approached locally. Furthermore, there is an exploit available. Upgrading the affected component is recommended.
Details
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 databases at Exploit-DB (47172) and SecurityFocus (BID 96138†). Be aware that VulDB is the high quality source for vulnerability data.
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 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
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
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 🔍
06/22/2025 🔍
Sources
Advisory: openwall.comResearcher: wapiflapi
Status: Confirmed
CVE: CVE-2017-5899 (🔍)
GCVE (CVE): GCVE-0-2017-5899
GCVE (VulDB): GCVE-100-98999
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: 06/22/2025 12:54
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), 06/22/2025 12:54 (20)
Complete: 🔍
Committer: misc
Cache ID: 216::103
Be aware that VulDB is the high quality source for vulnerability data.
No comments yet. Languages: en.
Please log in to comment.