Skip to main content
← All vulnerabilities
CVE-2016-2098GHSA-78RC-8C29-P45G

Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Rub

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.2.22.2, 4.1.14.2, 4.2.5.2
1 on Exploit-DB, 1 Metasploit module, 12 proofs of concept on GitHub

Summary

Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Ruby code by leveraging an application's unrestricted use of the render method.

Timeline

  1. CVE published
  2. Public exploit on Exploit-DB

    EDB-40086

  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

    From 3.0.0 · fixed in 3.2.22.2

  • actionpackRubyGems

    From 4.0.0 · fixed in 4.1.14.2

  • actionpackRubyGems

    From 4.2.0 · fixed in 4.2.5.2

References 26

lists.opensuse.org

debian.org

securityfocus.com

securitytracker.com

Exploit-DB

groups.google.com

weblog.rubyonrails.org

GitHub · rapid7/metasploit-framework

GitHub · 0x00-0x00/CVE-2016-2098

GitHub · 3rg1s/CVE-2016-2098

GitHub · Alejandro-MartinG/rails-PoC-CVE-2016-2098

GitHub · CyberDefenseInstitute/PoC_CVE-2016-2098_Rails42

GitHub · DanielHemmati/CVE-2016-2098-my-first-exploit

GitHub · Debalinax64/CVE-2016-2098

GitHub · JoseLRC97/Ruby-on-Rails-ActionPack-Inline-ERB-Remote-Code-Execution

GitHub · Shakun8/CVE-2016-2098

GitHub · hderms/dh-CVE_2016_2098

GitHub · its-arun/CVE-2016-2098

GitHub · j4k0m/CVE-2016-2098

GitHub · sealldeveloper/CVE-2016-2098-PoC