CVE-2013-4559 lighttpd before 1.4.33 does not check the return value of the (1) setuid, (2) setgid, or (3) setgroups functions, which might cause lighttpd to run as root if it is restarted and allows remote attacke...
HighCVSS 7.6
EPSS 10.7%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
lighttpd before 1.4.33 does not check the return value of the (1) setuid, (2) setgid, or (3) setgroups functions, which might cause lighttpd to run as root if it is restarted and allows remote attackers to gain privileges, as demonstrated by multiple calls to the clone function that cause setuid to fail when the user process limit is reached.
Upgrade path
7 packages: 5 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/lighttpd(Debian 12) | < 1.4.33-1+nmu1 | 1.4.33-1+nmu1 | Fixed |
| debian/lighttpd(Debian 13) | < 1.4.33-1+nmu1 | 1.4.33-1+nmu1 | Fixed |
| debian/lighttpd(Debian 14) | < 1.4.33-1+nmu1 | 1.4.33-1+nmu1 | Fixed |
| lighttpd | < 1.4.33 | 1.4.33 | Fixed |
| ubuntu/lighttpd(Ubuntu 14.04) | < 1.4.33-1+nmu2ubuntu2; = 1.4.31-3ubuntu3; = 1.4.33-1+nmu2ubuntu1; = 1.4.33-1ubuntu1 | 1.4.33-1+nmu2ubuntu2 | Fixed |
| debian linux | = 6.0; = 7.0; = 8.0 | No fix listed | Versions listed |
| opensuse | = 12.2; = 12.3; = 13.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/lighttpd(Debian:12) | < 1.4.33-1+nmu1 | 1.4.33-1+nmu1 |
| debian/lighttpd(Debian:13) | < 1.4.33-1+nmu1 | 1.4.33-1+nmu1 |
| debian/lighttpd(Debian:14) | < 1.4.33-1+nmu1 | 1.4.33-1+nmu1 |
| lighttpd | < 1.4.33 | 1.4.33 |
| debian linux | = 6.0 | No fix listed |
| debian linux | = 7.0 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| opensuse | = 12.2 | No fix listed |
| opensuse | = 12.3 | No fix listed |
| opensuse | = 13.1 | No fix listed |
| ubuntu/lighttpd(Ubuntu:14.04) | < 1.4.33-1+nmu2ubuntu2 | 1.4.33-1+nmu2ubuntu2 |
| ubuntu/lighttpd(Ubuntu:14.04) | = 1.4.31-3ubuntu3 | No fix listed |
| ubuntu/lighttpd(Ubuntu:14.04) | = 1.4.33-1ubuntu1 | No fix listed |
| ubuntu/lighttpd(Ubuntu:14.04) | = 1.4.33-1+nmu2ubuntu1 | No fix listed |
References
- Debian Security Tracker CVE-2013-4559 vendor-advisory
- download.lighttpd.net issue-tracking vendor-advisory
- JVN#37417423 third-party-advisory
- openSUSE-SU-2014:0072 mailing-list third-party-advisory vendor-advisory
- HPSBGN03191 issue-tracking third-party-advisory vendor-advisory
- 55682 third-party-advisory
- [oss-security] 20131112 Re: CVE Request: lighttpd multiple issues (setuid/... unchecked return value, FAM: read after free) mailing-list third-party-advisory
- kc.mcafee.com third-party-advisory
- DSA-2795 third-party-advisory vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- lists.debian.org issue-tracking
- www.cve.org issue-tracking