<<< Date Index >>>     <<< Thread Index >>>

Secunia Research: CUPS IPP Tags Memory Corruption Vulnerability



====================================================================== 

                     Secunia Research 31/10/2007

           - CUPS IPP Tags Memory Corruption Vulnerability -

====================================================================== 
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Vendor's Description of Software.....................................3
Description of Vulnerability.........................................4
Solution.............................................................5
Time Table...........................................................6
Credits..............................................................7
References...........................................................8
About Secunia........................................................9
Verification........................................................10

====================================================================== 
1) Affected Software 

* CUPS 1.3.3.

NOTE: Other versions may also be affected.

====================================================================== 
2) Severity 

Rating: Moderately Critical
Impact: System Access
Where:  Local network

====================================================================== 
3) Vendor's Description of Software 

"CUPS provides a portable printing layer for UNIX®-based operating 
systems. It was developed by Easy Software Products and is now owned 
and maintained by Apple Inc. to promote a standard printing solution.
It is the standard printing system in Mac OS X and most Linux 
distributions".

Product Link:
http://www.cups.org/

====================================================================== 
4) Description of Vulnerability

Secunia Research has discovered a vulnerability in CUPS, which can be 
exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to a boundary error within the 
"ippReadIO()" function in cups/ipp.c when processing IPP (Internet 
Printing Protocol) tags. This can be exploited to overwrite one byte 
on the stack with a zero by sending an IPP request containing 
specially crafted "textWithLanguage" or "nameWithLanguage" tags.

Successful exploitation allows execution of arbitrary code.

====================================================================== 
5) Solution 

Patches for various Linux distributions should be available shortly.

====================================================================== 
6) Time Table 

16/10/2007 - Vendor notified.
22/10/2007 - vendor-sec notified.
31/10/2007 - Public disclosure.

====================================================================== 
7) Credits 

Discovered by Alin Rad Pop, Secunia Research.

====================================================================== 
8) References

The Common Vulnerabilities and Exposures (CVE) project has assigned 
CVE-2007-4351 for the vulnerability.

====================================================================== 
9) About Secunia

Secunia offers vulnerability management solutions to corporate
customers with verified and reliable vulnerability intelligence
relevant to their specific system configuration:

http://corporate.secunia.com/

Secunia also provides a publicly accessible and comprehensive advisory
database as a service to the security community and private 
individuals, who are interested in or concerned about IT-security.

http://secunia.com/

Secunia believes that it is important to support the community and to
do active vulnerability research in order to aid improving the 
security and reliability of software in general:

http://corporate.secunia.com/secunia_research/33/

Secunia regularly hires new skilled team members. Check the URL below
to see currently vacant positions:

http://secunia.com/secunia_vacancies/

Secunia offers a FREE mailing list called Secunia Security Advisories:

http://secunia.com/secunia_security_advisories/ 

====================================================================== 
10) Verification 

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2007-76/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

======================================================================