CVE-2013-6876
The (1) pty_init_terminal and (2) pipe_init_terminal functions in main.c in s3dvt 0.2.2 and earlier allows local users to gain privileges by leveraging setuid permissions and usage of bash 4.3 and earlier. NOTE: this vulnerability was fixed with commit ad732f00b411b092c66a04c359da0f16ec3b387, but the version number was not changed.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 16.04 | s3d | Not affected vulnerable_code_not_present | ||
| Ubuntu 14.04 | s3d | Not affected vulnerable_code_not_present | ||
| Debian 14 | s3d | Fixed | 0.2.2-9 | DEBIAN-CVE-2013-6876 |
| Debian 13 | s3d | Fixed | 0.2.2-9 | DEBIAN-CVE-2013-6876 |
| Debian 12 | s3d | Fixed | 0.2.2-9 | DEBIAN-CVE-2013-6876 |
References
- http://www.securityfocus.com/bid/67789
- http://www.openwall.com/lists/oss-security/2014/06/03/11
- http://www.securityfocus.com/archive/1/532258/100/0/threaded
- http://hmarco.org/bugs/s3dvt_0.2.2-root-shell.html
- http://packetstormsecurity.com/files/126887/s3dvt-Privilege-Escalation.html
- http://www.securityfocus.com/archive/1/532276/100/0/threaded
- http://seclists.org/fulldisclosure/2014/Jun/10
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.