Ruby on Rails up to 3.x/4.x Web Console request.rb X-Forwarded-For Blacklist access control

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
7.0$0-$5k0.00

Summaryinfo

A vulnerability categorized as critical has been discovered in Ruby on Rails up to 3.x/4.x. Affected is an unknown function of the file request.rb of the component Web Console. The manipulation of the argument X-Forwarded-For results in access control (Blacklist). This vulnerability is reported as CVE-2015-3224. Moreover, an exploit is present. It is advisable to upgrade the affected component.

Detailsinfo

A vulnerability was found in Ruby on Rails up to 3.x/4.x (Programming Language Software). It has been classified as critical. Affected is an unknown functionality of the file request.rb of the component Web Console. The manipulation of the argument X-Forwarded-For with an unknown input leads to a access control vulnerability (Blacklist). CWE is classifying the issue as CWE-284. The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

request.rb in 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.

The weakness was disclosed 07/26/2015 by Aaron (Website). The advisory is shared for download at groups.google.com. This vulnerability is traded as CVE-2015-3224 since 04/10/2015. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Technical details and a public exploit are known. The MITRE ATT&CK project declares the attack technique as T1068.

The exploit is shared for download at exploit-db.com. It is declared as highly functional. The vulnerability scanner Nessus provides a plugin with the ID 84255 (FreeBSD : rubygem-rails -- multiple vulnerabilities (eb8a8978-8dd5-49ce-87f4-49667b2166dd)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks.

Upgrading eliminates this vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 39139.

The vulnerability is also documented in the databases at Exploit-DB (41689), Tenable (84255), SecurityFocus (BID 75237†) and Vulnerability Center (SBV-51630†). The entries VDB-76806, VDB-76813, VDB-76814 and VDB-76815 are pretty similar. VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.3
VulDB Meta Temp Score: 7.0

VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Name: Blacklist
Class: Access control / Blacklist
CWE: CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Highly functional
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 84255
Nessus Name: FreeBSD : rubygem-rails -- multiple vulnerabilities (eb8a8978-8dd5-49ce-87f4-49667b2166dd)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍

OpenVAS ID: 867773
OpenVAS Name: Fedora Update for rubygem-web-console FEDORA-2015-10128
OpenVAS File: 🔍
OpenVAS Family: 🔍

MetaSploit ID: rails_web_console_v2_code_exec.rb
MetaSploit Name: Ruby on Rails Web Console (v2) Whitelist Bypass Code Execution
MetaSploit File: 🔍

Exploit-DB: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

Fortigate IPS: 🔍

Timelineinfo

04/10/2015 🔍
06/16/2015 +67 days 🔍
06/16/2015 +0 days 🔍
07/26/2015 +40 days 🔍
07/26/2015 +0 days 🔍
07/28/2015 +2 days 🔍
07/28/2015 +0 days 🔍
12/27/2024 +3440 days 🔍

Sourcesinfo

Advisory: groups.google.com
Researcher: Aaron
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2015-3224 (🔍)
GCVE (CVE): GCVE-0-2015-3224
GCVE (VulDB): GCVE-100-76812
SecurityFocus: 75237 - Web Console CVE-2015-3224 Remote Code Execution Vulnerability
Vulnerability Center: 51630 - Ruby on Rails Web Console Remote Security Bypass in Web Console, Medium

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 07/28/2015 10:18
Updated: 12/27/2024 02:28
Changes: 07/28/2015 10:18 (57), 08/03/2017 03:23 (21), 06/03/2022 20:43 (3), 12/27/2024 02:28 (20)
Complete: 🔍
Cache ID: 216:963:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!