Advisory Published
Updated

REDHAT-BUG-672468

First published: Tue Jan 25 2011(Updated: )

It was discovered that 398 / Red Hat Directory Server set LD_LIBRARY_PATH 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 LD_LIBRARY_PATH 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.

Affected SoftwareAffected VersionHow to fix
Red Hat Directory Server

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-672468?

    The severity of REDHAT-BUG-672468 is considered moderate due to the presence of insecure environment variable settings.

  • How do I fix REDHAT-BUG-672468?

    To fix REDHAT-BUG-672468, ensure that LD_LIBRARY_PATH does not contain any empty path elements in the relevant shell scripts.

  • What versions of Red Hat Directory Server are affected by REDHAT-BUG-672468?

    REDHAT-BUG-672468 affects various versions of Red Hat Directory Server that utilize the insecure shell scripts.

  • What security risk does REDHAT-BUG-672468 pose?

    The security risk posed by REDHAT-BUG-672468 includes potential code execution due to improper handling of the LD_LIBRARY_PATH environment variable.

  • Are there any workarounds for REDHAT-BUG-672468?

    Temporary workarounds for REDHAT-BUG-672468 include modifying shell scripts to sanitize the LD_LIBRARY_PATH variable before execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203