Skip to main content
← All vulnerabilities
CVE-2013-0156GHSA-JMGW-6VJG-JJWG

active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.1

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.15, 3.0.19, 3.1.10, 3.2.11
2 on Exploit-DB, 3 Metasploit modules, 8 proofs of concept on GitHub

Summary

active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly restrict casts of string values, which allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) involving nested XML entity references, by leveraging Action Pack support for (1) YAML type conversion or (2) Symbol type conversion.

Timeline

  1. Public exploit on Exploit-DB

    EDB-24019, EDB-27527

  2. CVE published
  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • actionpackRubyGems

    fixed in 2.3.15

  • actionpackRubyGems

    From 3.0.0 · fixed in 3.0.19

  • actionpackRubyGems

    From 3.1.0 · fixed in 3.1.10

  • actionpackRubyGems

    From 3.2.0 · fixed in 3.2.11

References 27

groups.google.com

insinuator.net

rhn.redhat.com

kb.cert.org

community.rapid7.com

fujitsu.com

lists.apple.com

debian.org

ics-cert.us-cert.gov

puppet.com

weblog.rubyonrails.org

Exploit-DB

GitHub · rapid7/metasploit-framework

GitHub · 7s26simon/CVE-2013-0156

GitHub · Jjdt12/kuang_grade_mk11

GitHub · R3dKn33-zz/CVE-2013-0156

GitHub · bsodmike/rails-exploit-cve-2013-0156

GitHub · heroku/heroku-CVE-2013-0156

GitHub · josal/crack-0.1.8-fixed

GitHub · oxben10/CVE-2013-0156

GitHub · terracatta/name_reverser