Description
A Server-Side Template Injection was identified in Apache Syncope prior to 2.1.6 enabling attackers to inject arbitrary Java EL expressions, leading to an unauthenticated Remote Code Execution (RCE) vulnerability. Apache Syncope uses Java Bean Validation (JSR 380) custom constraint validators. When building custom constraint violation error messages, they support different types of interpolation, including Java EL expressions. Therefore, if an attacker can inject arbitrary data in the error message template being passed, they will be able to run arbitrary Java code.
Remediation
References
http://syncope.apache.org/security
Related Vulnerabilities
CVE-2022-31160 Vulnerability in maven package org.webjars.bowergithub.jquery:jquery-ui
CVE-2015-3253 Vulnerability in maven package org.codehaus.groovy:groovy
CVE-2019-10476 Vulnerability in maven package org.jenkins-ci.plugins:zulip
CVE-2013-0239 Vulnerability in maven package org.apache.cxf:cxf-rt-ws-security
CVE-2021-31409 Vulnerability in maven package com.vaadin:vaadin-compatibility-server