118 lines
4.8 KiB
JSON
Raw Normal View History

{
"id": "CVE-2024-41658",
"sourceIdentifier": "security-advisories@github.com",
"published": "2024-08-20T21:15:13.910",
"lastModified": "2024-08-28T16:08:31.743",
"vulnStatus": "Analyzed",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Casdoor is a UI-first Identity and Access Management (IAM) / Single-Sign-On (SSO) platform. In Casdoor 1.577.0 and earlier, he purchase URL that is created to generate a WechatPay QR code is vulnerable to reflected XSS. When purchasing an item through casdoor, the product page allows you to pay via wechat pay. When using wechat pay, a QR code with the wechat pay link is displayed on the payment page, hosted on the domain of casdoor. This page takes a query parameter from the url successUrl, and redirects the user to that url after a successful purchase. Because the user has no reason to think that the payment page contains sensitive information, they may share it with other or can be social engineered into sending it to others. An attacker can then craft the casdoor link with a special url and send it back to the user, and once payment has gone though an XSS attack occurs."
},
{
"lang": "es",
"value": "Casdoor es una plataforma de gesti\u00f3n de acceso e identidad (IAM)/inicio de sesi\u00f3n \u00fanico (SSO) basada en la interfaz de usuario. En Casdoor 1.577.0 y versiones anteriores, la URL de compra creada para generar un c\u00f3digo QR de WechatPay es vulnerable al XSS reflejado. Al comprar un art\u00edculo a trav\u00e9s de casdoor, la p\u00e1gina del producto le permite pagar mediante wechat pay. Cuando se utiliza wechat pay, se muestra un c\u00f3digo QR con el enlace de wechat pay en la p\u00e1gina de pago, alojada en el dominio de casdoor. Esta p\u00e1gina toma un par\u00e1metro de consulta de la URL SuccessUrl y redirige al usuario a esa URL despu\u00e9s de una compra exitosa. Debido a que el usuario no tiene motivos para pensar que la p\u00e1gina de pago contiene informaci\u00f3n confidencial, puede compartirla con otros o puede sufrir ingenier\u00eda social para enviarla a otros. Luego, un atacante puede crear el enlace casdoor con una URL especial y envi\u00e1rselo de vuelta al usuario, y una vez que se haya realizado el pago, se produce un ataque XSS."
}
],
"metrics": {
"cvssMetricV31": [
{
"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",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7
},
{
"source": "nvd@nist.gov",
"type": "Primary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "REQUIRED",
"scope": "CHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.8,
"impactScore": 2.7
}
]
},
"weaknesses": [
{
"source": "security-advisories@github.com",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
},
{
"source": "nvd@nist.gov",
"type": "Primary",
"description": [
{
"lang": "en",
"value": "CWE-79"
}
]
}
],
"configurations": [
{
"nodes": [
{
"operator": "OR",
"negate": false,
"cpeMatch": [
{
"vulnerable": true,
"criteria": "cpe:2.3:a:casbin:casdoor:*:*:*:*:*:*:*:*",
"matchCriteriaId": "F1B75F3C-3552-48E9-87F8-B34056AA5A5E"
}
]
}
]
}
],
"references": [
{
"url": "https://github.com/casdoor/casdoor/blob/v1.577.0/web/src/QrCodePage.js",
"source": "security-advisories@github.com",
"tags": [
"Product"
]
},
{
"url": "https://securitylab.github.com/advisories/GHSL-2024-035_GHSL-2024-036_casdoor/",
"source": "security-advisories@github.com",
"tags": [
"Exploit",
"Third Party Advisory"
]
}
]
}