CVE-2010-3689: Path Traversal

Published Oct 8, 2010
·
Updated

Dmitri Gribenko discovered that the soffice script in the Openoffice.org package contained an insecure setting for the LDLIBRARYPATH, which could be abused by an attacker to execute arbitrary code.

The vulnerability is due to an insecure change to LDLIBRARYPATH, 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 LDLIBRARYPATH, 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...

LDLIBRARYPATH=$mypath${LDLIBRARYPATH+:$LDLIBRARYPATH}

while we should do...

LDLIBRARYPATH=$mypath${LDLIBRARYPATH:+:$LDLIBRARYPATH}

so if someone currently does export LDLIBRARYPATH= then our LDLIBRARYPATH ends up as LDLIBRARYPATH=/path: which has an empty entry which effectively means LDLIBRARYPATH=/path:.

Acknowledgements:

Red Hat would like to thank Dmitri Gribenko for reporting this issue.

Other sources

soffice in OpenOffice.org (OOo) 3.x before 3.3 places 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.

Affected Software

7 affected components
Apache OpenOffice>=3.0.0<3.3.0
Debian Debian Linux=5.0
Canonical Ubuntu Linux=10.10
Debian Debian Linux=6.0
Canonical Ubuntu Linux=9.10
Canonical Ubuntu Linux=8.04
Canonical Ubuntu Linux=10.04

Event History

Oct 8, 2010
Data Sourced
04:58 AM
DescriptionSeverityAffected Software
Jan 28, 2011
CVE Published
via MITRE·09:13 PM
Data Sourced
via MITRE·09:13 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2010-3689?

CVE-2010-3689 is classified as a high severity vulnerability due to the potential for arbitrary code execution.

2

How do I fix CVE-2010-3689?

To fix CVE-2010-3689, update OpenOffice.org to a version that corrects the insecure LD_LIBRARY_PATH setting.

3

What systems are affected by CVE-2010-3689?

CVE-2010-3689 affects multiple versions of OpenOffice.org as well as Debian and Ubuntu Linux distributions.

4

Can CVE-2010-3689 be exploited remotely?

CVE-2010-3689 requires local access to exploit the vulnerability, making it less likely to be exploited remotely.

5

Is there a workaround for CVE-2010-3689?

A potential workaround for CVE-2010-3689 is to manually adjust the LD_LIBRARY_PATH variable or restrict access to the soffice script until an update is applied.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203