gsd-2023-22621
Vulnerability from gsd
Modified
2023-12-13 01:20
Details
Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can be exploited to execute arbitrary code on the server. A remote attacker with access to the Strapi admin panel can inject a crafted payload that executes code on the server into an email template that bypasses the validation checks that should prevent code execution.
Aliases
Aliases
{
"GSD": {
"alias": "CVE-2023-22621",
"id": "GSD-2023-22621"
},
"gsd": {
"metadata": {
"exploitCode": "unknown",
"remediation": "unknown",
"reportConfidence": "confirmed",
"type": "vulnerability"
},
"osvSchema": {
"aliases": [
"CVE-2023-22621"
],
"details": "Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can be exploited to execute arbitrary code on the server. A remote attacker with access to the Strapi admin panel can inject a crafted payload that executes code on the server into an email template that bypasses the validation checks that should prevent code execution.",
"id": "GSD-2023-22621",
"modified": "2023-12-13T01:20:43.231287Z",
"schema_version": "1.4.0"
}
},
"namespaces": {
"cve.org": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2023-22621",
"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": "Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can be exploited to execute arbitrary code on the server. A remote attacker with access to the Strapi admin panel can inject a crafted payload that executes code on the server into an email template that bypasses the validation checks that should prevent code execution."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://github.com/strapi/strapi/releases",
"refsource": "MISC",
"url": "https://github.com/strapi/strapi/releases"
},
{
"name": "https://www.ghostccamm.com/blog/multi_strapi_vulns/",
"refsource": "MISC",
"url": "https://www.ghostccamm.com/blog/multi_strapi_vulns/"
},
{
"name": "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve",
"refsource": "MISC",
"url": "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve"
}
]
}
},
"gitlab.com": {
"advisories": [
{
"affected_range": "\u003c4.5.6",
"affected_versions": "All versions before 4.5.6",
"cwe_ids": [
"CWE-1035",
"CWE-78",
"CWE-937"
],
"date": "2023-04-19",
"description": "Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can be exploited to execute arbitrary code on the server. A remote attacker with access to the Strapi admin panel can inject a crafted payload that executes code on the server into an email template that bypasses the validation checks that should prevent code execution.",
"fixed_versions": [
"4.5.6"
],
"identifier": "CVE-2023-22621",
"identifiers": [
"GHSA-2h87-4q2w-v4hf",
"CVE-2023-22621"
],
"not_impacted": "All versions starting from 4.5.6",
"package_slug": "npm/@strapi/plugin-email",
"pubdate": "2023-04-19",
"solution": "Upgrade to version 4.5.6 or above.",
"title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
"urls": [
"https://github.com/strapi/strapi/security/advisories/GHSA-2h87-4q2w-v4hf",
"https://nvd.nist.gov/vuln/detail/CVE-2023-22621",
"https://github.com/strapi/strapi/pull/15385",
"https://github.com/strapi/strapi/commit/921d30961d6ba96cc098f2aea197350a49f990bd",
"https://github.com/strapi/strapi/releases",
"https://github.com/strapi/strapi/releases/tag/v4.5.6",
"https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve",
"https://www.ghostccamm.com/blog/multi_strapi_vulns/",
"https://github.com/advisories/GHSA-2h87-4q2w-v4hf"
],
"uuid": "a0ea3610-2f0b-4a46-97d7-0e3a92f5457a"
},
{
"affected_range": "\u003c4.5.6",
"affected_versions": "All versions before 4.5.6",
"cwe_ids": [
"CWE-1035",
"CWE-78",
"CWE-937"
],
"date": "2023-04-19",
"description": "Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can be exploited to execute arbitrary code on the server. A remote attacker with access to the Strapi admin panel can inject a crafted payload that executes code on the server into an email template that bypasses the validation checks that should prevent code execution.",
"fixed_versions": [
"4.5.6"
],
"identifier": "CVE-2023-22621",
"identifiers": [
"GHSA-2h87-4q2w-v4hf",
"CVE-2023-22621"
],
"not_impacted": "All versions starting from 4.5.6",
"package_slug": "npm/@strapi/plugin-users-permissions",
"pubdate": "2023-04-19",
"solution": "Upgrade to version 4.5.6 or above.",
"title": "Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
"urls": [
"https://github.com/strapi/strapi/security/advisories/GHSA-2h87-4q2w-v4hf",
"https://nvd.nist.gov/vuln/detail/CVE-2023-22621",
"https://github.com/strapi/strapi/pull/15385",
"https://github.com/strapi/strapi/commit/921d30961d6ba96cc098f2aea197350a49f990bd",
"https://github.com/strapi/strapi/releases",
"https://github.com/strapi/strapi/releases/tag/v4.5.6",
"https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve",
"https://www.ghostccamm.com/blog/multi_strapi_vulns/",
"https://github.com/advisories/GHSA-2h87-4q2w-v4hf"
],
"uuid": "d32058d3-9437-4722-8e45-0cd1ac428972"
},
{
"affected_range": "\u003e=3.0.0 \u003c4.5.6",
"affected_versions": "All versions starting from 3.0.0 before 4.5.6",
"cvss_v3": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"cwe_ids": [
"CWE-1035",
"CWE-74",
"CWE-937"
],
"date": "2023-05-01",
"description": "Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can be exploited to execute arbitrary code on the server. A remote attacker with access to the Strapi admin panel can inject a crafted payload that executes code on the server into an email template that bypasses the validation checks that should prevent code execution.",
"fixed_versions": [],
"identifier": "CVE-2023-22621",
"identifiers": [
"CVE-2023-22621"
],
"not_impacted": "",
"package_slug": "npm/strapi",
"pubdate": "2023-04-19",
"solution": "Unfortunately, there is no solution available yet.",
"title": "Improper Neutralization of Special Elements in Output Used by a Downstream Component (\u0027Injection\u0027)",
"urls": [
"https://nvd.nist.gov/vuln/detail/CVE-2023-22621",
"https://www.ghostccamm.com/blog/multi_strapi_vulns/",
"https://github.com/strapi/strapi/releases",
"https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve"
],
"uuid": "6018ab40-450c-4611-92e2-a6246b6d030d"
}
]
},
"nvd.nist.gov": {
"configurations": {
"CVE_data_version": "4.0",
"nodes": [
{
"children": [],
"cpe_match": [
{
"cpe23Uri": "cpe:2.3:a:strapi:strapi:*:*:*:*:*:*:*:*",
"cpe_name": [],
"versionEndExcluding": "4.5.6",
"versionStartIncluding": "3.0.0",
"vulnerable": true
}
],
"operator": "OR"
}
]
},
"cve": {
"CVE_data_meta": {
"ASSIGNER": "cve@mitre.org",
"ID": "CVE-2023-22621"
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "en",
"value": "Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can be exploited to execute arbitrary code on the server. A remote attacker with access to the Strapi admin panel can inject a crafted payload that executes code on the server into an email template that bypasses the validation checks that should prevent code execution."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "en",
"value": "CWE-74"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "https://www.ghostccamm.com/blog/multi_strapi_vulns/",
"refsource": "MISC",
"tags": [
"Exploit",
"Third Party Advisory"
],
"url": "https://www.ghostccamm.com/blog/multi_strapi_vulns/"
},
{
"name": "https://github.com/strapi/strapi/releases",
"refsource": "MISC",
"tags": [
"Release Notes"
],
"url": "https://github.com/strapi/strapi/releases"
},
{
"name": "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve",
"refsource": "MISC",
"tags": [
"Vendor Advisory"
],
"url": "https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve"
}
]
}
},
"impact": {
"baseMetricV3": {
"cvssV3": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 7.2,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "HIGH",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"exploitabilityScore": 1.2,
"impactScore": 5.9
}
},
"lastModifiedDate": "2023-05-01T18:09Z",
"publishedDate": "2023-04-19T16:15Z"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…