Cross-site scripting in phpLDAPadmin - CVE-2012-0834

 

Cross-site scripting in phpLDAPadmin - CVE-2012-0834

Published: February 11, 2012 / Updated: February 16, 2023


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

Vulnerability details

Vulnerability allows a remote attacker to perform Cross-site scripting attacks.

An input validation error exists in lib/QueryRender.php in phpLDAPadmin 1.2.2 and earlier when processing base parameter in a query_engine action to cmd.php. A remote attacker can trick the victim to follow a specially crafted link and execute arbitrary HTML and script code in victim's browser in security context of vulnerable website.

Successful exploitation of this vulnerability may allow a remote attacker to steal potentially sensitive information, change appearance of the web page, perform phishing and drive-by-download attacks.


Affected software

phpLDAPadmin
Fedora
phpldapadmin

How to mitigate CVE-2012-0834

Install update from vendor's website.

phpLDAPadmin - update to 1.2.3
phpldapadmin - update to 1.2.2-1.el6

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins