J-Security Center

Title: Oracle /tmp Race Condition Vulnerability

Severity: MODERATE

Description:

The Oracle binary for Unix systems, 'oracle', is believed to contain a race condition vulnerability.

Oracle writes a temporary file to a user-definable directory location based on the value of an environment variable. When certain temporary files are created, their filenames are based on the process ID of the 'oracle' utility.

Attackers can anticipate the process ID of 'oracle' and create symbolic links with guessed filenames in an attacker-defined directory pointing to files writeable by oracle.

If the filename of the symbolic link was correctly guessed, the file pointed to will be overwritten. This will occur with user 'oracle' privileges because the 'oracle' binary is installed setuid.

This vulnerability can be used to cause a denial of service (ie, corrupting db data files).

Affected Products:

  • Oracle Oracle8i Standard Edition 8.0.0 x
  • Oracle Oracle8i Standard Edition 8.0.6
  • Oracle Oracle8i Standard Edition 8.1.0 x
  • Oracle Oracle8i Standard Edition 8.1.5
  • Oracle Oracle9i Standard Edition 9.0.1

References:

Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.