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-3125: CWE-434 Unrestricted Upload of File with Dangerous Type in WSO2 WSO2 Identity Server

0
Medium
VulnerabilityCVE-2025-3125cvecve-2025-3125cwe-434
Published: Wed Nov 05 2025 (11/05/2025, 14:49:44 UTC)
Source: CVE Database V5
Vendor/Project: WSO2
Product: WSO2 Identity Server

Description

An arbitrary file upload vulnerability exists in multiple WSO2 products due to improper input validation in the CarbonAppUploader admin service endpoint. An authenticated attacker with appropriate privileges can upload a malicious file to a user-controlled location on the server, potentially leading to remote code execution (RCE). This functionality is restricted by default to admin users; therefore, successful exploitation requires valid credentials with administrative permissions.

AI-Powered Analysis

AILast updated: 11/05/2025, 15:23:59 UTC

Technical Analysis

CVE-2025-3125 is a vulnerability classified under CWE-434 (Unrestricted Upload of File with Dangerous Type) affecting multiple versions of WSO2 Identity Server (5.10.0 through 7.1.0). The root cause is insufficient input validation in the CarbonAppUploader admin service endpoint, which is responsible for uploading Carbon applications. This flaw allows an authenticated attacker with administrative privileges to upload arbitrary files to locations controlled by the user on the server. Because the uploaded files can be crafted maliciously, this can lead to remote code execution (RCE) on the affected server. The vulnerability is restricted to admin users, which limits the attack surface but does not eliminate risk, especially if admin credentials are compromised or misused. The CVSS 3.1 base score of 6.7 reflects a network attack vector with low complexity, requiring high privileges but no user interaction, and resulting in high confidentiality and integrity impact with low availability impact. No public exploits or active exploitation have been reported to date. The vulnerability affects a widely used identity and access management product, which is critical in enterprise environments for authentication and authorization services. The lack of patch links in the provided data suggests that organizations should monitor WSO2 advisories closely for updates or mitigations.

Potential Impact

For European organizations, the impact of CVE-2025-3125 can be significant due to the critical role WSO2 Identity Server plays in managing authentication and authorization. Successful exploitation could allow attackers to execute arbitrary code on identity servers, potentially leading to full system compromise, unauthorized access to sensitive data, and disruption of identity services. This could cascade into broader network compromise, data breaches, and regulatory non-compliance, especially under GDPR. The requirement for administrative privileges reduces the likelihood of exploitation but raises concerns about insider threats or credential theft. Organizations in sectors such as finance, government, healthcare, and telecommunications, which rely heavily on identity management solutions, face heightened risks. The medium severity rating indicates that while the vulnerability is serious, it is not trivially exploitable without privileged access, allowing time for mitigation if addressed promptly.

Mitigation Recommendations

European organizations should implement the following specific mitigations: 1) Immediately audit and restrict administrative access to the WSO2 Identity Server, enforcing least privilege and strong authentication mechanisms such as multi-factor authentication (MFA). 2) Monitor and review logs for any suspicious file upload activities via the CarbonAppUploader endpoint. 3) Apply any available patches or updates from WSO2 as soon as they are released; if patches are not yet available, consider temporary workarounds such as disabling or restricting access to the vulnerable admin service endpoint. 4) Conduct regular credential hygiene and rotate admin credentials to reduce the risk of credential compromise. 5) Employ network segmentation to isolate identity servers from less trusted network zones, limiting lateral movement in case of compromise. 6) Implement file integrity monitoring on directories where uploads occur to detect unauthorized changes. 7) Educate administrators about the risks of this vulnerability and the importance of safeguarding their credentials. 8) Engage in threat hunting to proactively detect any signs of exploitation attempts.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.2
Assigner Short Name
WSO2
Date Reserved
2025-04-02T15:12:12.137Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 690b6825eb4434bb4f92e00b

Added to database: 11/5/2025, 3:07:17 PM

Last enriched: 11/5/2025, 3:23:59 PM

Last updated: 11/5/2025, 4:42:14 PM

Views: 3

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