high7.5Public exploit code
CVE-2013-0333
lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to YAML data for proc…
Public exploit code
Working exploit or proof of concept code has been published for this vulnerability. Treat unpatched systems as at risk.
- Ruby on Rails - JSON Processor YAML Deserialization Code Execution (Metasploit)2013-01-29 · remote · multiple · Verified
Impact
lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to YAML data for processing by a YAML parser, which allows remote attackers to execute arbitrary code, conduct SQL injection attacks, or bypass authentication via crafted data that triggers unsafe decoding, a different vulnerability than CVE-2013-0156.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Rubyonrails | Rails | Versions 2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.9 |
| Rubyonrails | Ruby On Rails | Version 3.0.4 |
References
- NVD record
- CVE.org record
- http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html
- http://rhn.redhat.com/errata/RHSA-2013-0201.html
- http://rhn.redhat.com/errata/RHSA-2013-0202.html
- http://rhn.redhat.com/errata/RHSA-2013-0203.html
- http://support.apple.com/kb/HT5784
- http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/
- http://www.debian.org/security/2013/dsa-2613
- http://www.kb.cert.org/vuls/id/628463
- https://groups.google.com/group/rubyonrails-security/msg/52179af76915e518?dmode=source&output=gplain
- https://puppet.com/security/cve/cve-2013-0333
- http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html
- http://rhn.redhat.com/errata/RHSA-2013-0201.html
- http://rhn.redhat.com/errata/RHSA-2013-0202.html
- http://rhn.redhat.com/errata/RHSA-2013-0203.html
- http://support.apple.com/kb/HT5784
- http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/
- http://www.debian.org/security/2013/dsa-2613
- http://www.kb.cert.org/vuls/id/628463
- https://groups.google.com/group/rubyonrails-security/msg/52179af76915e518?dmode=source&output=gplain
- https://puppet.com/security/cve/cve-2013-0333