Out-of-bounds read in lighttpd - CVE-2013-7205

 

Out-of-bounds read in lighttpd - CVE-2013-7205

Published: January 15, 2014 / Updated: August 8, 2022


Vulnerability identifier: #VU32582
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2013-7205
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform denial of service (DoS) attack.

The vulnerability exists due to a boundary condition when processing a long string in the last key value in the variable list, which triggers a heap-based buffer over-read within the Off-by-one error in the process_cgivars function in contrib/daemonchk.c. A remote attacker can create a specially crafted file, pass it to the application, trigger out-of-bounds read error and crash the affected application.


Affected software

lighttpd
Gentoo Linux
Ubuntu
nagios (Alpine package)
nagios3-core (Ubuntu package)
nagios3-cgi (Ubuntu package)

How to mitigate CVE-2013-7205

Install update from vendor's website.

nagios (Alpine package) - update to 3.4.4-r1
nagios3-core (Ubuntu package) - addressed in versions 3.5.1-1ubuntu1.1, 3.5.1.dfsg-2.1ubuntu1.1, 3.5.1.dfsg-2.1ubuntu3.1
nagios3-cgi (Ubuntu package) - addressed in versions 3.5.1-1ubuntu1.1, 3.5.1.dfsg-2.1ubuntu1.1, 3.5.1.dfsg-2.1ubuntu3.1

External References

Related Security Bulletins