CVE-1999-1139
Description
A symlink attack in HP-UX CUE allows local users to overwrite arbitrary files and escalate privileges to root via the IOERROR.mytty file.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A symlink attack in HP-UX CUE allows local users to overwrite arbitrary files and escalate privileges to root via the IOERROR.mytty file.
Vulnerability
The Character-Terminal User Environment (CUE) program in HP-UX 11.0 and earlier is a setuid root binary that creates an IOERROR.mytty file in the user's home directory. Due to a design flaw, the program follows symbolic links and uses the user's umask when creating the file, allowing a local user to overwrite arbitrary files as root [1].
Exploitation
A local attacker first sets the umask to 000 to ensure the created file is world-writable. Then, a symbolic link is created from ~/IOERROR.mytty to a target file such as /etc/passwd or a system binary. When the cue program is executed, it follows the symlink and overwrites the target file with an empty file, using root privileges [1].
Impact
By overwriting critical system files, an attacker can escalate privileges to root. For example, overwriting /etc/passwd with an empty file can remove password requirements, allowing the attacker to gain root access. Alternatively, replacing a system binary can lead to arbitrary code execution as root [1].
Mitigation
No official patch is mentioned in the available advisory [1]. The recommended mitigation is to remove the setuid bit from the cue binary using chmod u-s /usr/bin/cue. Alternatively, restrict access to the program. Users should upgrade to a patched version if available from HP [1].
AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
3Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- security-archive.merton.ox.ac.uk/bugtraq-199801/0122.htmlnvdPatchVendor Advisory
- www.codetalker.com/advisories/vendor/hp/hpsbux9801-074.htmlnvdPatchVendor AdvisoryURL Repurposed
- marc.infonvd
- www.ciac.org/ciac/bulletins/i-027b.shtmlnvd
- www.iss.net/security_center/static/2007.phpnvd
News mentions
0No linked articles in our index yet.