Skip to content

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.

PackageAffectedFixed inStatus
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

ProductAffected versionsFixed 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