Skip to content
OpenAdvisories
High · 8.1 CVE-2022-24851 EUVD-2022-29631

Stored XSS and path traversal in LDAPAccountManager/lam

Published Apr 15, 2022 · Updated Apr 22, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
LDAPAccountManager lam < 7.9.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ldap-account-manager 7.9.1-1 —
Debian 13 ldap-account-manager 7.9.1-1 —
Debian 12 ldap-account-manager 7.9.1-1 —
Debian 11 ldap-account-manager 8.0.1-0+deb11u1 DSA-5177-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS ldap-account-manager No fix yet —
Ubuntu 20.04 LTS ldap-account-manager No fix yet —
Ubuntu 18.04 LTS ldap-account-manager No fix yet —
Ubuntu 16.04 LTS ldap-account-manager No fix yet —

Advisories 1

References