CVE-2022-31253 openldap2: /usr/lib/openldap/start allows ldap user/group to recursively chown arbitrary directory trees to itself

High 7.1 Published Updated

Local attackers with ldap user control can change ownership of arbitrary directories to escalate privileges to root in openSUSE openldap2.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2022-31253?

CVE-2022-31253 is a high-severity vulnerability in openSUSE Factory, published on 9 Nov 2022. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

A Untrusted Search Path vulnerability in openldap2 of openSUSE Factory allows local attackers with control of the ldap user or group to change ownership of arbitrary directory entries to this user/group, leading to escalation to root. This issue affects: openSUSE Factory openldap2 versions prior to 2.6.3-404.1.

Weakness: CWE-426

Which versions are affected by CVE-2022-31253?

It affects 1 product.

Products include Opensuse Openldap2.

How do I fix CVE-2022-31253?

No fix has been published for CVE-2022-31253 yet. Limit exposure of the affected software until one is available.

Is CVE-2022-31253 being exploited?

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

Sources

Also known as GHSA-hxf4-pc5p-7f5c, openSUSE-SU-2024:12457-1.

Is CVE-2022-31253 in your software?

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

Check your SBOMs for free