CVE-2011-10026Spreecommerce < 0.50.x API RCE
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.
What to do
Likely to be exploited: EPSS gives a 15% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from RubyGems: see the table below for the fixed version per release.
RubyGems has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| RubyGems library | rd_searchlogic | Fix pending | GHSA-x485-rhg3-cqr4 | |
| RubyGems library | spree | Fixed | 0.50.0 | GHSA-x485-rhg3-cqr4 |
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Spreecommerce: affected: before 0.50.*
Vendor advisories:
- https://web.archive.org/web/20111120023342/http://spreecommerce.com/blog/2011/04/19/secur… (patch, vendor-advisory)
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/spree_searchlogic_exec.rb
- https://www.exploit-db.com/exploits/17199
- https://web.archive.org/web/20111120023342/http://spreecommerce.com/blog/2011/04/19/security-fixes
- https://github.com/spree
- https://www.vulncheck.com/advisories/spreecommerce-api-rce
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.