2024-07-14 02:06:08 +00:00

136 lines
5.5 KiB
JSON

{
"id": "CVE-2023-42452",
"sourceIdentifier": "security-advisories@github.com",
"published": "2023-09-19T16:15:13.630",
"lastModified": "2023-09-22T17:12:47.737",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Mastodon is a free, open-source social network server based on ActivityPub. In versions on the 4.x branch prior to versions 4.0.10, 4.2.8, and 4.2.0-rc2, under certain conditions, attackers can abuse the translation feature to bypass the server-side HTML sanitization, allowing unescaped HTML to execute in the browser. The impact is limited thanks to Mastodon's strict Content Security Policy, blocking inline scripts, etc. However a CSP bypass or loophole could be exploited to execute malicious XSS. Furthermore, it requires user interaction, as this can only occur upon clicking the \u201cTranslate\u201d button on a malicious post. Versions 4.0.10, 4.2.8, and 4.2.0-rc2 contain a patch for this issue."
},
{
"lang": "es",
"value": "Mastodon es un servidor de red social gratuito y de c\u00f3digo abierto basado en ActivityPub. En las versiones de la rama 4.x anteriores a las versiones 4.0.10, 4.2.8 y 4.2.0-rc2, bajo ciertas condiciones, los atacantes pueden abusar de la funci\u00f3n de traducci\u00f3n para evitar la sanitizaci\u00f3n de HTML del lado del servidor, permitiendo que se ejecute HTML sin escape en el navegador. El impacto es limitado gracias a la estricta Pol\u00edtica de Seguridad de Contenido de Mastodon, el bloqueo de scripts en l\u00ednea, etc. Sin embargo, se podr\u00eda aprovechar una omisi\u00f3n o laguna del CSP para ejecutar XSS malicioso. Adem\u00e1s, requiere la interacci\u00f3n del usuario, ya que esto s\u00f3lo puede ocurrir al hacer clic en el bot\u00f3n \"Traducir\" en una publicaci\u00f3n maliciosa. Las versiones 4.0.10, 4.2.8 y 4.2.0-rc2 contienen un parche para este problema."
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "LOW",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 5.4,
"baseSeverity": "MEDIUM"
},
"exploitabilityScore": 2.3,
"impactScore": 2.7
},
{
"source": "security-advisories@github.com",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7
}
]
},
"weaknesses": [
{
"source": "security-advisories@github.com",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.0.0",
"versionEndExcluding": "4.0.10",
"matchCriteriaId": "98C89C5A-7235-4260-8656-CA90DB36CC96"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:joinmastodon:mastodon:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.1.0",
"versionEndExcluding": "4.1.8",
"matchCriteriaId": "E58F736C-6245-4EF4-AE4D-FB6AA20F0D7B"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:joinmastodon:mastodon:4.2.0:beta1:*:*:*:*:*:*",
"matchCriteriaId": "D76FF8DD-B11D-4119-9B4E-32CE8365A25B"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:joinmastodon:mastodon:4.2.0:beta2:*:*:*:*:*:*",
"matchCriteriaId": "19DC8A22-E8EF-4FAB-B60E-64FE54AE0968"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:joinmastodon:mastodon:4.2.0:beta3:*:*:*:*:*:*",
"matchCriteriaId": "1406EB6A-186B-4A9C-95F6-5EC509867C3C"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:a:joinmastodon:mastodon:4.2.0:rc1:*:*:*:*:*:*",
"matchCriteriaId": "089015EE-D7E4-4370-B1ED-52283B06FF0A"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/mastodon/mastodon/commit/ff32475f5f4a84ebf9619e7eef5bf8b4c075d0e2",
"source": "security-advisories@github.com",
"tags": [
"Patch"
]
},
{
"url": "https://github.com/mastodon/mastodon/security/advisories/GHSA-2693-xr3m-jhqr",
"source": "security-advisories@github.com",
"tags": [
"Vendor Advisory"
]
}
]
}