Advisory Published
Updated

REDHAT-BUG-641224

First published: Fri Oct 08 2010(Updated: )

Dmitri Gribenko discovered that the soffice script in the Openoffice.org package contained an insecure setting for the LD_LIBRARY_PATH, which could be abused by an attacker to execute arbitrary code. The vulnerability is due to an insecure change to LD_LIBRARY_PATH, and environment variable used by ld.so(8) to look for libraries in directories other than the standard paths. When there is an empty item in the colon-separated list of directories in LD_LIBRARY_PATH, ld.so(8) treats it as a '.' (current working directory). If the given script is executed from a directory where a local attacker could write files, there is a chance for exploitation. Currently in our soffice script we do... LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH+:$LD_LIBRARY_PATH} while we should do... LD_LIBRARY_PATH=$my_path${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH} so if someone currently does export LD_LIBRARY_PATH= then our LD_LIBRARY_PATH ends up as LD_LIBRARY_PATH=/path: which has an empty entry which effectively means LD_LIBRARY_PATH=/path:. Acknowledgements: Red Hat would like to thank Dmitri Gribenko for reporting this issue.

Affected SoftwareAffected VersionHow to fix
Apache OpenOffice

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-641224?

    The severity of REDHAT-BUG-641224 is considered high due to the potential for arbitrary code execution.

  • How do I fix REDHAT-BUG-641224?

    To fix REDHAT-BUG-641224, update the OpenOffice.org package to the latest version provided by your distribution.

  • What type of vulnerability is REDHAT-BUG-641224?

    REDHAT-BUG-641224 is an insecure LD_LIBRARY_PATH vulnerability that can allow attackers to execute arbitrary code.

  • Who discovered REDHAT-BUG-641224?

    REDHAT-BUG-641224 was discovered by Dmitri Gribenko.

  • What software is affected by REDHAT-BUG-641224?

    The software affected by REDHAT-BUG-641224 is Apache OpenOffice.org.

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