Bug 1593780 (CVE-2018-10869)

Summary: CVE-2018-10869 redhat-certification: /download allows to download any file
Product: [Other] Security Response Reporter: Riccardo Schirone <rschiron>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: abehl, brose, gnichols, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
It was discovered that redhat-certification does not properly restrict files that can be download through the /download page. A remote attacker may download any file accessible by the user running httpd.
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-10 06:12:28 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: 1608785    
Bug Blocks: 1593614    

Description Riccardo Schirone 2018-06-21 15:04:21 UTC
It was discovered that redhat-certification allows an unauthenticated user to download any file accessible by the user running the httpd server, through the /download URL.

Comment 1 Riccardo Schirone 2018-06-21 15:04:24 UTC
Acknowledgments:

Name: Riccardo Schirone (Red Hat Product Security)

Comment 2 Riccardo Schirone 2018-06-21 15:04:26 UTC
Mitigation:

If SELinux is enabled it further restricts the set of files that can be downloaded through this flaw.

Comment 4 Riccardo Schirone 2018-06-25 13:09:09 UTC
The argument rpath of the /download view is not validated, thus it allows any file to be downloaded.

Comment 8 errata-xmlrpc 2018-08-09 17:22:53 UTC
This issue has been addressed in the following products:

  Red Hat Certification for Red Hat Enterprise Linux 7

Via RHSA-2018:2373 https://access.redhat.com/errata/RHSA-2018:2373