RCE in Apereo Cas
CVE-2025-3984
A vulnerability was found in Apereo CAS 5.2.6 and classified as critical. Affected by this issue is the function saveService of the file cas-5.2.6\webapp-mgmt\cas-management-webapp-support\src\main\java\org\apereo\cas\mgmt\services\web\RegisteredServiceSimpleFormController.java of the component Groovy Code Handler. The manipulation leads to code injection. The attack may be launched remotely. The complexity of an attack is rather high. The exploitation is known to be difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS 0.005, 42.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Apereo Cas — versions 5.2.6
- Apereo Central Authentication Service — versions 5.2.6
Weakness classification (CWE)
References
- VDB-306320 | Apereo CAS Groovy Code RegisteredServiceSimpleFormController.java saveService code injection (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-306320 | CTI Indicators (IOB, IOC, TTP, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #557100 | Apereo CAS v5.2.6 Remote Arbitrary Code Execution (Third Party Advisory, VDB Entry, third-party-advisory)
- wx.mail.qq.com/s (exploit, Not Applicable)