CVE-2013-4164
Ruby 1.8 1.9-1.9.3-p484 2.0-2.0.0-p353 2.1-2.1.0 preview2 - Heap-based Buffer Overflow via String to Float Conversion
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2013-4164.
PoCs published by Charlie Somerville, joev, todb, including Metasploit module auxiliary/dos/http/rails_json_float_dos.
AI-analyzed exploit summary This Metasploit module exploits a heap-based buffer overflow in Ruby on Rails (CVE-2013-4164) by sending a maliciously crafted JSON payload with an extremely large floating-point number, causing a denial-of-service (DoS) via segmentation fault.
Description
Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1 before 2.1.0 preview2, and trunk before revision 43780 allows context-dependent attackers to cause a denial of service (segmentation fault) and possibly execute arbitrary code via a string that is converted to a floating point value, as demonstrated using (1) the to_f method or (2) JSON.parse.
Exploits (1)
This Metasploit module exploits a heap-based buffer overflow in Ruby on Rails (CVE-2013-4164) by sending a maliciously crafted JSON payload with an extremely large floating-point number, causing a denial-of-service (DoS) via segmentation fault.