CVE-2011-10026
Spree Commerce is vulnerable to RCE through Search API
Overview
Description
Spreecommerce versions prior to 0.50.x contain a remote command execution vulnerability in the API's search functionality. Improper input sanitation allows attackers to inject arbitrary shell commands via the search[instance_eval] parameter, which is dynamically invoked using Ruby’s send method. This flaw enables unauthenticated attackers to execute commands on the server.
Source: OX vulnerability database
Severity
9.8 · CRITICAL
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-78
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| RubyGems | rd_searchlogic | <=3.0.1 | No fix yet |
| RubyGems | spree | >=0.30.0.beta1, <0.50.0 | 0.50.0 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/advisories/GHSA-x485-rhg3-cqr4
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rd_searchlogic/CVE-2011-10026.yml
- github.com https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2011-10026.yml
- github.com https://github.com/spree
- github.com https://github.com/spree/spree
- github.com https://github.com/spree/spree/commit/0a9a360c590829d8a377ceae0cf997bbbbcc2df4
- github.com https://github.com/spree/spree/commit/3b559e7219f3681184be409ad00cd34a34a37978
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2011-10026
- raw.githubusercontent.com https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/spree_searchlogic_exec.rb
- web.archive.org https://web.archive.org/web/20111120023342/http://spreecommerce.com/blog/2011/04/19/security-fixes
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.