nday
CVE-2017-5899

Directory traversal vulnerability in the setuid root helper binary in S-nail (later S-mailx)…Title composed by nday; the CVE record has none.

A public PoC appeared 657 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 1 of 4 PoC sources: exploitdb. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

path traversal
CWE-22, stated by NVD's analysts
race condition
CWE-362, stated by NVD's analysts
local
AV:L in CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
no user interaction
UI:N in CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (CVSS 3.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 47172
stage
POC
disclosed
disclosure → PoC
T+657d POC is date-only
cvss
no score yet

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2017-03-27T15:00Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2019-01-13, date only
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Event log

+DISdisclosed

CVE record published by mitre.

src cvelist · nday , bulk import · raw
{
  "id": 68272,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2017-5899",
  "occurred_at": "2017-03-27T15:00:00Z",
  "observed_at": "2026-11-13T01:04:22.549374Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2017-03-27T15:00:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2019-01-13date only, from source
+POCpublic PoC

Exploit-DB lists public exploit code “S-nail < 14.8.16 - 's-nail-privsep' Race Condition / Local Privilege Escalation (LPE)” (EDB-47172).

src exploitdb 47172 · nday , bulk import · raw
{
  "id": 26671,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/47172",
  "occurred_at": "2019-01-13T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "47172",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/47172",
    "file": "exploits/multiple/local/47172.sh",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "S-nail < 14.8.16 - 's-nail-privsep' Race Condition / Local Privilege Escalation (LPE)",
    "author": "bcoles",
    "edb_id": 47172,
    "cve_ids": [
      "CVE-2017-5899"
    ],
    "platform": "multiple",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2019-07-26",
    "date_updated": "2019-07-26",
    "date_published": "2019-01-13"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.