CVE-2022-24851

MEDIUM
Published Apr 15, 20224y ago · Modified Jun 17, 20262w ago
4.8 CVSS 3.1
Medium
Find Similar
Published Apr 15, 2022 4y ago
Last Modified Jun 17, 2026 2w ago

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 Details

Base Score
4.8
Exploitability
1.7
Impact
2.7
Vector string
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required High
User Interaction Required
Scope Changed
Confidentiality Low
Integrity Low
Availability None

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 2

CWE-22 Path Traversal Resource Mgmt
CWE-79 Cross-site Scripting Injection

Affected Products 2

VendorProductVersionRange
ldap-account-managerldap_account_manager* <7.9.1
debiandebian_linux11.0any

References 4

  • github.com https://github.com/LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3eefaa8bccd49
    PatchThird Party Advisory
  • github.com https://github.com/LDAPAccountManager/lam/issues/170
    ExploitPatchThird Party Advisory
  • github.com https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-583v
    PatchThird Party Advisory
  • debian.org https://www.debian.org/security/2022/dsa-5177
    Third Party Advisory

Remediation

  • github.com https://github.com/LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3eefaa8bccd49
    PatchThird Party Advisory
  • github.com https://github.com/LDAPAccountManager/lam/issues/170
    ExploitPatchThird Party Advisory
  • github.com https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-583v
    PatchThird Party Advisory