Vulnerability · Published Dec 19, 2024 · Assigned by NCSC.ch
CVE-2024-9101phpLDAPadmin: Reflected Cross-Site Scripting in entry_chooser.php
Low 2.1
In plain English
A low-severity cross-site scripting in phpLDAPadmin from phpLDAPadmin. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A reflected cross-site scripting (XSS) vulnerability in the 'Entry Chooser' of phpLDAPadmin (version 1.2.1 through the latest version, 1.2.6.7) allows attackers to execute arbitrary JavaScript in the user's browser via the 'element' parameter, which is unsafely passed to the JavaScript 'eval' function. However, exploitation is limited to specific conditions where 'opener' is correctly set.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | phpldapadmin | no fix listed | DEBIAN-CVE-2024-9101 |
| Debian:13 | phpldapadmin | 1.2.6.7-4 | DEBIAN-CVE-2024-9101 |
| Debian:14 | phpldapadmin | 1.2.6.7-4 | DEBIAN-CVE-2024-9101 |
| Ubuntu:22.04:LTS | phpldapadmin | no fix listed | UBUNTU-CVE-2024-9101 |
| Ubuntu:24.04:LTS | phpldapadmin | no fix listed | UBUNTU-CVE-2024-9101 |
| Ubuntu:25.10 | phpldapadmin | no fix listed | UBUNTU-CVE-2024-9101 |
| Ubuntu:26.04:LTS | phpldapadmin | no fix listed | UBUNTU-CVE-2024-9101 |
| Ubuntu:26.10 | phpldapadmin | no fix listed | UBUNTU-CVE-2024-9101 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| phpLDAPadmin | phpLDAPadmin | 1.2.11.2.6.7 |
Weakness: CWE-79 · Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L
References
- https://www.redguard.ch/blog/2024/12/19/security-advisory-phpldapadmin/ third-party-advisory
- https://github.com/leenooks/phpLDAPadmin/commit/f713afc8d164169516c91b0988531f2accb9bce6#diff-c2d6d7678ada004e704ee055169395a58227aaec86a6f75fa74ca18ff49bca44R27
- https://github.com/leenooks/phpLDAPadmin/blob/master/htdocs/entry_chooser.php
- https://sourceforge.net/projects/phpldapadmin/files/phpldapadmin-php5/1.2.1/