Multiple SQL injection vulnerabilities in Foreman before 1.0.2 allow remote attackers to execute arbitrary SQL commands via unspecified parameters to (1) app/models/hostext/search.rb or (2) app/models/puppetclass.rb, related to the search mechanism.
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 |
---|---|
http://seclists.org/oss-sec/2012/q4/499 | mailing list |
http://secunia.com/advisories/51557 | third party advisory vendor advisory |
https://exchange.xforce.ibmcloud.com/vulnerabilities/80793 | vdb entry |
https://github.com/theforeman/foreman/commit/387b764b614170f23b3552aca498612e341652db | |
http://osvdb.org/show/osvdb/88623 | vdb entry |
http://osvdb.org/show/osvdb/88618 | vdb entry |