Search criteria
1 vulnerability by zusam
CVE-2024-51492 (GCVE-0-2024-51492)
Vulnerability from cvelistv5 – Published: 2024-11-01 16:22 – Updated: 2024-11-01 20:18
VLAI?
Title
Zusam vulnerable to stored XSS, allowing token theft via crafted SVG
Summary
Zusam is a free and open-source way to self-host private forums. Prior to version 0.5.6, specially crafted SVG files uploaded to the service as images allow for unrestricted script execution on (raw) image load. With certain payloads, theft of the target user’s long-lived session token is possible. Note that Zusam, at the time of writing, uses a user’s static API key as a long-lived session token, and these terms can be used interchangeably on the platform. This session token/API key remains valid indefinitely, so long as the user doesn’t expressly request a new one via their Settings page. Version 0.5.6 fixes the cross-site scripting vulnerability.
Severity ?
8.8 (High)
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
4 references
| URL | Tags |
|---|---|
| https://github.com/zusam/zusam/security/advisorie… | x_refsource_CONFIRM |
| https://github.com/zusam/zusam/commit/5930fdf86fa… | x_refsource_MISC |
| https://github.com/zusam/zusam/releases/tag/0.5.6 | x_refsource_MISC |
| https://pfeister.dev/CVE-2024-51492 | x_refsource_MISC |
{
"containers": {
"adp": [
{
"affected": [
{
"cpes": [
"cpe:2.3:a:zusam:zusam:*:*:*:*:*:*:*:*"
],
"defaultStatus": "unknown",
"product": "zusam",
"vendor": "zusam",
"versions": [
{
"lessThan": "0.5.6",
"status": "affected",
"version": "0",
"versionType": "custom"
}
]
}
],
"metrics": [
{
"other": {
"content": {
"id": "CVE-2024-51492",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-11-01T17:26:05.835349Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-11-01T17:27:22.183Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"product": "zusam",
"vendor": "zusam",
"versions": [
{
"status": "affected",
"version": "\u003c 0.5.6"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Zusam is a free and open-source way to self-host private forums. Prior to version 0.5.6, specially crafted SVG files uploaded to the service as images allow for unrestricted script execution on (raw) image load. With certain payloads, theft of the target user\u2019s long-lived session token is possible. Note that Zusam, at the time of writing, uses a user\u2019s static API key as a long-lived session token, and these terms can be used interchangeably on the platform. This session token/API key remains valid indefinitely, so long as the user doesn\u2019t expressly request a new one via their Settings page. Version 0.5.6 fixes the cross-site scripting vulnerability."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "LOW",
"baseScore": 8.8,
"baseSeverity": "HIGH",
"confidentialityImpact": "HIGH",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:L",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2024-11-01T20:18:15.274Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/zusam/zusam/security/advisories/GHSA-96fx-5rqv-jfxh",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/zusam/zusam/security/advisories/GHSA-96fx-5rqv-jfxh"
},
{
"name": "https://github.com/zusam/zusam/commit/5930fdf86fa4abed01f0b345c8ec3c443656db9a",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/zusam/zusam/commit/5930fdf86fa4abed01f0b345c8ec3c443656db9a"
},
{
"name": "https://github.com/zusam/zusam/releases/tag/0.5.6",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/zusam/zusam/releases/tag/0.5.6"
},
{
"name": "https://pfeister.dev/CVE-2024-51492",
"tags": [
"x_refsource_MISC"
],
"url": "https://pfeister.dev/CVE-2024-51492"
}
],
"source": {
"advisory": "GHSA-96fx-5rqv-jfxh",
"discovery": "UNKNOWN"
},
"title": "Zusam vulnerable to stored XSS, allowing token theft via crafted SVG"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2024-51492",
"datePublished": "2024-11-01T16:22:46.645Z",
"dateReserved": "2024-10-28T14:20:59.337Z",
"dateUpdated": "2024-11-01T20:18:15.274Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}