Bug 1623719 (CVE-2018-14623)

Summary: CVE-2018-14623 katello: SQL inject in errata-related REST API
Product: [Other] Security Response Reporter: Richard Maciel Costa <rcosta>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: bbuckingham, bcourt, bkearney, cbillett, katello-bugs, mmccune, mrike, ohadlevy, rchan, rjerrido, security-response-team, tjay, tomckay
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A SQL injection flaw was found in katello's errata-related API. An authenticated remote attacker can craft input data to force a malformed SQL query to the backend database, which will leak internal IDs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-14 19:28: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: 1623720    
Bug Blocks: 1609388    

Description Richard Maciel Costa 2018-08-30 02:19:04 UTC
Katello - up to current version - is vulnerable to a SQL injection vulnerability. When a request is made to the katello/api/v2/errata path, it's possible to send carefully-crafted data through the sort_by parameter which are reflected in the vulnerable SQL statement. An attacker can use this vulnerability to generate a malformed SQL query, which, when executed, leaks internal ids from the katello_errata table.

Comment 5 Richard Maciel Costa 2018-09-14 15:04:16 UTC
Acknowledgments:

Name: Mohamed Tehami