Vulnerability

CVE-2022-24851

mediumCVSS 3.1 4.8Published 15 Apr 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Debian debian linux
  • Ldap Account Manager ldap account manager

Weakness type

References

  • github.com /LDAPAccountManager/lam/commit/3c6f09a3579e048e224eb5a4c4e3…
  • github.com /LDAPAccountManager/lam/issues/170
  • github.com /LDAPAccountManager/lam/security/advisories/GHSA-f2fr-cccr-…
  • www.debian.org /security/2022/dsa-5177

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning