Description
Untrusted execution path vulnerability in the diag commands (1) lsmcode, (2) diag_exec, (3) invscout, and (4) invscoutd in AIX 5.1 through 5.3 allows local users to execute arbitrary programs by modifying the DIAGNOSTICS environment variable to point to a malicious Dctrl program.
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- IBM AIX 5.x - 'Diag' Local Privilege Escalation EDB-25039 · local · Dec 20, 2004 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 701 exploit
- IY64389 vendor-advisory
- 20041220 AIX 5.1/5.2/5.3 local root exploits mailing-list
- 20070330 AIX 4.3 lsmcode local root command execution mailing-list
- IY64277 vendor-advisory
- 12041 vdb-entry
- aix-diagnostics-gain-privileges(18620) vdb-entry
- 20070402 Re: AIX 4.3 lsmcode local root command execution mailing-list