J-Security Center

Title: Informix SQL Temporary Log File Symbolic Link Vulnerability

Severity: MODERATE

Description:

Informix is an enterprise database software package designed for use on multiple platforms. It is distributed and maintained by IBM.

A problem with Informix makes it possible for local users to overwrite files, resulting in file corruption, and potentially in privilege elevation.

The problem is due to the creation of predictable temporary files. When either the onbar_d, ondblog, or onsmsync programs are executed, files serving as temporary logs of activity are created in /tmp. These three programs are installed with the default permissions of setuid root, and setgid informix.

The execution of one of these three programs results in the creation of the files bar_act.log and bar_dbug.log in the /tmp directory. This vulnerability may be exploited only if these files do not exist or the attacker is in the informix group, as they're created with permissions 660, and can not be removed by a user that either isn't root, or in the group informix.

Successful exploitation of this vulnerability could lead to a denial of service, or potentially an elevation of privileges to root, although the latter is unproven.

Affected Products:

  • IBM Informix SQL 7.31.0.UC5

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.