CVE-2014-0034: Improper Input Validation in Apache CXF

Summary

13/05/2022
Yes i
Moderate
Not published

CVE-2014-0034: Improper Input Validation in Apache CXF. Affects org.apache.cxf:cxf-rt-ws-security across 2 version ranges.

< 2.6.12 >= 2.7.0, < 2.7.9

Fixed in 2.6.12 or 2.7.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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Apache CXF is an open-source web services framework that provides a comprehensive set of tools and libraries for developing SOAP-based and RESTful web services. It is widely used in Java applications to enable communication between different systems. The 'org.apache.cxf:cxf-rt-ws-security' package is a part of Apache CXF and is responsible for handling web service security features, such as authentication and encryption. This package is vulnerable to an improper input validation issue.

Vulnerability Detail

The SecurityTokenService (STS) component in Apache CXF versions before 2.6.12 and 2.7.x before 2.7.9 does not properly validate SAML tokens when caching is enabled. This vulnerability allows remote attackers to gain unauthorized access by using an invalid SAML token. The lack of proper validation allows attackers to bypass authentication mechanisms and potentially perform unauthorized actions within the affected system. This vulnerability has a moderate severity rating and is classified under CWE-20 (Improper Input Validation).

How To Fix

Fixed versions by release line

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

  • < 2.6.12 2.6.12
  • >= 2.7.0, < 2.7.9 2.7.9

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

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the fix by upgrading the 'org.apache.cxf:cxf-rt-ws-security' package to a fixed version.

Conclusion

The 'org.apache.cxf:cxf-rt-ws-security' package in Apache CXF is vulnerable to an improper input validation issue, which can lead to unauthorized access. To mitigate this vulnerability, it is crucial to upgrade to a fixed version of the package. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.cxf:cxf-rt-ws-security →

Share this vulnerability

FAQ

Apache CXF is an open-source web services framework that provides tools and libraries for developing SOAP-based and RESTful web services in Java.

The 'org.apache.cxf:cxf-rt-ws-security' package is a part of Apache CXF and is responsible for handling web service security features, such as authentication and encryption.

The SecurityTokenService (STS) component is a part of Apache CXF that handles the issuance, validation, and management of security tokens, such as SAML tokens.

A SAML token is an XML-based security token that contains assertions about the authentication and authorization of a user.

This vulnerability allows remote attackers to gain unauthorized access to the affected system by using an invalid SAML token. They can potentially bypass authentication mechanisms and perform unauthorized actions.

How To Fix

Fixed versions by release line

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

  • < 2.6.12 2.6.12
  • >= 2.7.0, < 2.7.9 2.7.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