CVE catalog

CVE-2022-31087

ldap-account-manager: CVE-2022-31087

[CVE catalog]

Severity
Medium
Published
Source
[NVD] · [CVE record]
EPSS
0.44% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianldap-account-managersid9.7-1fixed
Debianldap-account-managerforky9.7-1fixed
Debianldap-account-managertrixie9.0-1fixed
Debianldap-account-managerbookworm8.3-1fixed
Ubuntuldap-account-manager16.044.9-1vulnerable
Ubuntuldap-account-manager16.045.1-1vulnerable
Ubuntuldap-account-manager16.045.2-1vulnerable
Ubuntuldap-account-manager16.045.2-1ubuntu1vulnerable
Ubuntuldap-account-manager18.045.7-1vulnerable
Ubuntuldap-account-manager18.046.1-1vulnerable
Ubuntuldap-account-manager18.046.2-1vulnerable
Ubuntuldap-account-manager20.046.7-1vulnerable
Ubuntuldap-account-manager22.047.5-1vulnerable
Ubuntuldap-account-manager22.047.7-1vulnerable
Ubuntuldap-account-manager25.109.0-1vulnerable
Ubuntuldap-account-manager26.049.0-1vulnerable
Ubuntuldap-account-manager26.049.0-1build1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianldap-account-managersourcesid8.0.1-1not yet assignedNot reportedNot reported
Debianldap-account-managersourceforky8.0.1-1not yet assignedNot reportedNot reported
Debianldap-account-managersourcetrixie8.0.1-1not yet assignedNot reportedNot reported
Debianldap-account-managersourcebookworm8.0.1-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 8.3-1 · all · bookworm

      Fixed · Fixed: 8.0.1-1

      dsa · ldap-account-manager · debian · bookworm

    • 8.3-1 · all · bookworm

      Fixed · Fixed: 8.0.1-1

      dsa · ldap-account-manager · debian · bookworm

  • Source package: [ldap-account-manager]

    Details (2)
    • 8.3-1 · all · bookworm

      Fixed · Fixed: 8.0.1-1

      dsa · ldap-account-manager · debian · bookworm

    • 8.3-1 · all · bookworm

      Fixed · Fixed: 8.0.1-1

      dsa · ldap-account-manager · debian · bookworm

Observed:

References