{"api_version":"1","generated_at":"2026-05-08T20:54:18+00:00","cve":"CVE-2022-24851","urls":{"html":"https://cve.report/CVE-2022-24851","api":"https://cve.report/api/cve/CVE-2022-24851.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-24851","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-24851"},"summary":{"title":"CVE-2022-24851","description":"LDAP Account Manager (LAM) is an open source web frontend for managing entries stored in an LDAP directory. The profile editor tool has an edit profile functionality, the parameters on this page are not properly sanitized and hence leads to stored XSS attacks. An authenticated user can store XSS payloads in the profiles, which gets triggered when any other user try to access the edit profile page. The pdf editor tool has an edit pdf profile functionality, the logoFile parameter in it is not properly sanitized and an user can enter relative paths like ../../../../../../../../../../../../../usr/share/icons/hicolor/48x48/apps/gvim.png via tools like burpsuite. Later when a pdf is exported using the edited profile the pdf icon has the image on that path(if image is present). Both issues require an attacker to be able to login to LAM admin interface. The issue is fixed in version 7.9.1.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-04-15 19:15:00","updated_at":"2022-10-07 15:21:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-583v","name":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-583v","refsource":"CONFIRM","tags":[],"title":"Stored XSS and arbitrary image read vulnerability · Advisory · LDAPAccountManager/lam · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/LDAPAccountManager/lam/issues/170","name":"https://github.com/LDAPAccountManager/lam/issues/170","refsource":"MISC","tags":[],"title":"Multiple vulnerabilities in LDAP Account Manager · Issue #170 · LDAPAccountManager/lam · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.debian.org/security/2022/dsa-5177","name":"DSA-5177","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-5177-1 ldap-account-manager","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3eefaa8bccd49","name":"https://github.com/LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3eefaa8bccd49","refsource":"MISC","tags":[],"title":"#170 fixed security issues in profile editor and PDF editor · LDAPAccountManager/lam@3c6f09a · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-24851","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-24851","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"24851","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"11.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"24851","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ldap-account-manager","cpe5":"ldap_account_manager","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-24851","qid":"180808","title":"Debian Security Update for ldap-account-manager (DSA 5177-1)"},{"cve":"CVE-2022-24851","qid":"184200","title":"Debian Security Update for ldap-account-manager (CVE-2022-24851)"},{"cve":"CVE-2022-24851","qid":"730468","title":"LDAP Account Manager Stored Cross-Site Scripting (XSS) and Arbitrary Image Read Vulnerability"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-24851","STATE":"PUBLIC","TITLE":"Stored XSS and path traversal in LDAPAccountManager/lam"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"lam","version":{"version_data":[{"version_value":"< 7.9.1"}]}}]},"vendor_name":"LDAPAccountManager"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"LDAP Account Manager (LAM) is an open source web frontend for managing entries stored in an LDAP directory. The profile editor tool has an edit profile functionality, the parameters on this page are not properly sanitized and hence leads to stored XSS attacks. An authenticated user can store XSS payloads in the profiles, which gets triggered when any other user try to access the edit profile page. The pdf editor tool has an edit pdf profile functionality, the logoFile parameter in it is not properly sanitized and an user can enter relative paths like ../../../../../../../../../../../../../usr/share/icons/hicolor/48x48/apps/gvim.png via tools like burpsuite. Later when a pdf is exported using the edited profile the pdf icon has the image on that path(if image is present). Both issues require an attacker to be able to login to LAM admin interface. The issue is fixed in version 7.9.1."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]},{"description":[{"lang":"eng","value":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"references":{"reference_data":[{"name":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-583v","refsource":"CONFIRM","url":"https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-583v"},{"name":"https://github.com/LDAPAccountManager/lam/issues/170","refsource":"MISC","url":"https://github.com/LDAPAccountManager/lam/issues/170"},{"name":"https://github.com/LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3eefaa8bccd49","refsource":"MISC","url":"https://github.com/LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3eefaa8bccd49"},{"refsource":"DEBIAN","name":"DSA-5177","url":"https://www.debian.org/security/2022/dsa-5177"}]},"source":{"advisory":"GHSA-f2fr-cccr-583v","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-04-15 19:15:00","lastModifiedDate":"2022-10-07 15:21:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":4.8,"baseSeverity":"MEDIUM"},"exploitabilityScore":1.7,"impactScore":2.7},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:S/C:N/I:P/A:N","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"SINGLE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":3.5},"severity":"LOW","exploitabilityScore":6.8,"impactScore":2.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:*","versionEndExcluding":"7.9.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"24851","Ordinal":"228251","Title":"CVE-2022-24851","CVE":"CVE-2022-24851","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"24851","Ordinal":"1","NoteData":"** RESERVED ** This candidate has been reserved by an organization or individual that will use it when announcing a new security problem. When the candidate has been publicized, the details for this candidate will be provided.","Type":"Description","Title":null}]}}}