Security Advisory WSO2-2023-3084/CVE-2024-4457

Published: 2025-03-18

Updated: 2025-03-18

Version: 1.0.0

Severity: Medium

CVSS Score: 6.4 (CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H)


AFFECTED PRODUCTS

  • WSO2 API Manager 4.3.0, 4.2.0, 4.1.0, 4.0.0, 3.2.1, 3.2.0
  • WSO2 Enterprise Integrator 6.6.0
  • WSO2 Identity Server 7.0.0, 6.1.0, 6.0.0, 5.11.0, 5.10.0
  • WSO2 Identity Server as Key Manager 5.10.0
  • WSO2 Open Banking AM 2.0.0
  • WSO2 Open Banking IAM 2.0.0

OVERVIEW

A Remote Code Execution vulnerability in the Management Console.

DESCRIPTION

Due to the improper input validation, a remote code execution attack could be carried out via certain admin operations which requires configuring a 'JDBC user store'.

IMPACT

In order to exploit this vulnerability, the malicious actor should have a valid user account which has administrative access to the Management Console and should be able to reach it (WSO2 Security Guidelines for Production Deployment [1] recommends not to publicly expose the Management Console). If such access could be obtained, a malicious actor could execute arbitrary code on the server running the H2 database engine. Execution will occur with the permissions assigned to the user running the H2 database engine. In the case of the H2 database instance embedded in WSO2 products, this is the user running the WSO2 product.

[1] https://security.docs.wso2.com/en/latest/security-guidelines/security-guidelines-for-production-deployment/

SOLUTION

Community Users (Open Source)

Apply the relevant fixes to your product using the public fix(es) provided below.

If applying the fix or update is not feasible, migrate to the latest unaffected version of the respective WSO2 product(s).

Support Subscription Holders

Update your product to the specified update level—or a higher update level—to apply the fix.

Info

WSO2 Support Subscription Holders may use WSO2 Updates in order to apply the fix.

Product Version U2 Update Level
WSO2 API Manager 4.3.0 21
WSO2 API Manager 4.2.0 107
WSO2 API Manager 4.1.0 170
WSO2 API Manager 4.0.0 308
WSO2 API Manager 3.2.1 19
WSO2 API Manager 3.2.0 365
WSO2 Enterprise Integrator 6.6.0 204
WSO2 Identity Server 7.0.0 15
WSO2 Identity Server 6.1.0 148
WSO2 Identity Server 6.0.0 188
WSO2 Identity Server 5.11.0 336
WSO2 Identity Server 5.10.0 296
WSO2 Identity Server as Key Manager 5.10.0 292
WSO2 Open Banking AM 2.0.0 325
WSO2 Open Banking IAM 2.0.0 345

CREDITS

WSO2 thanks, Dawid Małecki for responsibly reporting the identified issue and working with us as we addressed it.