CVE-2024-2374
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe XML parsers within multiple WSO2 products accept user-supplied XML data without properly configuring to prevent the resolution of external entities. This omission allows malicious actors to craft XML payloads that exploit the parser's behavior, leading to the inclusion of external resources. By leveraging this vulnerability, an attacker can read confidential files from the file system and access limited HTTP resources reachable by the product. Additionally, the vulnerability can be exploited to perform denial of service attacks by exhausting server resources through recursive entity expansion or fetching large external resources.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThis is an XML External Entity (XXE) injection vulnerability in multiple WSO2 products. The XML parsers fail to disable external entity resolution, allowing attackers to craft malicious XML payloads that can read confidential files from the server, access internal HTTP resources, or cause denial of service through recursive entity expansion.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 3.1.0, < 3.1.0.278>= 3.2.0, < 3.2.0.368>= 4.0.0, < 4.0.0.280>= 4.1.0, < 4.1.0.206>= 4.2.0, < 4.2.0.144>= 4.3.0, < 4.3.0.57>= 5.10.0, < 5.10.0.300>= 5.11.0, < 5.11.0.329>= 6.0.0, < 6.0.0.179>= 6.1.0, < 6.1.0.136>= 5.10.0, < 5.10.0.296>= 2.0.0, < 2.0.0.328>= 2.0.0, < 2.0.0.348CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify the WSO2 product and versionLocate the version file or product info. In WSO2 products, the version is typically stored in a text file in the product root directory (commonly 'carbon.xml', 'product-info.xml', or a 'VERSION' file). Check the product's documentation for the exact location if uncertain.Affected if The installed version falls within any of the affected ranges listed in the CVE for that specific product.
-
Verify XML processing is enabledDetermine if the affected WSO2 product is configured to parse XML content. This includes API import functionality, SOAP API handling, XSLT transformations, or any feature that accepts XML input. Review product configurations for XML-enabled features.Affected if The product processes XML content from external sources without restricting external entity resolution.
-
Check XML parser configurationInspect the XML parser configuration files within the WSO2 product. Look for parser settings in configuration files (commonly in the 'conf' or 'repository/conf' directory). Verify whether the XML parsers are configured to disable external entities and DTD processing.Affected if The XML parser configuration does not explicitly disable external entity resolution (the parser allows XXE attacks).
-
Review deployed APIs and servicesExamine deployed APIs and services that accept XML-based requests. Focus on SOAP APIs, API import features using WSDL or WADL files, and any integration flows that involve XML transformation.Affected if There are active APIs or services that process XML payloads from untrusted sources without XXE protection.
-
Audit parser library settingsCheck the underlying XML parser library configuration. In WSO2 products, this may involve reviewing the jvm startup options or parser-specific configuration files. Verify whether the parser instances are created with security features enabled.Affected if The XML parser instances used by the application have external entity resolution enabled by default.
A user is affected if they are running any WSO2 product listed in the CVE within the specified version ranges AND that product processes XML content from external sources.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped2.0.0.3282.0.0.3483.1.0.278
Disable external entity resolution in all XML parsers used by affected WSO2 products by configuring the parser to reject DTDs and external entities, or by using a secure XML parser implementation that has XXE protection enabled by default.
Upgrade to the minimum fixed version for each product line (e.g., Api Manager 3.1.0.278, Identity Server 5.10.0.300, etc.)
- 1. Identify the exact WSO2 product and version currently deployed from the affected versions list
- 2. For Api Manager: upgrade to 3.1.0.278 (if currently on 3.1.x), 3.2.0.368 (if on 3.2.x), 4.0.0.280 (if on 4.0.x), or 4.1.0.206 (if on 4.1.x)
- 3. For Identity Server: upgrade to 5.10.0.300 (if on 5.10.x), 5.11.0.329 (if on 5.11.x), 6.0.0.179 (if on 6.0.x), or 6.1.0.136 (if on 6.1.x)
- 4. For Identity Server As Key Manager: upgrade to 5.10.0.296
- 5. For Open Banking Am: upgrade to 2.0.0.328
- 6. For Open Banking Iam: upgrade to 2.0.0.348
- 7. Test the upgrade in a non-production environment before deploying to production
- 8. Deploy the upgraded version to production environment
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing6.0 h
- Review / QA4.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $6,176.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2024-2374 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2024-2374 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data