CVE-2011-10019
RubyGems vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
RubyGems. The exact versions are in the references.
What to do now
- Check your exposureFind out whether RubyGems runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- nvd.nist.gov/vuln/detail/CVE-2011-10019
- raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/multi/http/s
- web.archive.org/web/20111009192436/http://spreecommerce.com/blog/2011/10/05/remote-command
- www.exploit-db.com/exploits/17941
- www.vulncheck.com/advisories/spreecommerce-search-parameter-rce
- github.com/orgs/spree
- github.com/rubysec/ruby-advisory-db/blob/master/gems/spree/CVE-2011-10019.yml
- github.com/advisories/GHSA-97vm-c39p-jr86
- nvd.nist.gov/vuln/detail/CVE-2011-10019
- cve.org/CVERecord?id=CVE-2011-10019
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.