Bug 983822 (CVE-2013-4120)

Summary: CVE-2013-4120 katello: DoS in API OAuth authentication
Product: [Other] Security Response Reporter: Garth Mollett <gmollett>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED WONTFIX QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bdunne, bkearney, cpelland, jfrey, jomara, jrafanie, kseifried, mmccune, msuchy, obarenbo, sclewis, security-response-team, walden, xlecauch
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: 2014-08-05 13:57:26 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: 980866, 983832, 988661, 995654    
Bug Blocks: 1000138, 1011266    

Description Garth Mollett 2013-07-12 02:59:00 UTC
Marek Hulan <mhulan> reports:

Katello API OAuth authentication is vulnerable to DoS. User can set consumer_key to any value which is later converted to symbol. This can lead to memory exhaustion.

Comment 2 Murray McAllister 2013-07-15 07:11:06 UTC
Acknowledgements:

This issue was discovered by Marek Hulán of the Red Hat Foreman team.

Comment 6 Bryan Kearney 2014-06-27 14:32:34 UTC
I think the exposure here is pretty small. The consumer key is passed as an http header. Per http://tomcat.apache.org/tomcat-6.0-doc/config/http.html the default max header size is 8k and the default concurrent threads is 200.  That gets me to about 2 meg of memory consumption.

Comment 7 Bryan Kearney 2014-08-05 13:57:26 UTC
Per discussions with Tjay, closing this out.