CVE-2022-31084 Unauthenticated Remote Code Execution in ldap-account-manager

Critical 9.0 Published Updated

Unauthenticated attackers can achieve remote code execution in LDAP Account Manager by injecting arguments into arbitrary class instantiations.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-31084?

CVE-2022-31084 is a critical code injection vulnerability in Debian Debian Linux, published on 27 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-88

Which versions are affected by CVE-2022-31084?

It affects 2 products.

Products include Debian Debian Linux, Ldap-Account-Manager Ldap Account Manager.

How do I fix CVE-2022-31084?

Upgrade to a fixed version.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2022-31084 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-31084 exists.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2022-31084, GHSA-r387-grjx-qgvw, UBUNTU-CVE-2022-31084.

Is CVE-2022-31084 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free