Vulnerability · Published Jun 27, 2022 · Assigned by GitHub_M
CVE-2022-31084Unauthenticated Remote Code Execution in ldap-account-manager
Critical 9.0
In plain English
A critical-severity argument injection in lam from LDAPAccountManager. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.5% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 There are cases where LAM instantiates objects from arbitrary classes. An attacker can inject the first constructor argument. This can lead to code execution if non-LAM classes are instantiated that execute code during object creation. This issue has been fixed in version 8.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | ldap-account-manager | 8.0.1-1 | DEBIAN-CVE-2022-31084 |
| Debian:13 | ldap-account-manager | 8.0.1-1 | DEBIAN-CVE-2022-31084 |
| Debian:14 | ldap-account-manager | 8.0.1-1 | DEBIAN-CVE-2022-31084 |
| Ubuntu:22.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2022-31084 |
| Ubuntu:25.10 | ldap-account-manager | no fix listed | UBUNTU-CVE-2022-31084 |
| Ubuntu:26.04:LTS | ldap-account-manager | no fix listed | UBUNTU-CVE-2022-31084 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| LDAPAccountManager | lam | < 8.0 |
Weakness: CWE-88 · Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
References
- https://github.com/LDAPAccountManager/lam/commit/f1d5d04952f39a1b4ea203d3964fa88e1429dfd4 x_refsource_MISC
- https://github.com/LDAPAccountManager/lam/security/advisories/GHSA-r387-grjx-qgvw x_refsource_CONFIRM
- DSA-5177 vendor-advisory, x_refsource_DEBIAN
- https://swarm.ptsecurity.com/exploiting-arbitrary-object-instantiations/ x_refsource_MISC