CVE-2001-0797 — HP-UX
CVE-2001-0797 is a remote code execution vulnerability in hp hp-ux. 11 public exploit references exist, so weaponization risk is real. No vendor fix is recorded yet; mitigation options are listed below.
Buffer overflow in login in various System V based operating systems allows remote attackers to execute arbitrary commands via a large number of arguments through services such as telnet and rlogin.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Description
Buffer overflow in login in various System V based operating systems allows remote attackers to execute arbitrary commands via a large number of arguments through services such as telnet and rlogin.
Affected Products
hp-uxhpaixibmopenserverscoirixsgisolarissunsunossunResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Solaris 2.x/7.0/8 - Derived 'login' Remote Buffer Overflow
by snooq · Jan 9, 2003
Solaris 2.6/7/8 - 'TTYPROMPT in.telnet' Remote Authentication Bypass
by Jonathan S. · Nov 2, 2002
System V Derived /bin/login - Extraneous Arguments Buffer Overflow (modem based) (Metasploit)
by I)ruid · Dec 12, 2001
Solaris /bin/login (SPARC/x86) - Remote Code Execution
by Teso · Dec 20, 2001
System V Derived /bin/login - Extraneous Arguments Buffer Overflow (Metasploit)
by Metasploit · Jul 3, 2010
Solaris 2.5.1/2.6/7/8 rlogin (SPARC) - '/bin/login' Remote Buffer Overflow
by Marco Ivaldi · Dec 24, 2004
Solaris TelnetD - 'TTYPROMPT' Remote Buffer Overflow (1) (Metasploit)
by MC · Jan 18, 2002
Solaris TelnetD - 'TTYPROMPT' Remote Buffer Overflow (2) (Metasploit)
by Metasploit · Jun 22, 2010
Detection & mitigation playbook
Vendor / applianceDetect
Inventory every hp hp-ux deployment and check each version against the affected-products list above.
Remediation status
No patch has shipped for CVE-2001-0797 yet — track the hp hp-ux advisory for a fixed release and apply the workarounds below in the meantime.
Mitigate without a patch
Constrain what reaches the vulnerable code: limit the size and shape of untrusted input, isolate the affected component in a sandboxed or least-privileged process, and enable the platform's memory-safety mitigations (ASLR, stack protector, hardened allocator) so an out-of-bounds access is more likely to fail closed than to be exploitable. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2001-0797 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.