Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[ GLSA 200711-16 ] CUPS: Memory corruption
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index News & Announcements
View previous topic :: View next topic  
Author Message
GLSA
Advocate
Advocate


Joined: 12 May 2004
Posts: 2663

PostPosted: Mon Nov 12, 2007 11:26 pm    Post subject: [ GLSA 200711-16 ] CUPS: Memory corruption Reply with quote

Gentoo Linux Security Advisory

Title: CUPS: Memory corruption (GLSA 200711-16)
Severity: high
Exploitable: remote
Date: November 12, 2007
Bug(s): #196736
ID: 200711-16

Synopsis

CUPS contains a boundary checking error that might lead to the execution of arbitrary code.

Background

CUPS provides a portable printing layer for UNIX-based operating systems.

Affected Packages

Package: net-print/cups
Vulnerable: < 1.2.12-r2
Unaffected: >= 1.2.12-r2
Architectures: All supported architectures


Description

Alin Rad Pop (Secunia Research) discovered an off-by-one error in the ippReadIO() function when handling Internet Printing Protocol (IPP) tags that might allow to overwrite one byte on the stack.

Impact

A local attacker could send a specially crafted IPP request containing "textWithLanguage" or "nameWithLanguage" tags, leading to a Denial of Service or the execution of arbitrary code with the privileges of the "lp" user. If CUPS is configured to allow network printing, this vulnerability might be remotely exploitable.

Workaround

To avoid remote exploitation, network access to CUPS servers on port 631/udp should be restricted. In order to do this, update the "Listen" setting in cupsd.conf to " Listen localhost:631 " or add a rule to the system's firewall. However, this will not avoid local users from exploiting this vulnerability.

Resolution

All CUPS users should upgrade to the latest version:
Code:
# emerge --sync
# emerge --ask --oneshot --verbose ">=net-print/cups-1.2.12-r2"


References

CVE-2007-4351
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index News & Announcements All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum