Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ldap-Account-Manager | Ldap Account Manager | < 7.9.1 |
| Debian | Debian Linux | 11.0 |
Related Weaknesses (CWE)
References
- https://github.com/LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3eefPatchThird Party Advisory
- https://github.com/LDAPAccountManager/lam/issues/170ExploitPatchThird Party Advisory
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-583PatchThird Party Advisory
- https://www.debian.org/security/2022/dsa-5177Third Party Advisory
- https://github.com/LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3eefPatchThird Party Advisory
- https://github.com/LDAPAccountManager/lam/issues/170ExploitPatchThird Party Advisory
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-583PatchThird Party Advisory
- https://www.debian.org/security/2022/dsa-5177Third Party Advisory
FAQ
What is CVE-2022-24851?
CVE-2022-24851 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 n...
How severe is CVE-2022-24851?
CVE-2022-24851 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-24851?
Check the references section above for vendor advisories and patch information. Affected products include: Ldap-Account-Manager Ldap Account Manager, Debian Debian Linux.