CVE-2010-2076: Improper Input Validation in Apache CXF

Summary

13/05/2022
Yes i
High
Not published

CVE-2010-2076: Improper Input Validation in Apache CXF. Affects org.apache.cxf:cxf-rt-frontend-jaxrs across 3 version ranges.

>= 2.0.0, < 2.0.13 >= 2.1.0, < 2.1.10 >= 2.2.0, < 2.2.9

Fixed in 2.0.13, 2.1.10 or 2.2.9, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Apache CXF is a popular open-source web services framework that allows developers to build and deploy web services using various protocols and data formats. It is widely used in projects such as Apache ServiceMix, Apache Camel, Apache Chemistry, Apache jUDDI, and Apache Geronimo. The vulnerability identified as CVE-2010-2076 affects versions 2.0.x to 2.0.13, 2.1.x to 2.1.10, and 2.2.x to 2.2.9 of Apache CXF. This vulnerability allows remote attackers to exploit improper input validation in SOAP messages, leading to various security issues.

Vulnerability Detail

The vulnerability in Apache CXF arises from its failure to properly reject Document Type Definitions (DTDs) in SOAP messages. This allows attackers to perform several malicious activities, including:

  1. Reading arbitrary files: By crafting a SOAP message with a malicious DTD, an attacker can read sensitive files on the server.
  2. Sending HTTP requests to intranet servers: An attacker can use a crafted DTD to send HTTP requests to internal servers, potentially accessing sensitive information or performing unauthorized actions.
  3. Denial of service (CPU and memory consumption): By exploiting the vulnerability, an attacker can cause excessive CPU and memory usage on the server, leading to a denial of service condition.

This vulnerability is similar to CVE-2010-1632.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.0.0, < 2.0.13 2.0.13
  • >= 2.1.0, < 2.1.10 2.1.10
  • >= 2.2.0, < 2.2.9 2.2.9

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

As a workaround, users can disable the processing of DTDs in SOAP messages. This can be achieved by configuring the XML parser used by Apache CXF to disallow DTDs. The specific steps to disable DTD processing may vary depending on the XML parser being used. Consult the documentation of the XML parser for instructions on how to disable DTD processing.

Conclusion

The vulnerability in Apache CXF can lead to serious security issues, including unauthorized access to sensitive files, unauthorized actions on internal servers, and denial of service. It is crucial to upgrade to a fixed version of Apache CXF or apply the recommended workaround to mitigate the risk. For further support on vulnerability remediation, contact DevNack.com.

See every vulnerability recorded for org.apache.cxf:cxf-rt-frontend-jaxrs →

Share this vulnerability

FAQ

Apache CXF is an open-source web services framework that allows developers to build and deploy web services using various protocols and data formats.

Versions 2.0.x to 2.0.13, 2.1.x to 2.1.10, and 2.2.x to 2.2.9 of Apache CXF are affected by this vulnerability.

By exploiting this vulnerability, an attacker can read arbitrary files, send HTTP requests to intranet servers, or cause a denial of service by consuming excessive CPU and memory resources.

Yes, users can disable the processing of DTDs in SOAP messages as a workaround. This can be done by configuring the XML parser used by Apache CXF to disallow DTDs.

To fix this vulnerability, it is recommended to upgrade to a fixed version of Apache CXF. Refer to the official documentation for the specific version to upgrade to.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.cxf:cxf-rt-frontend-jaxrs.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • >= 2.0.0, < 2.0.13 2.0.13
  • >= 2.1.0, < 2.1.10 2.1.10
  • >= 2.2.0, < 2.2.9 2.2.9

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback