WSO2 Enterprise Integrator: Improper Neutralization of Special Elements used in an OS Command
CVE-2024-4457 is a critical-severity improper neutralization of special elements used in an OS command vulnerability in WSO2 Enterprise Integrator from WSO2, with a CVSS 3.1 base score of 9.1 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 6.6.0.204 as the first without the flaw, so updating WSO2 Enterprise Integrator to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.42% chance of exploitation within 30 days, which is low compared with other CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Update WSO2 Enterprise Integrator to 6.6.0.204 or a later version.
- Update WSO2 API Manager to 3.1.0.275 or 3.2.0.365 or 3.2.1.19 or 4.0.0.308, whichever matches your release line, or a later version.
- Update WSO2 Open Banking AM to 2.0.0.325 or a later version.
- Read the advisory on security.docs.wso2.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| WSO2 | WSO2 Enterprise Integrator | 6.6.0 up to, but not including, 6.6.0.204 | 6.6.0.204 |
| WSO2 | WSO2 API Manager | 3.1.0 up to, but not including, 3.1.0.275; 3.2.0 up to, but not including, 3.2.0.365; 3.2.1 up to, but not including, 3.2.1.19; 4.0.0 up to, but not including, 4.0.0.308; 4.1.0 up to, but not including, 4.1.0.170; 4.2.0 up to, but not including, 4.2.0.107; 4.3.0 up to, but not including, 4.3.0.21 | 3.1.0.275, 3.2.0.365, 3.2.1.19, 4.0.0.308, 4.1.0.170, 4.2.0.107 |
| WSO2 | WSO2 Open Banking AM | 2.0.0 up to, but not including, 2.0.0.325 | 2.0.0.325 |
| WSO2 | WSO2 Open Banking IAM | 2.0.0 up to, but not including, 2.0.0.345 | 2.0.0.345 |
| WSO2 | WSO2 Identity Server as Key Manager | 5.10.0 up to, but not including, 5.10.0.292 | 5.10.0.292 |
| WSO2 | WSO2 Identity Server | 5.10.0 up to, but not including, 5.10.0.296; 5.11.0 up to, but not including, 5.11.0.336; 6.0.0 up to, but not including, 6.0.0.188; 6.1.0 up to, but not including, 6.1.0.148; 7.0.0 up to, but not including, 7.0.0.15 | 5.10.0.296, 5.11.0.336, 6.0.0.188, 6.1.0.148, 7.0.0.15 |
| WSO2 | WSO2 Carbon User Manager Kernel | 4.5.0 up to, but not including, 4.5.0.4; 4.5.3 up to, but not including, 4.5.3.34; 4.6.0 up to, but not including, 4.6.0.141; 4.6.1 up to, but not including, 4.6.1.108; 4.6.2 up to, but not including, 4.6.2.610; 4.6.3 up to, but not including, 4.6.3.23; 4.6.4 up to, but not including, 4.6.4.5; 4.7.1 up to, but not including, 4.7.1.51; and 4 more ranges | 4.5.0.4, 4.5.3.34, 4.6.0.141, 4.6.1.108, 4.6.2.610, 4.6.3.23 |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- NoneAvailability is not affected.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N. Scored by CISA (ADP).
Official description
The Management Console fails to properly validate input related to the configuration of JDBC user stores. This weakness allows an attacker to supply specially crafted input that can lead to the execution of arbitrary code on the affected server. Successful exploitation of this vulnerability enables an attacker to execute arbitrary code on the server with the privileges of the WSO2 product. This could lead to a full compromise of the system.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Improper Neutralization of Special Elements used in an OS Command
The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command before it is sent to a downstream component.
How developers prevent this class of flaw
- If at all possible, use library calls rather than external processes to recreate the desired functionality.
- For any data that will be used to generate a command to be executed, keep as much of that data out of external control as possible. For example, in web applications, this may require storing the data locally in the session's state instead of sending it out to the client in a hidden form field.
- For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.
More Improper Neutralization of Special Elements used in an OS Command vulnerabilities (CWE-78)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Advisories
Patches and release notes
Other vulnerabilities in WSO2 Enterprise Integrator
- 7.5 High severity
- 8.8 High severity
- 7.2 High severity
- 7.2 High severity
- 9.1 Critical severity
- 7.2 High severity
Recent Improper Neutralization of Special Elements used in an OS Command vulnerabilities
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
- 9.0 Critical severity
- 8.8 High severity
- 7.2 High severity
Spotted an error? Tell us.