Bug 1358350

Summary: libupnp: Upload arbitrary file via POST
Product: [Other] Security Response Reporter: Adam Mariš <amaris>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: ajax, extras-orphan, i, mcepl
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-20 14:50:31 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: 1358351, 1358352    
Bug Blocks:    

Description Adam Mariš 2016-07-20 14:49:45 UTC
It was reported that if there's no registered handler for a POST request, the default behaviour is to write it to the filesystem, which allows remote attacker to upload arbitrary data.

Proposed patch:

https://github.com/mjg59/pupnp-code/commit/be0a01bdb83395d9f3a5ea09c1308a4f1a972cbd

CVE request:

http://www.openwall.com/lists/oss-security/2016/07/18/13

Comment 1 Adam Mariš 2016-07-20 14:50:12 UTC
Created libupnp tracking bugs for this issue:

Affects: fedora-all [bug 1358351]
Affects: epel-7 [bug 1358352]