Title: Informix SQL ONSRVAPD Predictable Temporary File Creation Vulnerability
Severity: HIGH
Description:
Informix is an enterprise database distributed and maintained by IBM.
A problem in the Informix SQL package makes it possible for a local user to overwrite root-owned files, and potentially gain elevated privileges.
The problem is in the onsrvapd program. Upon execution, the program creates the predictable files onsrvapd.log (owned and group member informix), and onsnmp.$HOSTNAME.log (owned by root, group member informix) in the /tmp directory, where $HOSTNAME is the name of Informix SQL host. The log files are created with world-writable permissions.
Since the onsrvapd program is setuid root, this makes it possible for a user to create a symbolic link in place of the onsnmp.$HOSTNAME.log file, and point the symbolic link to any file, existing or non-existing.
In the case of an existing file, this allows the attacker to overwrite the file, leaving the file with permissions of 0666. If the file does not exist, a file will be created at the end of the symbolic link with permissions 0666.
This problem could result in a local user denying service to legitimate users of the system, or potentially gaining local root access.
Affected Products:
- IBM Informix SQL 7.31.0.UC5
- IBM Informix SQL 9.2.00.UC2
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.