SQL injection in lighttpd - CVE-2014-2323

 

SQL injection in lighttpd - CVE-2014-2323

Published: March 14, 2014 / Updated: July 29, 2020


Vulnerability identifier: #VU32559
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2014-2323
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data passed via the host name, related to request_check_hostname. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.


Affected software

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

How to mitigate CVE-2014-2323

Update to version 1.4.35.

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

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins