Vulnerability Details : CVE-2012-5648
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.
Vulnerability category: Sql Injection
Products affected by CVE-2012-5648
- cpe:2.3:a:theforeman:foreman:*:*:*:*:*:*:*:*
- cpe:2.3:a:theforeman:foreman:0.1:*:*:*:*:*:*:*
- cpe:2.3:a:theforeman:foreman:0.2:*:*:*:*:*:*:*
- cpe:2.3:a:theforeman:foreman:0.4.1:*:*:*:*:*:*:*
- cpe:2.3:a:theforeman:foreman:0.3:*:*:*:*:*:*:*
- cpe:2.3:a:theforeman:foreman:0.4:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2012-5648
0.61%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 67 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2012-5648
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | AV:N/AC:L/Au:N/C:P/I:P/A:P |
10.0
|
6.4
|
NIST |
CWE ids for CVE-2012-5648
-
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.Assigned by: nvd@nist.gov (Primary)
References for CVE-2012-5648
-
https://exchange.xforce.ibmcloud.com/vulnerabilities/80793
Foreman search.rb and puppetclass.rb SQL injection CVE-2012-5648 Vulnerability Report
-
http://osvdb.org/show/osvdb/88618
-
https://github.com/theforeman/foreman/commit/387b764b614170f23b3552aca498612e341652db
Fix Foreman SQL injection through search mechanism CVE-2012-5648 · theforeman/foreman@387b764 · GitHub
-
http://seclists.org/oss-sec/2012/q4/499
oss-sec: Multiple SQL injection vulnerabilities in the puppetclass.rb and search.rb scripts in Foreman 1.0.1
-
http://secunia.com/advisories/51557
Sign inVendor Advisory
-
http://osvdb.org/show/osvdb/88623
Jump to