Vulnerabilities in pkg:gem/web-console
PACKAGECVE-2015-3224 is a MODERATE web console (ruby gem) contains vulnerability (CWE-284: Improper Access Control) affecting Web console libraries in the RubyGems ecosystem. The issue involves web console (ruby gem) contains whitelisted_ips bypass. Remediation is available by upgrading affected packages to version 2.1.3.
pkg:gem/web-console
Vulnerability advisories affecting package pkg:gem/web-console. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-67j6-xv27-w6ww | CVE-2015-3224 | MODERATE | Web Console (Ruby gem) contains whitelisted_ips bypass |
| GHSA-82x2-g7vr-39wq | - | MODERATE | Moderate severity vulnerability that affects web-console |
CVE-2015-3224 at a Glance
How to Fix CVE-2015-3224
To remediate this vulnerability, upgrade all affected Web console dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade web-console to 2.1.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for web-console
How to Check if You Are Affected
To determine whether your application is affected by CVE-2015-3224, inspect your project dependencies for Web console:
inspect dependencies for web-console
Analyze the terminal output to locate any version of Web console in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.3), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Web console, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2015-3224 Affected Web console Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
web-console
|
RubyGems |
< 2.1.3
|
2.1.3
|
References
Frequently Asked Questions
What is CVE-2015-3224?
Which Web console versions are affected?
What version fixes CVE-2015-3224?
Is web-console affected?
What CWE is associated with CVE-2015-3224?
How can I check RubyGems dependencies for CVE-2015-3224?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-67j6-xv27-w6ww",
"modified" : "2023-03-14T23:11:59Z",
"published" : "2017-10-24T18:33:36Z",
"aliases" : [ "CVE-2015-3224" ],
"summary" : "Web Console (Ruby gem) contains whitelisted_ips bypass",
"details" : "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.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "RubyGems",
"name" : "web-console"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2015-3224"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/rails/web-console"
}, {
"type" : "WEB",
"url" : "https://github.com/rails/web-console/blob/master/CHANGELOG.markdown"
}, {
"type" : "WEB",
"url" : "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/web-console/CVE-2015-3224.yml"
}, {
"type" : "WEB",
"url" : "https://groups.google.com/forum/#!topic/ruby-security-ann/lzmz9_ijUFw"
}, {
"type" : "WEB",
"url" : "http://lists.fedoraproject.org/pipermail/package-announce/2015-June/160881.html"
}, {
"type" : "WEB",
"url" : "http://openwall.com/lists/oss-security/2015/06/16/18"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:18:18Z",
"nvd_published_at" : null
}
}