Permissions, Privileges, and Access Controls in lighttpd - CVE-2013-4559

 

Permissions, Privileges, and Access Controls in lighttpd - CVE-2013-4559

Published: November 20, 2013 / Updated: July 28, 2020


Vulnerability identifier: #VU32620
CSH Severity: High
CVSS v4: 9.2 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-4559
CWE-ID: CWE-264
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

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.


Affected software

lighttpd
Gentoo Linux
Amazon Linux AMI
Fedora
lighttpd (Alpine package)
lighttpd
Adobe Commerce (formerly Magento Commerce)
Virtual Customer Access System (vCAS)

How to mitigate CVE-2013-4559

Install update from vendor's website.

lighttpd - update to 1.4.33
lighttpd (Alpine package) - update to 1.4.33-r1
lighttpd - addressed in versions 1.4.34-1.el5.1, 1.4.34-1.el6
Virtual Customer Access System (vCAS) - update to 14.10-38402

External References

Related Security Bulletins