Description
Buffer overflow in the localtime_r function, and certain other functions, in libc in HP-UX B.11.11 and possibly other versions allows local users to execute arbitrary code via a long TZ environment variable.
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.
Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.
Exploit-DB 1
- HP-UX 11i - 'LIBC TZ' Enviroment Variable Privilege Escalation EDB-2636 · local · Oct 24, 2006 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
References
- 2636 exploit
- http://blogs.23.nu/prdelka/stories/13144/
- hpux-timezone-bo(29777) vdb-entry
- 20718 vdb-entry