GSD-2017-16792
Vulnerability from gsd - Updated: 2017-11-10 00:00Details
Stored cross-site scripting (XSS) vulnerability in "geminabox" (Gem
in a Box) allows attackers to inject arbitrary web script via a crafted
JavaScript URL in the "homepage" value of a ".gemspec" file.
A ".gemspec" file must be created with a JavaScript URL in the homepage
value. This can be used to build a gem for upload to the Geminabox server,
in order to achieve stored XSS via the gem hyperlink.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2017-16792",
"description": "Stored cross-site scripting (XSS) vulnerability in \"geminabox\" (Gem in a Box) before 0.13.10 allows attackers to inject arbitrary web script via the \"homepage\" value of a \".gemspec\" file, related to views/gem.erb and views/index.erb.",
"id": "GSD-2017-16792"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "geminabox",
"purl": "pkg:gem/geminabox"
}
}
],
"aliases": [
"CVE-2017-16792",
"GHSA-653m-r33x-39ff"
],
"details": "Stored cross-site scripting (XSS) vulnerability in \"geminabox\" (Gem\nin a Box) allows attackers to inject arbitrary web script via a crafted\nJavaScript URL in the \"homepage\" value of a \".gemspec\" file.\n\nA \".gemspec\" file must be created with a JavaScript URL in the homepage\nvalue. This can be used to build a gem for upload to the Geminabox server,\nin order to achieve stored XSS via the gem hyperlink.\n",
"id": "GSD-2017-16792",
"modified": "2017-11-10T00:00:00.000Z",
"published": "2017-11-10T00:00:00.000Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/geminabox/geminabox/blob/master/CHANGELOG.md#01310-2017-11-13"
},
{
"type": "WEB",
"url": "https://github.com/geminabox/geminabox/commit/f8429a9e364658459add170e4ebc7a5d3b4759e7"
},
{
"type": "WEB",
"url": "https://github.com/geminabox/geminabox/commit/e7e0b16147677e9029f0b55eff6bc6dda52398d4"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": 6.1,
"type": "CVSS_V3"
}
],
"summary": "Stored XSS in \"geminabox\" via injection in Gemspec \"homepage\" value"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2017-16792",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "Stored cross-site scripting (XSS) vulnerability in \"geminabox\" (Gem in a Box) before 0.13.10 allows attackers to inject arbitrary web script via the \"homepage\" value of a \".gemspec\" file, related to views/gem.erb and views/index.erb."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://rubygems.org/gems/geminabox/versions/0.13.10",
"refsource": "MISC",
"url": "https://rubygems.org/gems/geminabox/versions/0.13.10"
},
{
"name": "https://github.com/geminabox/geminabox/blob/master/CHANGELOG.md",
"refsource": "CONFIRM",
"url": "https://github.com/geminabox/geminabox/blob/master/CHANGELOG.md"
},
{
"name": "https://github.com/geminabox/geminabox/commit/f8429a9e364658459add170e4ebc7a5d3b4759e7",
"refsource": "CONFIRM",
"url": "https://github.com/geminabox/geminabox/commit/f8429a9e364658459add170e4ebc7a5d3b4759e7"
}
]
}
},
"github.com/rubysec/ruby-advisory-db": {
"cve": "2017-16792",
"cvss_v3": 6.1,
"date": "2017-11-10",
"description": "Stored cross-site scripting (XSS) vulnerability in \"geminabox\" (Gem\nin a Box) allows attackers to inject arbitrary web script via a crafted\nJavaScript URL in the \"homepage\" value of a \".gemspec\" file.\n\nA \".gemspec\" file must be created with a JavaScript URL in the homepage\nvalue. This can be used to build a gem for upload to the Geminabox server,\nin order to achieve stored XSS via the gem hyperlink.\n",
"gem": "geminabox",
"ghsa": "653m-r33x-39ff",
"patched_versions": [
"\u003e= 0.13.10"
],
"related": {
"url": [
"https://github.com/geminabox/geminabox/commit/f8429a9e364658459add170e4ebc7a5d3b4759e7",
"https://github.com/geminabox/geminabox/commit/e7e0b16147677e9029f0b55eff6bc6dda52398d4"
]
},
"title": "Stored XSS in \"geminabox\" via injection in Gemspec \"homepage\" value",
"url": "https://github.com/geminabox/geminabox/blob/master/CHANGELOG.md#01310-2017-11-13"
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c0.13.10",
"affected_versions": "All versions before 0.13.10",
"cvss_v2": "AV:N/AC:M/Au:N/C:N/I:P/A:N",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"cwe_ids": [
"CWE-1035",
"CWE-79",
"CWE-937"
],
"date": "2019-09-26",
"description": "A stored cross-site scripting (XSS) vulnerability in `geminabox` (Gem in a Box) allows attackers to inject arbitrary web script via the `homepage` value of a `.gemspec` file, related to `views/gem.erb` and `views/index.erb.`",
"fixed_versions": [
"0.13.10"
],
"identifier": "CVE-2017-16792",
"identifiers": [
"CVE-2017-16792"
],
"not_impacted": "All versions starting from 0.13.10",
"package_slug": "gem/geminabox",
"pubdate": "2017-11-13",
"solution": "Upgrade to version 0.13.10 or above.",
"title": "Cross-site Scripting",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2017-16792",
"https://github.com/geminabox/geminabox/commit/f8429a9e364658459add170e4ebc7a5d3b4759e7"
],
"uuid": "37d922bb-d204-419a-9dec-bb089a94d2fe"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:geminabox_project:geminabox:*:*:*:*:*:ruby:*:*",
"cpe_name": [],
"versionEndExcluding": "0.13.10",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2017-16792"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Stored cross-site scripting (XSS) vulnerability in \"geminabox\" (Gem in a Box) before 0.13.10 allows attackers to inject arbitrary web script via the \"homepage\" value of a \".gemspec\" file, related to views/gem.erb and views/index.erb."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://rubygems.org/gems/geminabox/versions/0.13.10",
"refsource": "MISC",
"tags": [
"Product"
],
"url": "https://rubygems.org/gems/geminabox/versions/0.13.10"
},
{
"name": "https://github.com/geminabox/geminabox/commit/f8429a9e364658459add170e4ebc7a5d3b4759e7",
"refsource": "CONFIRM",
"tags": [
"Issue Tracking"
],
"url": "https://github.com/geminabox/geminabox/commit/f8429a9e364658459add170e4ebc7a5d3b4759e7"
},
{
"name": "https://github.com/geminabox/geminabox/blob/master/CHANGELOG.md",
"refsource": "CONFIRM",
"tags": [
"Release Notes",
"Third Party Advisory"
],
"url": "https://github.com/geminabox/geminabox/blob/master/CHANGELOG.md"
}
]
}
},
"impact": {
"baseMetricV2": {
"acInsufInfo": false,
"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": true
},
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7
}
},
"lastModifiedDate": "2019-09-26T17:40Z",
"publishedDate": "2017-11-13T09: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…