CVE-2011-10019
Remote Command Execution in Spree search functionality
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA, Ruby Advisory DB.
Description
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| rubygems::GitHub Security Advisory RubyGems | spree | 0.60.2 |
| rubygems::Ruby Advisory Database | spree | >= 0.60.2 |
References
- https://github.com/advisories/GHSA-97vm-c39p-jr86
- https://github.com/orgs/spree
- https://github.com/orgs/spree/spree
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2011-10019.yml
- https://github.com/spree/spree
- 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