{"vuid":"VU#896729","idnumber":"896729","name":"IBM AIX auditselect contains format string vulnerability","keywords":["IBM","AIX","auditselect","format string","setuid","root"],"overview":"IBM AIX auditselect command contains a format string vulnerability that may allow a local attacker to execute arbitrary code.","clean_desc":"According 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 is part of the audit subsystem. The command is called by the auditbin daemon if it is configured in the /etc/security/audit/bincmds file as a backend command for processing bin files. 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.","impact":"By supplying auditselect specially crafted input, a local attacker with membership in the audit group may be able to execute arbitrary code with root privileges.","resolution":"We are currently unaware of a practical solution to this problem.","workarounds":"Workaround Restrict Access to Audit Group To successfully exploit this vulnerability an attacker must have access to the audit group. By restricting membership to the audit group to trusted users, the chances of exploitation are reduced.","sysaffected":"","thanks":"This vulnerability was reported by \niDEFENSE Security","author":"This document was written by Jeff Gennari.","public":["http://www-1.ibm.com/support/docview.wss?uid=isg1IY67519","http://www.idefense.com/application/poi/display?id=193&type=vulnerabilities","http://www.securiteam.com/unixfocus/5OP0G15EUU.html","http://secunia.com/advisories/14198/"],"cveids":["CVE-2005-0250"],"certadvisory":"","uscerttechnicalalert":null,"datecreated":"2005-02-09T18:14:35Z","publicdate":"2005-02-08T00:00:00Z","datefirstpublished":"2005-02-28T16:20:41Z","dateupdated":"2005-02-28T21:11:01Z","revision":75,"vrda_d1_directreport":"","vrda_d1_population":"","vrda_d1_impact":"","cam_widelyknown":"15","cam_exploitation":"0","cam_internetinfrastructure":"3","cam_population":"15","cam_impact":"20","cam_easeofexploitation":"10","cam_attackeraccessrequired":"1","cam_scorecurrent":"1.0125","cam_scorecurrentwidelyknown":"1.29375","cam_scorecurrentwidelyknownexploited":"2.41875","ipprotocol":"","cvss_accessvector":"","cvss_accesscomplexity":"","cvss_authentication":null,"cvss_confidentialityimpact":"","cvss_integrityimpact":"","cvss_availabilityimpact":"","cvss_exploitablity":null,"cvss_remediationlevel":"","cvss_reportconfidence":"","cvss_collateraldamagepotential":"","cvss_targetdistribution":"","cvss_securityrequirementscr":"","cvss_securityrequirementsir":"","cvss_securityrequirementsar":"","cvss_basescore":"","cvss_basevector":"","cvss_temporalscore":"","cvss_environmentalscore":"","cvss_environmentalvector":"","metric":1.0125,"vulnote":null}