Oracle Startup Script LD_LIBRARY_PATH Vulnerability

BID:6414

Info

Oracle Startup Script LD_LIBRARY_PATH Vulnerability

Bugtraq ID: 6414
Class: Design Error
CVE:
Remote: No
Local: Yes
Published: Dec 17 2002 12:00AM
Updated: Dec 17 2002 12:00AM
Credit: Discovery of this vulnerability credited to [email protected].
Vulnerable: Oracle Oracle9i Standard Edition 9.0.2
Oracle Oracle9i Standard Edition 9.0.1 .3
Oracle Oracle9i Standard Edition 9.0.1 .2
Oracle Oracle9i Standard Edition 9.0.1
Oracle Oracle9i Standard Edition 9.0
Not Vulnerable:

Discussion

Oracle Startup Script LD_LIBRARY_PATH Vulnerability

A problem with the Oracle startup script could lead to arbitrary library attacks. The problem is in the initialization of the LD_LIBRARY_PATH environment variable.

The 'oracle.sh' script insecurely initializes the LD_LIBRARY_PATH environment variable. Specifically, the script does not properly check whether the environment variable already exists and creates an LD_LIBRARY_PATH with an empty element. When ld is used, it will look for paths to search for in the LD_LIBRARY_PATH environment variable.

An attacker can exploit this vulnerability to trick a user into performing some actions in a directory where a malicious library exists. This may allow an attacker to run arbitary code, contained within the malicious library, with the privileges of the victim user.

Exploit / POC

Oracle Startup Script LD_LIBRARY_PATH Vulnerability

Currently we are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

Oracle Startup Script LD_LIBRARY_PATH Vulnerability

Solution:
Currently we are not aware of any vendor-supplied patches for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

References

Oracle Startup Script LD_LIBRARY_PATH Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report