Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | s3d | 0.2.2-9 | — |
| Debian 13 | s3d | 0.2.2-9 | — |
| Debian 12 | s3d | 0.2.2-9 | — |
References
- 67789 vdb-entry
- [oss-security] 20140603 CVE-2013-6876 s3dvt Root shell mailing-list
- 20140602 [FD] CVE-2013-6876 s3dvt Root shell mailing-list
- http://hmarco.org/bugs/s3dvt_0.2.2-root-shell.html
- http://packetstormsecurity.com/files/126887/s3dvt-Privilege-Escalation.html
- 20140603 CVE-2013-6876 s3dvt Root shell mailing-list
- 20140604 CVE-2013-6876 s3dvt Root shell mailing-list