Ruby on Rails up to 3.x/4.x Web Console request.rb X-Forwarded-For Blacklist access control
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
7.0 | $0-$5k | 0.04 |
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. There are known technical details, but no exploit is available. The MITRE ATT&CK project declares the attack technique as T1068.
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 Tenable (84255), SecurityFocus (BID 75237†) and Vulnerability Center (SBV-51630†). The entries VDB-76806, VDB-76813, VDB-76814 and VDB-76815 are pretty similar.
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.0
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
AV | AC | Au | C | I | A |
---|---|---|---|---|---|
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
---|---|---|---|---|---|
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
unlock | unlock | unlock | unlock | unlock | unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Name: BlacklistClass: Access control / Blacklist
CWE: CWE-284 / CWE-266
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Status: Highly functional
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
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: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
TippingPoint: 🔍
McAfee IPS: 🔍
McAfee IPS Version: 🔍
Fortigate IPS: 🔍
Timeline
04/10/2015 🔍06/16/2015 🔍
06/16/2015 🔍
07/26/2015 🔍
07/26/2015 🔍
07/28/2015 🔍
07/28/2015 🔍
06/03/2022 🔍
Sources
Advisory: groups.google.comResearcher: Aaron
Status: Not defined
Confirmation: 🔍
CVE: CVE-2015-3224 (🔍)
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
See also: 🔍
Entry
Created: 07/28/2015 10:18 AMUpdated: 06/03/2022 08:43 PM
Changes: 07/28/2015 10:18 AM (57), 08/03/2017 03:23 AM (21), 06/03/2022 08:43 PM (3)
Complete: 🔍
Cache ID: 18:4A8:40
No comments yet. Languages: en.
Please log in to comment.