Bug 1623719 (CVE-2018-14623) - CVE-2018-14623 katello: SQL inject in errata-related REST API
Summary: CVE-2018-14623 katello: SQL inject in errata-related REST API
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-14623
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1623720
Blocks: 1609388
TreeView+ depends on / blocked
 
Reported: 2018-08-30 02:19 UTC by Richard Maciel Costa
Modified: 2021-02-16 23:08 UTC (History)
13 users (show)

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.
Clone Of:
Environment:
Last Closed: 2019-02-14 19:28:50 UTC
Embargoed:


Attachments (Terms of Use)

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


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