|
|
|
Vulnerability Note VU#896729IBM AIX auditselect contains format string vulnerabilityOverviewIBM AIX auditselect command contains a format string vulnerability that may allow a local attacker to execute arbitrary code.I. DescriptionAccording to IBM's Command Reference, the syntax and description of the auditselect command are as follows:$> auditselect { -e "Expression" | -f File} [ -m ] [ Trail ] The auditselect command selects audit records that match identified criteria and writes the records to standard output. With the auditselect command, you can filter the audit trail to obtain specific records for analysis or select specific records for long-term storage. The command takes stream or bin input from the file specified by the Trail parameter or from standard input. If you specify the $bin string as the value of the Trail parameter, the auditbin daemon substitutes the path name of the current bin file when it calls the auditselect command. The selection criteria can be entered as an expression or from the file specified by the -f flag. If the bin files are compressed, the auditselect command unpacks them prior to processing. There is a format string vulnerability within the auditselect command due to the way it uses formatted output routines, such as printf(). The auditselect command may pass formatted output routines user-supplied data. If a local attacker with audit group membership passes a specially crafted parameter to auditselect, that parameter may be passed to a formatted output routine. Since output routines in auditselect do not adequately filter or restrict input (via a format string specifier), the attacker may be able to exploit this vulnerability. Please note that the auditselect command executes with root privileges. II. ImpactBy supplying auditselect specially crafted input, a local attacker with membership in the audit group may be able to execute arbitrary code with root privileges.III. SolutionWe are currently unaware of a practical solution to this problem.Workaround
References
This vulnerability was reported by iDEFENSE Security. This document was written by Jeff Gennari.
If you have feedback, comments, or additional information about this vulnerability, please send us
email. |
||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||