Bug 457052 (CVE-2008-2941)

Summary: CVE-2008-2941 hplip hpssd.py Denial-Of-Service parsing vulnerability
Product: [Other] Security Response Reporter: Marc Schoenefeld <mschoene>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bressers, dkovalsk, kreilly, mjc, security-response-team, skakar, twaugh, ykopkova
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-11 15:18:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 457056, 457057, 458989, 458990, 458991    
Bug Blocks:    
Attachments:
Description Flags
hplip-parse-crash.patch none

Description Marc Schoenefeld 2008-07-29 13:43:19 UTC
hplip is vulnerable to a Denial-Of-Service-Attack via it's listener port.

Comment 1 Marc Schoenefeld 2008-07-29 13:48:17 UTC
Description
===========

The problem is due to a flaw in the request parsing routines. 

To reproduce:
=============

$telnet 127.0.0.1 2207
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
msg=0
Connection closed by foreign host.

Impact
======
<mschoene> afterwards hpssd is down
<mschoene> will file another bug for it 
<twaugh> Yes, happens on RHEL-5.2 RC1 too

Comment 3 Tim Waugh 2008-07-29 14:52:30 UTC
Created attachment 312881 [details]
hplip-parse-crash.patch

The parser is very fragile in a lot of places.	This patch fixes up all the
delicate bits I could find.

Comment 7 Josh Bressers 2008-08-12 20:10:29 UTC
Lifting embargo

Comment 9 Red Hat Product Security 2008-09-11 15:18:50 UTC
This issue was addressed in:

Red Hat Enterprise Linux:
  http://rhn.redhat.com/errata/RHSA-2008-0818.html