Remote Code Execution and File Disclosure Vulnerability
86 views
Skip to first unread message
John Hawthorn
unread,
Jul 28, 2015, 3:01:10 PM7/28/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to solidus-...@googlegroups.com
Versions Affected: All versions of Spree and Solidus (introduced in Spree 1.2)
Fixed Versions: Solidus 1.0.0.pre3
Impact
------
An attacker with API access is able to execute arbitrary files on the remote
system. It is likely that this could be leveraged to gain admin priviledges,
disclose the contents of files or execute arbitrary code.
We recommend all users upgrade immediately, but this is especially dangerous to
stores which provide API access to customers.
Workarounds
-----------
If you are unable to upgrade you can work around this vulnerability by adding
the following check through an initializer.
``` ruby
# config/initializers/security_20150727.rb
Spree::Api::TaxonomiesController.before_filter do
params[:set] = nil if params[:set] != "nested"
end
```
Patches
-------
We have provided the following patch which should apply to all
versions of Spree and Solidius