GSD-2016-10522
Vulnerability from gsd - Updated: 2016-12-21 00:00Details
The rails_admin gem is vulnerable to cross-site request forgery (CSRF) attacks.
Due to a bug, non-GET methods were not validating CSRF tokens and, as a result,
an attacker could hypothetically gain access to the application administrative
endpoints exposed by the gem.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2016-10522",
"description": "rails_admin ruby gem \u003cv1.1.1 is vulnerable to cross-site request forgery (CSRF) attacks. Non-GET methods were not validating CSRF tokens and, as a result, an attacker could hypothetically gain access to the application administrative endpoints exposed by the gem.",
"id": "GSD-2016-10522"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "rails_admin",
"purl": "pkg:gem/rails_admin"
}
}
],
"aliases": [
"CVE-2016-10522",
"GHSA-pxqr-8v54-m2hj"
],
"details": "The rails_admin gem is vulnerable to cross-site request forgery (CSRF) attacks.\nDue to a bug, non-GET methods were not validating CSRF tokens and, as a result,\nan attacker could hypothetically gain access to the application administrative\nendpoints exposed by the gem.\n",
"id": "GSD-2016-10522",
"modified": "2016-12-21T00:00:00.000Z",
"published": "2016-12-21T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://www.sourceclear.com/blog/Rails_admin-Vulnerability-Disclosure/"
},
{
"type": "WEB",
"url": "https://www.sourceclear.com/registry/security/cross-site-request-forgery-csrf-/ruby/sid-3173"
},
{
"type": "WEB",
"url": "https://github.com/sferik/rails_admin/commit/b13e879eb93b661204e9fb5e55f7afa4f397537a"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 5.5,
"type": "CVSS_V2"
}
],
"summary": "CSRF vulnerability in rails_admin"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "support@hackerone.com",
"ID": "CVE-2016-10522",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "rails_admin ruby gem",
"version": {
"version_data": [
{
"version_value": "\u003e= 1.1.1"
}
]
}
}
]
},
"vendor_name": "https://github.com/sferik"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "rails_admin ruby gem \u003cv1.1.1 is vulnerable to cross-site request forgery (CSRF) attacks. Non-GET methods were not validating CSRF tokens and, as a result, an attacker could hypothetically gain access to the application administrative endpoints exposed by the gem."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "Cross-Site Request Forgery (CSRF) (CWE-352)"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://www.sourceclear.com/blog/Rails_admin-Vulnerability-Disclosure/",
"refsource": "MISC",
"url": "https://www.sourceclear.com/blog/Rails_admin-Vulnerability-Disclosure/"
},
{
"name": "https://github.com/sferik/rails_admin/commit/b13e879eb93b661204e9fb5e55f7afa4f397537a",
"refsource": "CONFIRM",
"url": "https://github.com/sferik/rails_admin/commit/b13e879eb93b661204e9fb5e55f7afa4f397537a"
},
{
"name": "https://www.sourceclear.com/registry/security/cross-site-request-forgery-csrf-/ruby/sid-3173",
"refsource": "MISC",
"url": "https://www.sourceclear.com/registry/security/cross-site-request-forgery-csrf-/ruby/sid-3173"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2016-10522",
"cvss_v2": 5.5,
"date": "2016-12-21",
"description": "The rails_admin gem is vulnerable to cross-site request forgery (CSRF) attacks.\nDue to a bug, non-GET methods were not validating CSRF tokens and, as a result,\nan attacker could hypothetically gain access to the application administrative\nendpoints exposed by the gem.\n",
"gem": "rails_admin",
"ghsa": "pxqr-8v54-m2hj",
"patched_versions": [
"\u003e= 1.1.1"
],
"related": {
"url": [
"https://www.sourceclear.com/registry/security/cross-site-request-forgery-csrf-/ruby/sid-3173",
"https://github.com/sferik/rails_admin/commit/b13e879eb93b661204e9fb5e55f7afa4f397537a"
]
},
"title": "CSRF vulnerability in rails_admin",
"unaffected_versions": [
"\u003c 1.0.0"
],
"url": "https://www.sourceclear.com/blog/Rails_admin-Vulnerability-Disclosure/"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c1.1.1",
"affected_versions": "All versions before 1.1.1",
"cvss_v2": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"cvss_v3": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-352",
"CWE-937"
],
"date": "2019-10-09",
"description": "rails_admin is vulnerable to cross-site request forgery (CSRF) attacks. Non-GET methods were not validating CSRF tokens and, as a result, an attacker could hypothetically gain access to the application administrative endpoints exposed by the gem.",
"fixed_versions": [
"1.1.1"
],
"identifier": "CVE-2016-10522",
"identifiers": [
"CVE-2016-10522"
],
"not_impacted": "All versions starting from 1.1.1",
"package_slug": "gem/rails_admin",
"pubdate": "2018-07-05",
"solution": "Upgrade to version 1.1.1 or above.",
"title": "Cross-Site Request Forgery (CSRF)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2016-10522",
"https://www.sourceclear.com/registry/security/cross-site-request-forgery-csrf-/ruby/sid-3173",
"https://www.sourceclear.com/blog/Rails_admin-Vulnerability-Disclosure/",
"https://github.com/sferik/rails_admin/commit/b13e879eb93b661204e9fb5e55f7afa4f397537a"
],
"uuid": "53eb6991-5fd4-4aa5-8183-540196c512c4"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:rails_admin_project:rails_admin:*:*:*:*:*:ruby:*:*",
"cpe_name": [],
"versionEndExcluding": "1.1.1",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve-assignments@hackerone.com",
"ID": "CVE-2016-10522"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "rails_admin ruby gem \u003cv1.1.1 is vulnerable to cross-site request forgery (CSRF) attacks. Non-GET methods were not validating CSRF tokens and, as a result, an attacker could hypothetically gain access to the application administrative endpoints exposed by the gem."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-352"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://www.sourceclear.com/registry/security/cross-site-request-forgery-csrf-/ruby/sid-3173",
"refsource": "MISC",
"tags": [
"Exploit",
"Patch",
"Third Party Advisory"
],
"url": "https://www.sourceclear.com/registry/security/cross-site-request-forgery-csrf-/ruby/sid-3173"
},
{
"name": "https://www.sourceclear.com/blog/Rails_admin-Vulnerability-Disclosure/",
"refsource": "MISC",
"tags": [
"Exploit",
"Patch",
"Third Party Advisory"
],
"url": "https://www.sourceclear.com/blog/Rails_admin-Vulnerability-Disclosure/"
},
{
"name": "https://github.com/sferik/rails_admin/commit/b13e879eb93b661204e9fb5e55f7afa4f397537a",
"refsource": "CONFIRM",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://github.com/sferik/rails_admin/commit/b13e879eb93b661204e9fb5e55f7afa4f397537a"
}
]
}
},
"impact": {
"baseMetricV2": {
"cvssV2": {
"accessComplexity": "MEDIUM",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 6.8,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:M/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 8.6,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"severity": "MEDIUM",
"userInteractionRequired": true
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"version": "3.0"
},
"exploitabilityScore": 2.8,
"impactScore": 5.9
}
},
"lastModifiedDate": "2019-10-09T23:16Z",
"publishedDate": "2018-07-05T16:29Z"
}
}
}
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…