LPRng runlpr could allow an attacker to gain local root privileges
|lprng-runlpr-gain-privileges (10525)||High Risk|
The LPRng print spooler daemon included with multiple Linux distributions could allow a local attacker to gain root privileges, caused by a vulnerability in the runlpr program. The runlpr program allows a user with lp privileges to execute lpr with root privileges. A local attacker could exploit this vulnerability by passing malicious command-line arguments to lpr, which would be executed on the system with root privileges.
For SuSE Linux:
Upgrade to the latest html2ps and lpdfilter packages, as listed below. Refer to SuSE Security Announcement SuSE-SA:2002:040 for more information. See References.
SuSE 8.1 (Intel): html2ps-1.0b3-458 or later and lpdfilter-0.43-63 or later
SuSE 8.0 (Intel): html2ps-1.0b3-456 or later and lpdfilter-0.42-155 or later
SuSE 7.3 (Intel): html2ps-1.0b3-457 or later
SuSE 7.2 (Intel): html2ps-1.0b1-432 or later
SuSE 7.1 (Intel): html2ps-1.0b1-431 or later
SuSE 7.0 (Intel): html2ps-1.0b1-428 or later
SuSE 7.3 (Sparc): html2ps-1.0b3-88 or later
SuSE 7.0 (AXP Alpha): html2ps-1.0b1-328 or later
SuSE 7.1 (PPC Power PC): html2ps-1.0b1-303 or later
SuSE 7.0 (PPC Power PC): html2ps-1.0b1-302 or later
For other distributions:
Contact your vendor for upgrade or patch information.
- LPRng Web site: LPRng.
- BID-6077: LPRNG runlpr Local Privilege Escalation Vulnerability
- CVE-2002-1285: runlpr in the LPRng package allows the local lp user to gain root privileges via certain command line arguments.
- OSVDB ID: 12643: LPRng runlpr Command Line Overflow
- Patrick Powell LPRng
- SUSE SuSE Linux 7.0
- SUSE SuSE Linux 7.1
- SUSE SuSE Linux 7.2
- SUSE SuSE Linux 7.3
- SUSE SuSE Linux 8.0
- SUSE SuSE Linux 8.1
Oct 31, 2002
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email ignore thisxforceignore this@ignore thisus.ignore thisibm.comignore this