7.0
HIGH
CVE-2017-5899
S-nail Directory Traversal Root Privilege Escalation Vulnerability
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.

INFO

Published Date :

March 27, 2017, 3:59 p.m.

Last Modified :

Nov. 7, 2023, 2:49 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.0
Public PoC/Exploit Available at Github

CVE-2017-5899 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2017-5899 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 S-nail_project s-nail
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2017-5899.

URL Resource
http://www.openwall.com/lists/oss-security/2017/01/27/7 Exploit Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2017/02/07/4 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/96138 Third Party Advisory VDB Entry
https://www.mail-archive.com/s-nail-users%40lists.sourceforge.net/msg00551.html

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Various local exploits

linux local exploit root local-exploits

Shell

Updated: 1 month, 4 weeks ago
133 stars 54 fork 54 watcher
Born at : Dec. 30, 2018, 2:40 p.m. This repo has been linked 11 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2017-5899 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-5899 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://www.mail-archive.com/s-nail-users%40lists.sourceforge.net/msg00551.html [No types assigned]
    Removed Reference MITRE https://www.mail-archive.com/[email protected]/msg00551.html
  • Initial Analysis by [email protected]

    Mar. 31, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:M/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.securityfocus.com/bid/96138 No Types Assigned http://www.securityfocus.com/bid/96138 Third Party Advisory, VDB Entry
    Changed Reference Type https://www.mail-archive.com/[email protected]/msg00551.html No Types Assigned https://www.mail-archive.com/[email protected]/msg00551.html Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2017/01/27/7 No Types Assigned http://www.openwall.com/lists/oss-security/2017/01/27/7 Exploit, Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2017/02/07/4 No Types Assigned http://www.openwall.com/lists/oss-security/2017/02/07/4 Mailing List, Third Party Advisory
    Added CWE CWE-22
    Added CWE CWE-362
    Added CPE Configuration OR *cpe:2.3:a:s-nail_project:s-nail:14.8.5:*:*:*:*:*:*:* (and previous)
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.06 }} 0.00%

score

0.24693

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability