CVE-2011-0532: Medium severity red hat 389 directory server vulnerability
It was discovered that 398 / Red Hat Directory Server set LDLIBRARYPATH environment variable to insecure value containing empty path elements in various shell scripts used by DS (e.g. various backup/restore scripts instantiated for each DS instance, as well as the main initialization script). Such LDLIBRARYPATH setting causes ld.so dynamic linker to perform library search relative to the current working directory before searching system library directories. A local attacker able to trick a user running those scripts (usually the root user) to run them while working from an attacker writeable directory could use this flaw to escalate their privileges via specially crated dynamic library.
Other sources
The (1) backup and restore scripts, (2) main initialization script, and (3) ldap-agent script in 389 Directory Server 1.2.x (aka Red Hat Directory Server 8.2.x) place a zero-length directory name in the LDLIBRARYPATH, which allows local users to gain privileges via a Trojan horse shared library in the current working directory.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2011-0532?
CVE-2011-0532 is considered a moderate severity vulnerability due to its impact on the security of the Red Hat Directory Server.
How do I fix CVE-2011-0532?
To fix CVE-2011-0532, you should update the Red Hat Directory Server to the latest version that addresses this vulnerability.
What causes CVE-2011-0532?
CVE-2011-0532 is caused by the LD_LIBRARY_PATH environment variable being set to an insecure value in several shell scripts of the Red Hat Directory Server.
Which versions of Red Hat 389 Directory Server are affected by CVE-2011-0532?
CVE-2011-0532 affects the Red Hat 389 Directory Server versions 1.2.1 to 1.2.8 and 8.2.3.
Is CVE-2011-0532 exploitable remotely?
CVE-2011-0532 may be exploitable remotely depending on the configuration of the Red Hat Directory Server.