CVEfocus › CVE database › CVE-2022-24851

CVE-2022-24851Stored XSS and path traversal in LDAPAccountManager/lam

CVSS 8.1 HighEPSS 1.0% (higher than 63% of CVEs)Published 2022-04-15Updated 2025-04-22Assigner: GitHub_M

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.

CWE-22CWE-79

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
4Fix pending
1Under investigation
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04ldap-account-managerNot affected
vulnerable_code_not_present
Ubuntu 25.10ldap-account-managerNot affected
vulnerable_code_not_present
Ubuntu 24.04ldap-account-managerNot affected
vulnerable_code_not_present
Ubuntu 22.04ldap-account-managerUnder investigationUBUNTU-CVE-2022-24851
Ubuntu 20.04ldap-account-managerFix pendingUBUNTU-CVE-2022-24851
Ubuntu 18.04ldap-account-managerFix pendingUBUNTU-CVE-2022-24851
Ubuntu 16.04ldap-account-managerFix pendingUBUNTU-CVE-2022-24851
Ubuntu 14.04ldap-account-managerFix pending
Debian 14ldap-account-managerFixed7.9.1-1DEBIAN-CVE-2022-24851
Debian 13ldap-account-managerFixed7.9.1-1DEBIAN-CVE-2022-24851
Debian 12ldap-account-managerFixed7.9.1-1DEBIAN-CVE-2022-24851

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.