Title: Informix SQL SNMPDM Predictable Temporary File Creation Vulnerability
Severity: HIGH
Description:
Informix is an enterprise level database maintained and distributed by IBM.
A problem with the Informix SQL database add-on package makes it possible for a local user to exploit a symbolic link problem. This problem is in the snmpdm package.
Upon execution of the setuid root application snmpdm, a file is created in the /tmp directory using filename snmpd.log. This file is created with world-writable permissions.
Since the snmpdm program is setuid root, this makes it possible for a user to create a symbolic link in place of the snmpd.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
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.