CVE-2012-5648
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 2.1% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 2.1% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 2.1% · EPSS, next 30 days
- Weakness
- CWE-89 · SQL injection
- Record status
- Modified
Affected
- Theforeman Foreman ≤ 1.0
- Theforeman Foreman 0.1
- Theforeman Foreman 0.2
- Theforeman Foreman 0.3
- Theforeman Foreman 0.4
- Theforeman Foreman 0.4.1
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-5648.md and follow it. Check whether this project is affected by CVE-2012-5648. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/51557
- https://github.com/theforeman/foreman/commit/387b764b614170f23b3552aca498612e341652db
- http://secunia.com/advisories/51557
- https://github.com/theforeman/foreman/commit/387b764b614170f23b3552aca498612e341652db
References
- http://osvdb.org/show/osvdb/88618
- http://osvdb.org/show/osvdb/88623
- http://seclists.org/oss-sec/2012/q4/499
- http://secunia.com/advisories/51557
- https://exchange.xforce.ibmcloud.com/vulnerabilities/80793
- https://github.com/theforeman/foreman/commit/387b764b614170f23b3552aca498612e341652db
- http://osvdb.org/show/osvdb/88618
- http://osvdb.org/show/osvdb/88623
- http://seclists.org/oss-sec/2012/q4/499
- http://secunia.com/advisories/51557
- https://exchange.xforce.ibmcloud.com/vulnerabilities/80793
- https://github.com/theforeman/foreman/commit/387b764b614170f23b3552aca498612e341652db