RubySec

Providing security resources for the Ruby community

CVE-2011-10026 (spree): Spree Commerce is vulnerable to RCE through Search API

ADVISORIES

GEM

spree

SEVERITY

CVSS v3.x: 9.8 (Critical)

UNAFFECTED VERSIONS

  • < 0.30.0.beta1

PATCHED VERSIONS

  • >= 0.50.0

DESCRIPTION

Spreecommerce versions prior to 0.50.x contain a remote command execution vulnerability in the API's search functionality. Improper input sanitation allows attackers to inject arbitrary shell commands via the search[instance_eval] parameter, which is dynamically invoked using Ruby’s send method. This flaw enables unauthenticated attackers to execute commands on the server.

RELATED