Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA7756

CUPS multiple vulnerabilities
Secunia Advisory SA7756
Get alerted and manage the vulnerability life cycle
Free Trial

Release Date 2002-12-20
Last Update 2003-02-17
   
Popularity 10,966 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact System access
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
   
Operating System
Apple Macintosh OS X
Conectiva Linux 6.0
Conectiva Linux 7.0
Conectiva Linux 8
Mandrake Linux 7.x
Mandrake Linux 8.x
Mandrake Linux 9.x
Red Hat Linux 7.3
Red Hat Linux 8.0
SuSE Linux 7.x
SuSE Linux 8.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2002-1383 CVSS available in Customer Area
CVE-2002-1366 CVSS available in Customer Area
CVE-2002-1367 CVSS available in Customer Area
CVE-2002-1368 CVSS available in Customer Area
CVE-2002-1384 CVSS available in Customer Area
CVE-2002-1369 CVSS available in Customer Area
CVE-2002-1370 CVSS available in Customer Area
CVE-2002-1371 CVSS available in Customer Area
CVE-2002-1372 CVSS available in Customer Area
  

Description

CUPS has been found vulnerable to multiple issues.

Some integer overflows can be exploited to overwite addresses of other functions with addresses of arbitrary code, the code is executed as user 'lp'.

Users who have gained privileges of user 'lp' can create /etc/cups/certs/<pid>, by doing so it is possible to create and overwrite files with root privileges.

It is possible to add printers via specially crafted UDP packets, this could potentially be exploited by local user to retrieve the root certificate, using this root certificate it is possible to add another printer which can execute commands with root privileges.

CUPS suffers a vulnerability which is very similar to the Apache chunk encoding vulnerability. The problem is that negative content lengths are allowed.

Calls to strncat() are made insecurely, this allows malicious people to create print jobs which may overflow buffers, which can be abused to execute arbitrary code.

Zero width gif images are handled insecurely, this makes it possible to cause a buffer overflow which can be exploited to run arbitrary code.

CUPS does not check return values of file and socket operations, this leads to file descriptor leaks and allows a local Denial of Service.


Solution
Secunia recommend that printing services only are accessible by local and trusted users, they should never by accessible from the Internet.
Further details available in Customer Area

Provided and/or discovered by
Discovered by zen-parse
Published by iDEFENSE

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: CUPS multiple vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability