Summary
Several vulnerabilities were discovered in the lighttpd web server.
CVE-2014-2323
Jann Horn discovered that specially crafted host names can be used to inject arbitrary MySQL queries in lighttpd servers using the MySQL virtual hosting module (mod_mysql_vhost).
This only affects installations with the lighttpd-mod-mysql-vhost binary package installed and in use.
CVE-2014-2324
Jann Horn discovered that specially crafted host names can be used to traverse outside of the document root under certain situations in lighttpd servers using either the mod_mysql_vhost, mod_evhost, or mod_simple_vhost virtual hosting modules.
Servers not using these modules are not affected.
Solution
For the oldstable distribution (squeeze), these problems have been fixed in version 1.4.28-2+squeeze1.6.
For the stable distribution (wheezy), these problems have been fixed in version 1.4.31-4+deb7u3.
For the testing distribution (jessie), these problems will be fixed soon.
For the unstable distribution (sid), these problems have been fixed in version 1.4.33-1+nmu3.
We recommend that you upgrade your lighttpd packages.
Insight
lighttpd is a small webserver and fast webserver developed with security in mind and a lot of features.
It has support for
* CGI, FastCGI and SSI
* virtual hosts
* URL rewriting
* authentication (plain files, htpasswd, ldap)
* transparent content compression
* conditional configuration
and configuration is straight-forward and easy.
Affected
lighttpd on Debian Linux
Detection
This check tests the installed software version using the apt package manager.
References
Updated on 2015-03-25
Severity
Classification
-
CVE CVE-2014-2323, CVE-2014-2324 -
CVSS Base Score: 7.5
AV:N/AC:L/Au:N/C:P/I:P/A:P
Related Vulnerabilities