DEBIAN-CVE-2022-31087

Source
https://security-tracker.debian.org/tracker/CVE-2022-31087
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2022-31087.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2022-31087
Upstream
Published
2022-06-27T21:15:08Z
Modified
2025-09-25T23:27:27.479221Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / ldap-account-manager

Package

Name
ldap-account-manager
Purl
pkg:deb/debian/ldap-account-manager?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.1-0+deb11u1

Affected versions

7.*

7.4-1
7.5-1
7.7-1
7.9-1
7.9.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / ldap-account-manager

Package

Name
ldap-account-manager
Purl
pkg:deb/debian/ldap-account-manager?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / ldap-account-manager

Package

Name
ldap-account-manager
Purl
pkg:deb/debian/ldap-account-manager?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / ldap-account-manager

Package

Name
ldap-account-manager
Purl
pkg:deb/debian/ldap-account-manager?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.0.1-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}