An input sanitization flaw was found in the id field in the dashboard controller of Foreman before 1.16.1. A user could use this flaw to perform an SQL injection attack on the back end database.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://access.redhat.com/errata/RHSA-2018:2927 | third party advisory vendor advisory |
https://bugzilla.redhat.com/show_bug.cgi?id=1561061 | issue tracking third party advisory |
http://projects.theforeman.org/issues/23028 | vendor advisory |