CVE-2022-24851

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:ldap-account-manager:ldap_account_manager:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

21 Nov 2024, 06:51

Type Values Removed Values Added
CVSS v2 : 3.5
v3 : 4.8
v2 : 3.5
v3 : 8.1
References () https://github.com/LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3eefaa8bccd49 - Patch, Third Party Advisory () https://github.com/LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3eefaa8bccd49 - Patch, Third Party Advisory
References () https://github.com/LDAPAccountManager/lam/issues/170 - Exploit, Patch, Third Party Advisory () https://github.com/LDAPAccountManager/lam/issues/170 - Exploit, Patch, Third Party Advisory
References () https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-583v - Patch, Third Party Advisory () https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-583v - Patch, Third Party Advisory
References () https://www.debian.org/security/2022/dsa-5177 - Third Party Advisory () https://www.debian.org/security/2022/dsa-5177 - Third Party Advisory

Information

Published : 2022-04-15 19:15

Updated : 2024-11-21 06:51


NVD link : CVE-2022-24851

Mitre link : CVE-2022-24851

CVE.ORG link : CVE-2022-24851


JSON object : View

Products Affected

ldap-account-manager

  • ldap_account_manager

debian

  • debian_linux
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')