p PatchFirst

CVE-2022-31087

CVE-2022-31087 · Incorrect Default Permissions in ldap-account-manager

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

LDAP Account Manager (LAM) is a webfrontend for managing entries (e.g. users, groups, DHCP settings) stored in an LDAP directory. In versions prior to 8.0 the tmp directory, which is accessible by /lam/tmp/, allows interpretation of .php (and .php5/.php4/.phpt/etc) files. An attacker capable of writing files under www-data privileges can write a web-shell into this directory, and gain a Code Execution on the host. This issue has been fixed in version 8.0. Users unable to upgrade should disallow executing PHP scripts in (/var/lib/ldap-account-manager/)tmp directory.

CVSS 7.8 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: system

Affected products and versions

  • lam

    Versions
    • < 8.0: Affected

    No fix published

  • ldap-account-manager Debian:12

    Affected ranges
    • ECOSYSTEM: < 8.0.1-1

    Update to 8.0.1-1

  • ldap-account-manager Debian:13

    Affected ranges
    • ECOSYSTEM: < 8.0.1-1

    Update to 8.0.1-1

  • ldap-account-manager Debian:14

    Affected ranges
    • ECOSYSTEM: < 8.0.1-1

    Update to 8.0.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

  • ldap-account-manager Ubuntu:25.10

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

    No fix published

  • ldap-account-manager Ubuntu:26.04:LTS

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

    No fix published

Original sources

Check your server →