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

Published Apr 15, 2022
·
Updated

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 Software

3 affected componentsFixes available
debian/ldap-account-manager
8.0.1-0+deb11u18.3-1
ldap-account-manager LDAP Account Manager<7.9.1
Debian Debian Linux=11.0

Event History

Apr 15, 2022
CVE Published
via MITRE·06:45 PM
Data Sourced
via MITRE·06:45 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-24851?

CVE-2022-24851 is classified as a medium severity vulnerability due to the potential for stored cross-site scripting (XSS) attacks.

2

How do I fix CVE-2022-24851?

To remediate CVE-2022-24851, upgrade to versions 8.0.1-0+deb11u1 or 8.3-1 of the LDAP Account Manager package.

3

Who is affected by CVE-2022-24851?

Users of the LDAP Account Manager versions prior to 8.0.1-0+deb11u1 and 8.3-1, particularly those running Debian Linux 11.0, are at risk.

4

What type of vulnerability is CVE-2022-24851?

CVE-2022-24851 is a stored cross-site scripting (XSS) vulnerability that affects the profile editor functionality of LDAP Account Manager.

5

Can CVE-2022-24851 be exploited by unauthenticated users?

No, CVE-2022-24851 requires an authenticated user to exploit the stored XSS vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203