CVE-2022-24851
CVE-2022-24851 · Stored XSS and path traversal in LDAPAccountManager/lam
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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 8.1 · Élevée · EPSS 1,1% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
lam
- Versions du logiciel
- < 7.9.1: Concernée
Aucun correctif publié
ldap-account-manager Debian:12
- Plages de versions concernées
- ECOSYSTEM: < 7.9.1-1
Mettez à jour vers 7.9.1-1
ldap-account-manager Debian:13
- Plages de versions concernées
- ECOSYSTEM: < 7.9.1-1
Mettez à jour vers 7.9.1-1
ldap-account-manager Debian:14
- Plages de versions concernées
- ECOSYSTEM: < 7.9.1-1
Mettez à jour vers 7.9.1-1
ldap-account-manager Ubuntu:16.04:LTS
- Versions du logiciel
- 4.9-1
- 5.1-1
- 5.2-1
- 5.2-1ubuntu1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
ldap-account-manager Ubuntu:18.04:LTS
- Versions du logiciel
- 5.7-1
- 6.1-1
- 6.2-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
ldap-account-manager Ubuntu:20.04:LTS
- Versions du logiciel
- 6.7-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
ldap-account-manager Ubuntu:22.04:LTS
- Versions du logiciel
- 7.5-1
- 7.7-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
Sources originales
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-583v
- https://github.com/LDAPAccountManager/lam/issues/170
- https://github.com/LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3eefaa8bccd49
- https://www.debian.org/security/2022/dsa-5177
- https://nvd.nist.gov/vuln/detail/CVE-2022-24851