Bug 1093255 - (CVE-2014-3137) CVE-2014-3137 python-bottle: JSON content-type not restrictive enough
CVE-2014-3137 python-bottle: JSON content-type not restrictive enough
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
high Severity high
: ---
: ---
Assigned To: Red Hat Product Security
impact=important,public=20140424,repo...
: Security
Depends On: 1093257
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-01 00:26 EDT by Murray McAllister
Modified: 2015-01-05 11:56 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Murray McAllister 2014-05-01 00:26:09 EDT
It was reported that the JSON content-type was not restrictive enough. Bottle treated "text/plain;application/json" as JSON, allowing attackers to bypass intended security mechanisms. From the upstream report, "For example Chrome will not allow cross-origin xmlhttprequests with the content type set to "application/json" but you can set it to "text/plain;application/json" instead and bottle will accept it.".

Upstream report: https://github.com/defnull/bottle/issues/616

Patches for master, 0.11, and 0.12, respectively:

https://github.com/defnull/bottle/commit/7c3226867d9005903e268fedd819389ab8c6336d
https://github.com/defnull/bottle/commit/a3c7b6eba63f41968c78ea61a2dd1bf334cff4b0
https://github.com/defnull/bottle/commit/2589f5a808da9d0c2d153c379557e1a090acdf04
Comment 1 Murray McAllister 2014-05-01 00:28:00 EDT
Created python-bottle tracking bugs for this issue:

Affects: fedora-all [bug 1093257]
Comment 2 Murray McAllister 2014-05-01 00:34:47 EDT
CVE request: http://www.openwall.com/lists/oss-security/2014/05/01/10
Comment 3 Murray McAllister 2014-05-01 22:26:09 EDT
MITRE assigned CVE-2014-3137 to this issue:

http://www.openwall.com/lists/oss-security/2014/05/01/15
Comment 4 Fedora Update System 2014-08-14 22:30:49 EDT
python-bottle-0.12.6-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 5 Fedora Update System 2014-08-14 22:50:14 EDT
python-bottle-0.12.6-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.

Note You need to log in before you can comment on or make changes to this bug.