CVE-2016-5002: Apache XML-RPC XXE Vulnerability

org.apache.xmlrpc:xmlrpc Updated 02 Oct 2025

Summary

14/05/2022
No i
High
7.8

CVE-2016-5002: Apache XML-RPC XXE Vulnerability. Affects org.apache.xmlrpc:xmlrpc versions < 3.1.3. No fix is published. 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

The Apache XML-RPC library (ws-xmlrpc) version 3.1.3 is an open-source library used in Apache Archiva. It provides functionality for XML-RPC communication. XML-RPC is a remote procedure call (RPC) protocol encoded in XML. It allows clients to make method calls to a server using HTTP as the transport mechanism. The library is widely used in various applications and systems that require remote communication. However, version 3.1.3 of the library is vulnerable to an XML external entity (XXE) vulnerability.

Vulnerability Detail

The XML external entity (XXE) vulnerability in Apache XML-RPC 3.1.3 allows remote attackers to conduct server-side request forgery (SSRF) attacks by exploiting a crafted Document Type Definition (DTD). This vulnerability enables an attacker to read arbitrary files on the server or perform actions on behalf of the server. By sending specially crafted XML requests, an attacker can abuse this vulnerability to bypass security restrictions and access sensitive information or perform unauthorized actions.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, as a general best practice, it is recommended to implement input validation and sanitization techniques to prevent XXE attacks. Additionally, restricting access to sensitive files and directories can help mitigate the impact of this vulnerability.

Conclusion

The Apache XML-RPC library version 3.1.3 is vulnerable to an XML external entity (XXE) vulnerability, which can be exploited for server-side request forgery (SSRF) attacks. To mitigate this vulnerability, it is recommended to upgrade the library to a non-vulnerable version and implement input validation and sanitization techniques. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.xmlrpc:xmlrpc →

Share this vulnerability

FAQ

An XML external entity (XXE) vulnerability is a type of security vulnerability that allows an attacker to read arbitrary files or perform actions on behalf of the server by exploiting the processing of external entities in XML input.

Server-side request forgery (SSRF) is a type of vulnerability that allows an attacker to make requests from the server to other internal or external resources. In the context of this vulnerability, an attacker can use SSRF to access sensitive information or perform unauthorized actions.

You can use Vulert's playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities using just the pom.xml file.

The CVSS score of this vulnerability is 7.8, indicating a high severity level.

There may be known exploits for this vulnerability. It is crucial to address this vulnerability promptly by upgrading the Apache XML-RPC library to a non-vulnerable version.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.xmlrpc:xmlrpc.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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