{"id":"UBUNTU-CVE-2024-9101","details":"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.","modified":"2026-01-20T19:06:14.899588Z","published":"2024-12-19T14:15:00Z","upstream":["CVE-2024-9101"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-9101"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-9101"},{"type":"REPORT","url":"https://www.redguard.ch/blog/2024/12/19/security-advisory-phpldapadmin/"},{"type":"REPORT","url":"https://github.com/leenooks/phpLDAPadmin/blob/master/htdocs/entry_chooser.php"},{"type":"REPORT","url":"https://github.com/leenooks/phpLDAPadmin/commit/f713afc8d164169516c91b0988531f2accb9bce6#diff-c2d6d7678ada004e704ee055169395a58227aaec86a6f75fa74ca18ff49bca44R27"},{"type":"REPORT","url":"https://sourceforge.net/projects/phpldapadmin/files/phpldapadmin-php5/1.2.1/"}],"affected":[{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/phpldapadmin@1.2.2-5.2ubuntu2.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-5.2","1.2.2-5.2ubuntu1","1.2.2-5.2ubuntu2","1.2.2-5.2ubuntu2.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.2-5.2ubuntu2.1","binary_name":"phpldapadmin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9101.json"}},{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/phpldapadmin@1.2.2-6ubuntu1.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-6ubuntu1","1.2.2-6ubuntu1.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.2-6ubuntu1.1","binary_name":"phpldapadmin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9101.json"}},{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/phpldapadmin@1.2.2-6.3?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-6.1ubuntu1","1.2.2-6.2ubuntu1","1.2.2-6.3"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.2-6.3","binary_name":"phpldapadmin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9101.json"}},{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/phpldapadmin@1.2.6.3-0.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.2-6.3","1.2.6.3-0.2"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.6.3-0.2","binary_name":"phpldapadmin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9101.json"}},{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/phpldapadmin@1.2.6.7-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.6.3-0.3","1.2.6.6-2","1.2.6.7-1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.6.7-1","binary_name":"phpldapadmin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9101.json"}},{"package":{"name":"phpldapadmin","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/phpldapadmin@1.2.6.7-4?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.6.7-4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.2.6.7-4","binary_name":"phpldapadmin"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-9101.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V4","score":"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"},{"type":"Ubuntu","score":"medium"}]}