GSD-2011-3187
Vulnerability from gsd - Updated: 2023-12-13 01:19Details
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.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2011-3187",
"description": "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": "GSD-2011-3187",
"references": [
"https://www.suse.com/security/cve/CVE-2011-3187.html"
]
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2011-3187"
],
"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": "GSD-2011-3187",
"modified": "2023-12-13T01:19:09.504901Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2011-3187",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_affected": "=",
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html",
"refsource": "MISC",
"url": "http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html"
},
{
"name": "http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html",
"refsource": "MISC",
"url": "http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html"
},
{
"name": "http://www.openwall.com/lists/oss-security/2011/08/17/1",
"refsource": "MISC",
"url": "http://www.openwall.com/lists/oss-security/2011/08/17/1"
},
{
"name": "http://www.openwall.com/lists/oss-security/2011/08/19/11",
"refsource": "MISC",
"url": "http://www.openwall.com/lists/oss-security/2011/08/19/11"
},
{
"name": "http://www.openwall.com/lists/oss-security/2011/08/20/1",
"refsource": "MISC",
"url": "http://www.openwall.com/lists/oss-security/2011/08/20/1"
},
{
"name": "http://www.openwall.com/lists/oss-security/2011/08/22/13",
"refsource": "MISC",
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/13"
},
{
"name": "http://www.openwall.com/lists/oss-security/2011/08/22/14",
"refsource": "MISC",
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/14"
},
{
"name": "http://www.openwall.com/lists/oss-security/2011/08/22/5",
"refsource": "MISC",
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/5"
},
{
"name": "https://bugzilla.novell.com/show_bug.cgi?id=673010",
"refsource": "MISC",
"url": "https://bugzilla.novell.com/show_bug.cgi?id=673010"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003e=2.3.0 \u003c2.3.13",
"affected_versions": "All versions starting from 2.3.0 before 2.3.13",
"cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-20",
"CWE-937"
],
"date": "2021-08-31",
"description": "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.",
"fixed_versions": [
"2.3.13"
],
"identifier": "CVE-2011-3187",
"identifiers": [
"GHSA-3vfw-7rcp-3xgm",
"CVE-2011-3187"
],
"not_impacted": "All versions before 2.3.0, all versions starting from 2.3.13",
"package_slug": "gem/actionpack",
"pubdate": "2017-10-24",
"solution": "Upgrade to version 2.3.13 or above.",
"title": "Improper Input Validation",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2011-3187",
"https://bugzilla.novell.com/show_bug.cgi?id=673010",
"https://github.com/advisories/GHSA-3vfw-7rcp-3xgm",
"http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html",
"http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html",
"http://www.openwall.com/lists/oss-security/2011/08/17/1",
"http://www.openwall.com/lists/oss-security/2011/08/19/11",
"http://www.openwall.com/lists/oss-security/2011/08/20/1",
"http://www.openwall.com/lists/oss-security/2011/08/22/13",
"http://www.openwall.com/lists/oss-security/2011/08/22/14",
"http://www.openwall.com/lists/oss-security/2011/08/22/5"
],
"uuid": "9b343f9b-3e5d-4030-9b65-bc079cb75ac5"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:rubyonrails:rails:3.0.5:*:*:*:*:*:*:*",
"cpe_name": [],
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2011-3187"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "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."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-20"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "[oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)",
"refsource": "MLIST",
"tags": [
"Patch"
],
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/13"
},
{
"name": "[oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)",
"refsource": "MLIST",
"tags": [
"Patch"
],
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/5"
},
{
"name": "http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html",
"refsource": "MISC",
"tags": [
"Exploit"
],
"url": "http://webservsec.blogspot.com/2011/02/ruby-on-rails-vulnerability.html"
},
{
"name": "20110216 Ruby on Rails Vulnerability",
"refsource": "FULLDISC",
"tags": [],
"url": "http://archives.neohapsis.com/archives/fulldisclosure/2011-02/0337.html"
},
{
"name": "[oss-security] 20110822 Re: CVE request: ruby on rails flaws (4)",
"refsource": "MLIST",
"tags": [
"Exploit"
],
"url": "http://www.openwall.com/lists/oss-security/2011/08/22/14"
},
{
"name": "[oss-security] 20110817 CVE request: ruby on rails flaws (4)",
"refsource": "MLIST",
"tags": [
"Patch"
],
"url": "http://www.openwall.com/lists/oss-security/2011/08/17/1"
},
{
"name": "[oss-security] 20110820 Re: CVE request: ruby on rails flaws (4)",
"refsource": "MLIST",
"tags": [
"Patch"
],
"url": "http://www.openwall.com/lists/oss-security/2011/08/20/1"
},
{
"name": "https://bugzilla.novell.com/show_bug.cgi?id=673010",
"refsource": "CONFIRM",
"tags": [
"Exploit"
],
"url": "https://bugzilla.novell.com/show_bug.cgi?id=673010"
},
{
"name": "[oss-security] 20110819 Re: CVE request: ruby on rails flaws (4)",
"refsource": "MLIST",
"tags": [
"Patch"
],
"url": "http://www.openwall.com/lists/oss-security/2011/08/19/11"
}
]
}
},
"impact": {
"baseMetricV2": {
"cvssV2": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "NONE",
"baseScore": 4.3,
"confidentialityImpact": "NONE",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 2.9,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": false
}
},
"lastModifiedDate": "2019-08-08T15:41Z",
"publishedDate": "2011-08-29T18:55Z"
}
}
}
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…