Apache Syncope: Stored XSS in Console and Enduser
Date: 2024-10
Affected: maven/org.apache.syncope.client:syncope-client-console
Attack vector: xss
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2024-38503
CVE-2024-45031
CWE: CWE-20
CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

When editing objects in the Syncope Console, incomplete HTML tags could be used to bypass HTML sanitization. This made it possible to inject stored XSS payloads which would trigger for other users during ordinary usage of the application. XSS payloads could also be injected in Syncope Enduser when editing “Personal Information” or “User Requests”: such payloads would trigger for administrators in Syncope Console, thus enabling session hijacking. Users are recommended to upgrade to version 3.0.9, which fixes this issue.


Mitigations:

Architectural layers (MAESTRO):