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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Spreecommerce | Spreecommerce | < 0.60.2 | 0.60.2 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Spreecommerce 0.60.1 Arbitrary Command Execution
exploit/multi/http/spree_search_exec
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | spree | < 0.60.2 | 0.60.2 | GHSA-97vm-c39p-jr86 |
References
- https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/spree_search_exec.rb exploit
- https://www.exploit-db.com/exploits/17941 exploit
- https://web.archive.org/web/20111009192436/http://spreecommerce.com/blog/2011/10/05/remote-command-product-group/ vendor-advisory patch
- https://www.vulncheck.com/advisories/spreecommerce-search-parameter-rce third-party-advisory
- https://github.com/orgs/spree product