REDHAT-BUG-1623719: SQL Injection
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 sortby 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 katelloerrata table.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker able to send requests to the katello/api/v2/errata endpoint can supply crafted input in the sort_by parameter. The provided information does not specify authentication requirements or other access controls for this endpoint.
What information can be exposed through successful exploitation?
The issue can cause execution of a malformed SQL query that leaks internal IDs from the katello_errata table.
How can I determine whether my deployment is affected?
Review requests to katello/api/v2/errata for unusual or crafted values in the sort_by parameter, and check for malformed SQL query errors or unexpected disclosure of Katello errata internal IDs. The advisory states that Katello versions up to the current version at the time of reporting were vulnerable, but does not provide a fixed version.