p PatchFirst

CVE-2022-24851

CVE-2022-24851 · Stored XSS and path traversal in LDAPAccountManager/lam

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 · High · EPSS 1.1% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • lam

    Versions
    • < 7.9.1: Affected

    No fix published

  • ldap-account-manager Debian:12

    Affected ranges
    • ECOSYSTEM: < 7.9.1-1

    Update to 7.9.1-1

  • ldap-account-manager Debian:13

    Affected ranges
    • ECOSYSTEM: < 7.9.1-1

    Update to 7.9.1-1

  • ldap-account-manager Debian:14

    Affected ranges
    • ECOSYSTEM: < 7.9.1-1

    Update to 7.9.1-1

  • ldap-account-manager Ubuntu:16.04:LTS

    Versions
    • 4.9-1
    • 5.1-1
    • 5.2-1
    • 5.2-1ubuntu1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ldap-account-manager Ubuntu:18.04:LTS

    Versions
    • 5.7-1
    • 6.1-1
    • 6.2-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ldap-account-manager Ubuntu:20.04:LTS

    Versions
    • 6.7-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • ldap-account-manager Ubuntu:22.04:LTS

    Versions
    • 7.5-1
    • 7.7-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →