{"id":"CVE-2024-9101","state":"PUBLISHED","title":"phpLDAPadmin: Reflected Cross-Site Scripting in entry_chooser.php","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.","publishedAt":"2024-12-19T13:41:06.610Z","updatedAt":"2024-12-20T20:20:24.165Z","severity":{"score":2.1,"label":"Low","version":"4.0","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","source":"NCSC.ch"},"assigner":"NCSC.ch","products":["phpLDAPadmin phpLDAPadmin"],"affected":[{"vendor":"phpLDAPadmin","product":"phpLDAPadmin","defaultStatus":"affected","versions":[{"version":"1.2.1","status":"affected"},{"version":"1.2.6.7","status":"affected"}],"collectionURL":"https://github.com/leenooks/phpLDAPadmin/releases","platforms":["All platforms supporting phpLDAPadmin"],"programFiles":["htdocs/entry_chooser.php"],"repo":"https://github.com/leenooks/phpLDAPadmin"}],"references":["https://www.redguard.ch/blog/2024/12/19/security-advisory-phpldapadmin/","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/"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/9xxx/CVE-2024-9101.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-9101","state":"PUBLISHED","datePublished":"2024-12-19T13:41:06.610Z","dateUpdated":"2024-12-20T20:20:24.165Z","assignerShortName":"NCSC.ch","assignerOrgId":"455daabc-a392-441d-aa46-37d35189897c","dateReserved":"2024-09-23T13:40:38.311Z"},"containers":{"cna":{"title":"phpLDAPadmin: Reflected Cross-Site Scripting in entry_chooser.php","descriptions":[{"lang":"en","value":"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":[{"vendor":"phpLDAPadmin","product":"phpLDAPadmin","defaultStatus":"affected","versions":[{"version":"1.2.1","status":"affected"},{"version":"1.2.6.7","status":"affected"}],"collectionURL":"https://github.com/leenooks/phpLDAPadmin/releases","platforms":["All platforms supporting phpLDAPadmin"],"programFiles":["htdocs/entry_chooser.php"],"repo":"https://github.com/leenooks/phpLDAPadmin"}],"references":[{"url":"https://www.redguard.ch/blog/2024/12/19/security-advisory-phpldapadmin/","tags":["third-party-advisory"]},{"url":"https://github.com/leenooks/phpLDAPadmin/commit/f713afc8d164169516c91b0988531f2accb9bce6#diff-c2d6d7678ada004e704ee055169395a58227aaec86a6f75fa74ca18ff49bca44R27"},{"url":"https://github.com/leenooks/phpLDAPadmin/blob/master/htdocs/entry_chooser.php"},{"url":"https://sourceforge.net/projects/phpldapadmin/files/phpldapadmin-php5/1.2.1/"}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"HIGH","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":2.1,"baseSeverity":"LOW","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"LOW","subConfidentialityImpact":"LOW","subIntegrityImpact":"LOW","userInteraction":"ACTIVE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"LOW","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"NCSC.ch","orgId":"455daabc-a392-441d-aa46-37d35189897c","dateUpdated":"2024-12-19T13:41:06.610Z"},"credits":[{"lang":"en","type":"finder","value":"Andreas Pfefferle, Redguard AG"}],"impacts":[{"descriptions":[{"lang":"en","value":"Allows execution of arbitrary JavaScript in the user's browser."}]}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"It is recommended to avoid using the <tt>eval()</tt> function, especially in combination with user-supplied input. Instead of using <tt>eval()</tt>, it is advised to access the DOM element directly in a safe manner.<br>"}],"value":"It is recommended to avoid using the eval() function, especially in combination with user-supplied input. Instead of using eval(), it is advised to access the DOM element directly in a safe manner."}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-12-20T20:20:12.468228Z","id":"CVE-2024-9101","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-12-20T20:20:24.165Z"}}]}}}