CVE-2025-57738
nicheGroovy Code Injection RCE in Apache Syncope Core
Apache Syncope allows administrators to extend the product with custom Java or Groovy implementations of internal interfaces, but the Groovy path lacked proper isolation, letting injected code run outside a sandbox. A malicious or compromised Syncope administrator can inject Groovy code that is executed remotely by a running Syncope Core instance on the deployment's server. Because the code executes with the privileges of the Syncope Core process, an attacker with administrator access can escalate to arbitrary code execution on the underlying host, with high impact to confidentiality, integrity, and availability (CVSS 7.2). Deployments running the 3.0.x line before 3.0.14 or the 4.0.x line before 4.0.2 are affected. No public proof-of-concept or confirmed in-the-wild exploitation is known, though EPSS assigns a 23.1% probability of exploitation within 30 days.
What to do: Upgrade to Apache Syncope 3.0.14 (3.0.x) or 4.0.2 (4.0.x), which force Groovy code to run in a sandbox. Until patched, restrict and audit administrator access and review any custom Groovy implementations configured in your deployment, since they are the injection path. Verify your running Syncope version and branch, as only the 3.0.x and 4.0.x lines receive these fixed releases.
| Apache Syncope (Core) | versions before 3.0.14 (3.0.x line) and before 4.0.2 (4.0.x line) |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Apache Syncope offers the ability to extend / customize the base behavior on every deployment by allowing to provide custom implementations of a few Java interfaces; such implementations can be provided either as Java or Groovy classes, with the latter being particularly attractive as the machinery is set for runtime reload. Such a feature has been available for a while, but recently it was discovered that a malicious administrator can inject Groovy code that can be executed remotely by a running Apache Syncope Core instance. Users are recommended to upgrade to version 3.0.14 / 4.0.2, which fix this issue by forcing the Groovy code to run in a sandbox.
- Vendors
- apache
- Products
- syncope
- Weakness
- CWE-653
- Vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H