GHSA-3VFW-7RCP-3XGM
Vulnerability from github – Published: 2017-10-24 18:33 – Updated: 2023-05-12 15:20
VLAI?
Summary
actionpack Improper Input Validation vulnerability
Details
The to_s method in actionpack/lib/action_dispatch/middleware/remote_ip.rb in Ruby on Rails 3.0.5 does not validate the X-Forwarded-For header in requests from IP addresses on a Class C network, which might allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.
{
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "actionpack"
},
"ranges": [
{
"events": [
{
"introduced": "2.3.0"
},
{
"fixed": "2.3.13"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2011-3187"
],
"database_specific": {
"cwe_ids": [
"CWE-20"
],
"github_reviewed": true,
"github_reviewed_at": "2020-06-16T20:56:30Z",
"nvd_published_at": "2011-08-29T18:55:01Z",
"severity": "MODERATE"
},
"details": "The `to_s` method in `actionpack/lib/action_dispatch/middleware/remote_ip.rb` in Ruby on Rails 3.0.5 does not validate the X-Forwarded-For header in requests from IP addresses on a Class C network, which might allow remote attackers to inject arbitrary text into log files or bypass intended address parsing via a crafted header.",
"id": "GHSA-3vfw-7rcp-3xgm",
"modified": "2023-05-12T15:20:04Z",
"published": "2017-10-24T18:33:38Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2011-3187"
},
{
"type": "WEB",
"url": "https://bugzilla.novell.com/show_bug.cgi?id=673010"
},
{
"type": "PACKAGE",
"url": "https://github.com/rails/rails"
},
{
"type": "WEB",
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2011-3187.yml"
},
{
"type": "WEB",
"url": "https://web.archive.org/web/20111209181000/http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html"
},
{
"type": "WEB",
"url": "http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/08/17/1"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/08/19/11"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/08/20/1"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/13"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/14"
},
{
"type": "WEB",
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/5"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "actionpack Improper Input Validation vulnerability"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…