CVE-2001-0906

teTeX filter <1.0.7 - Privilege Escalation

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2001-0906. PoCs published by zen-parse.

AI-analyzed exploit summary This exploit leverages a race condition in teTeX's temporary file handling to create a symbolic link to a privileged configuration file, allowing arbitrary command execution with elevated privileges (e.g., lp user). The attack involves predicting the temporary file name and replacing it with a link to a configuration file sourced by the print system.

Description

teTeX filter before 1.0.7 allows local users to gain privileges via a symlink attack on temporary files that are produced when printing .dvi files using lpr.

Exploits (1)

exploitdb WORKING POC VERIFIED
by zen-parse · clocallinux
https://www.exploit-db.com/exploits/20990

This exploit leverages a race condition in teTeX's temporary file handling to create a symbolic link to a privileged configuration file, allowing arbitrary command execution with elevated privileges (e.g., lp user). The attack involves predicting the temporary file name and replacing it with a link to a configuration file sourced by the print system.

Classification
Working Poc 95%
Attack Type
Lpe
Complexity
Moderate
Reliability
Racy
Target: teTeX (1.0.7-7 or earlier) with LPRng (3.7.4-23 or earlier)
No auth needed
Prerequisites: Local access to the system · teTeX and LPRng installed with vulnerable versions · Ability to predict or brute-force the temporary file name
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (6)

Core 6
Core References
Exploit, Vendor Advisory mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/192647
Exploit, Patch, Vendor Advisory vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/2974
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/6785
Various Sources vendor-advisory x_refsource_immunix
http://download.immunix.org/ImmunixOS/7.0/updates/IMNX-2001-70-030-01
Patch, Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2001-102.html
Patch, Vendor Advisory vendor-advisory x_refsource_mandrake
http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-086.php3

Scores

EPSS 0.0095
EPSS Percentile 56.4%

Details

Status published
Products (1)
tetex/tetex < 1.0.7.7
Published Jun 22, 2001
Tracked Since Feb 18, 2026