CVE-2017-5899

HIGH

S-nail < 14.8.5 - Race Condition

Title source: rule

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.

Exploits (1)

exploitdb WORKING POC
by bcoles · bashlocalmultiple
https://www.exploit-db.com/exploits/47172

Scores

CVSS v3 7.0
EPSS 0.0070
EPSS Percentile 72.0%
Attack Vector LOCAL
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-22 CWE-362
Status published
Products (1)
s-nail_project/s-nail < 14.8.5
Published Mar 27, 2017
Tracked Since Feb 18, 2026