Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-5717: CWE-94 Improper Control of Generation of Code ('Code Injection') in WSO2 WSO2 API Manager

0
Medium
VulnerabilityCVE-2025-5717cvecve-2025-5717cwe-94
Published: Tue Sep 23 2025 (09/23/2025, 16:05:19 UTC)
Source: CVE Database V5
Vendor/Project: WSO2
Product: WSO2 API Manager

Description

An authenticated remote code execution (RCE) vulnerability exists in multiple WSO2 products due to improper input validation in the event processor admin service. A user with administrative access to the SOAP admin services can exploit this flaw by deploying a Siddhi execution plan containing malicious Java code, resulting in arbitrary code execution on the server. Exploitation of this vulnerability requires a valid user account with administrative privileges, limiting the attack surface to authenticated but potentially malicious users.

AI-Powered Analysis

AILast updated: 10/31/2025, 16:00:18 UTC

Technical Analysis

CVE-2025-5717 is a vulnerability classified under CWE-94 (Improper Control of Generation of Code), affecting multiple versions of WSO2 API Manager from 3.0.0 to 4.5.0. The flaw exists in the event processor admin service, which accepts Siddhi execution plans for event processing. Due to insufficient input validation, an authenticated user with administrative privileges can craft and deploy a Siddhi execution plan embedding malicious Java code. This leads to remote code execution (RCE) on the server hosting the API Manager. The vulnerability requires authentication with high privileges but does not require user interaction, making it exploitable by insiders or compromised admin accounts. The CVSS 3.1 score of 6.8 reflects a medium severity with high impact on confidentiality, integrity, and availability, and low attack complexity. No public exploits or patches have been published yet, increasing the urgency for organizations to monitor updates and apply mitigations proactively. The vulnerability could allow attackers to execute arbitrary commands, potentially leading to full system compromise, data exfiltration, or disruption of API services.

Potential Impact

For European organizations, this vulnerability poses a significant risk especially for those relying on WSO2 API Manager for critical API gateway and management functions. Successful exploitation could lead to unauthorized access to sensitive data, manipulation or disruption of API services, and potential lateral movement within internal networks. This could impact confidentiality, integrity, and availability of enterprise systems and data. Organizations in sectors such as finance, telecommunications, healthcare, and government, which often use API management platforms extensively, may face operational disruptions and regulatory compliance issues. The requirement for administrative access limits the attack surface but also highlights the importance of securing privileged accounts. If exploited, attackers could deploy backdoors, exfiltrate data, or disrupt business-critical APIs, affecting service continuity and trust.

Mitigation Recommendations

1. Restrict administrative access to the WSO2 API Manager’s SOAP admin services strictly to trusted personnel and systems. 2. Implement strong multi-factor authentication (MFA) for all administrative accounts to reduce risk of credential compromise. 3. Monitor and audit all administrative actions and deployments of Siddhi execution plans for suspicious activity. 4. Apply the latest security patches and updates from WSO2 as soon as they become available. 5. Employ network segmentation to isolate API management infrastructure from broader enterprise networks. 6. Use application-layer firewalls or API gateways with anomaly detection to identify and block malicious payloads. 7. Conduct regular security reviews of Siddhi execution plans and restrict the ability to deploy or modify them to minimal necessary personnel. 8. Prepare incident response plans specifically addressing potential API management compromise scenarios.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
WSO2
Date Reserved
2025-06-05T06:06:53.039Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 68d336ae712f26b964ce8ef7

Added to database: 9/24/2025, 12:09:18 AM

Last enriched: 10/31/2025, 4:00:18 PM

Last updated: 11/7/2025, 3:07:38 PM

Views: 56

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats