CRITICAL9.8
GHSA-97vm-c39p-jr86
Spree has Remote Command Execution vulnerability in search functionality
Quick fix
GHSA-97vm-c39p-jr86 — spree: upgrade to the fixed version with the command below.
bundle update spreeDetails
Spreecommerce versions prior to 0.60.2 contains a remote command execution vulnerability in its 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2011-10019[ADVISORY]
- https://github.com/orgs/spree[WEB]
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2011-10019.yml[WEB]
- https://github.com/spree/spree[PACKAGE]
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/spree_search_exec.rb[WEB]
- https://web.archive.org/web/20111009192436/http://spreecommerce.com/blog/2011/10/05/remote-command-product-group[WEB]
- https://www.exploit-db.com/exploits/17941[WEB]
- https://www.vulncheck.com/advisories/spreecommerce-search-parameter-rce[WEB]