ADVISORIES
GEM
SEVERITY
CVSS v2.0: 9.0 (High)
PATCHED VERSIONS
- >= 0.60.2
DESCRIPTION
Spree versions prior to 0.60.2 contain a remote command execution
vulnerability in the search functionality. The application fails to
properly sanitize input passed via the search[:send][] parameter,
which is dynamically invoked using Ruby’s send method. This allows
attackers to execute arbitrary shell commands on the server without
authentication.
RELATED
- https://nvd.nist.gov/vuln/detail/CVE-2011-10019
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/spree_search_exec.rb
- https://web.archive.org/web/20111009192436/http://spreecommerce.com/blog/2011/10/05/remote-command-product-group
- https://www.exploit-db.com/exploits/17941
- https://www.vulncheck.com/advisories/spreecommerce-search-parameter-rce
- https://github.com/orgs/spree/spree
- https://github.com/advisories/GHSA-97vm-c39p-jr86
