CVE-2022-24851 Stored XSS and path traversal in LDAPAccountManager/lam
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
- Technology
- UbuntuDebian
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.
Upgrade path
10 packages: 4 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/ldap-account-manager(Ubuntu 16.04) | = 4.9-1; = 5.1-1; = 5.2-1; = 5.2-1ubuntu1 +1 more | No fix listed | No fix yet |
| ubuntu/ldap-account-manager(Ubuntu 18.04) | = 5.7-1; = 6.1-1; = 6.2-1; All versions | No fix listed | No fix yet |
| ubuntu/ldap-account-manager(Ubuntu 20.04) | = 6.7-1; All versions | No fix listed | No fix yet |
| ubuntu/ldap-account-manager(Ubuntu 22.04) | = 7.5-1; = 7.7-1; All versions | No fix listed | No fix yet |
| debian/ldap-account-manager(Debian 12) | < 7.9.1-1 | 7.9.1-1 | Fixed |
| debian/ldap-account-manager(Debian 13) | < 7.9.1-1 | 7.9.1-1 | Fixed |
| debian/ldap-account-manager(Debian 14) | < 7.9.1-1 | 7.9.1-1 | Fixed |
| ldap-account-manager ldap account manager | < 7.9.1 | 7.9.1 | Fixed |
| debian linux | = 11.0 | No fix listed | Versions listed |
| LDAPAccountManager lam | = < 7.9.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| LDAPAccountManager lam | = < 7.9.1 | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:22.04) | All versions | No fix listed |
| ldap-account-manager ldap account manager | < 7.9.1 | 7.9.1 |
| debian linux | = 11.0 | No fix listed |
| debian/ldap-account-manager(Debian:12) | < 7.9.1-1 | 7.9.1-1 |
| debian/ldap-account-manager(Debian:14) | < 7.9.1-1 | 7.9.1-1 |
| debian/ldap-account-manager(Debian:13) | < 7.9.1-1 | 7.9.1-1 |
| ubuntu/ldap-account-manager(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:16.04) | = 4.9-1 | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:16.04) | = 5.1-1 | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:16.04) | = 5.2-1 | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:16.04) | = 5.2-1ubuntu1 | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:18.04) | = 5.7-1 | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:18.04) | = 6.1-1 | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:18.04) | = 6.2-1 | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:20.04) | = 6.7-1 | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:22.04) | = 7.5-1 | No fix listed |
| ubuntu/ldap-account-manager(Ubuntu:22.04) | = 7.7-1 | No fix listed |
References
- Debian Security Tracker CVE-2022-24851 vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com issue-tracking patch third-party-advisory
- DSA-5177 third-party-advisory vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking