FKIE_CVE-2021-27228
Vulnerability from fkie_nvd - Published: 2021-02-22 17:15 - Updated: 2026-06-17 03:44
Severity
Summary
An issue was discovered in Shinobi through ocean version 1. lib/auth.js has Incorrect Access Control. Valid API Keys are held in an internal JS Object. Therefore an attacker can use JS Proto Method names (such as constructor or hasOwnProperty) to convince the System that the supplied API Key exists in the underlying JS object, and consequently achieve complete access to User/Admin/Super API functions, as demonstrated by a /super/constructor/accounts/list URI.
References
| URL | Tags | ||
|---|---|---|---|
| cve@mitre.org | https://gitlab.com/Shinobi-Systems/Shinobi/-/merge_requests/286 | Patch, Third Party Advisory | |
| cve@mitre.org | https://gitlab.com/Shinobi-Systems/Shinobi/-/tags | Patch, Third Party Advisory | |
| cve@mitre.org | https://shinobi.video/ | Product | |
| af854a3a-2127-422b-91ae-364da2661108 | https://gitlab.com/Shinobi-Systems/Shinobi/-/merge_requests/286 | Patch, Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://gitlab.com/Shinobi-Systems/Shinobi/-/tags | Patch, Third Party Advisory | |
| af854a3a-2127-422b-91ae-364da2661108 | https://shinobi.video/ | Product |
Impacted products
| Vendor | Product | Version | |
|---|---|---|---|
| shinobi | shinobi_pro | * |
{
"affected": [
{
"affectedData": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"source": "cve@mitre.org"
}
],
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:shinobi:shinobi_pro:*:*:*:*:*:*:*:*",
"matchCriteriaId": "CB0722FC-17E5-4B2D-BB04-BEB1FEA2349A",
"versionEndIncluding": "1.0",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "An issue was discovered in Shinobi through ocean version 1. lib/auth.js has Incorrect Access Control. Valid API Keys are held in an internal JS Object. Therefore an attacker can use JS Proto Method names (such as constructor or hasOwnProperty) to convince the System that the supplied API Key exists in the underlying JS object, and consequently achieve complete access to User/Admin/Super API functions, as demonstrated by a /super/constructor/accounts/list URI."
},
{
"lang": "es",
"value": "Se detect\u00f3 un problema en Shinobi versiones hasta Ocean versi\u00f3n 1. La biblioteca lib/auth.js presenta un Control de Acceso Incorrecto.\u0026#xa0;Las claves de API v\u00e1lidas son guardadas en un objeto JS interno.\u0026#xa0;Por lo tanto, un atacante puede usar nombres del JS Proto Method (como constructor o hasOwnProperty) para convencer al sistema de que la API Key suministrada existe en el objeto JS subyacente y, en consecuencia, lograr un acceso completo a las funciones de la API User/Admin/Super, como es demostrado por un URI /super/constructor /accounts/list"
}
],
"id": "CVE-2021-27228",
"lastModified": "2026-06-17T03:44:30.287",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "HIGH",
"cvssData": {
"accessComplexity": "LOW",
"accessVector": "NETWORK",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 7.5,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 10.0,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": false
}
],
"cvssMetricV31": [
{
"cvssData": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9,
"source": "nvd@nist.gov",
"type": "Primary"
}
]
},
"published": "2021-02-22T17:15:12.657",
"references": [
{
"source": "cve@mitre.org",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://gitlab.com/Shinobi-Systems/Shinobi/-/merge_requests/286"
},
{
"source": "cve@mitre.org",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://gitlab.com/Shinobi-Systems/Shinobi/-/tags"
},
{
"source": "cve@mitre.org",
"tags": [
"Product"
],
"url": "https://shinobi.video/"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://gitlab.com/Shinobi-Systems/Shinobi/-/merge_requests/286"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Patch",
"Third Party Advisory"
],
"url": "https://gitlab.com/Shinobi-Systems/Shinobi/-/tags"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Product"
],
"url": "https://shinobi.video/"
}
],
"sourceIdentifier": "cve@mitre.org",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-798"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
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…