CVE-2017-14868: XXE vulnerability in Restlet Framework

Summary

17/10/2018
Yes i
High
7.5

CVE-2017-14868: Restlet Framework Ja-rs extension is vulnerable to XXE when using SimpleXMLProvider. Affects org.restlet.jse:org.restlet.ext.jaxrs versions < 2.3.11. Fixed in 2.3.11. 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 Restlet Framework is a popular Java-based framework for building RESTful web services. It provides a set of APIs and tools to simplify the development of RESTful applications. The framework includes various extensions, including the Jax-rs extension, which allows developers to build RESTful APIs using the JAX-RS specification. One of the components used in the framework is the SimpleXMLProvider, which is responsible for handling XML data in REST API requests and responses.

Vulnerability Detail

The Restlet Framework, when using the SimpleXMLProvider, is vulnerable to an XML External Entity (XXE) attack. This vulnerability allows remote attackers to access arbitrary files on the server by sending a specially crafted XML payload in a REST API HTTP request. By exploiting this vulnerability, an attacker can read sensitive files, such as configuration files or database credentials, potentially leading to further compromise of the system. The vulnerability affects versions of the Restlet Framework before 2.3.11.

How To Fix

Minimum fixed version

2.3.11

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

A possible workaround for this vulnerability is to disable the use of the SimpleXMLProvider in the Restlet Framework configuration. This can be done by removing or commenting out the corresponding configuration entry in the project's configuration file. However, this workaround may impact the functionality of the application if it relies on XML data processing. It is recommended to consult the Restlet Framework documentation or seek assistance from the development team to determine the best course of action.

Conclusion

The Restlet Framework is vulnerable to an XXE attack when using the SimpleXMLProvider. This can allow remote attackers to access arbitrary files on the server, potentially leading to unauthorized disclosure of sensitive information. To mitigate this vulnerability, it is recommended to upgrade to version 2.3.11 or later of the Restlet Framework. Alternatively, developers can disable the use of the SimpleXMLProvider or implement additional input validation and filtering. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.restlet.jse:org.restlet.ext.jaxrs →

Share this vulnerability

FAQ

An XML External Entity (XXE) attack is a type of security vulnerability that allows an attacker to exploit the processing of XML data by an application. By including specially crafted XML entities, an attacker can read arbitrary files on the server or perform other malicious 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, and you can analyze your application's pom.xml file without any signup.

The XXE vulnerability in the Restlet Framework can allow remote attackers to access sensitive files on the server. This can lead to unauthorized disclosure of sensitive information, such as configuration files or database credentials, and potentially enable further attacks on the system.

Yes, a fix for this vulnerability is available in version 2.3.11 of the Restlet Framework. It is recommended to upgrade to this version or later to mitigate the risk of XXE attacks.

A possible workaround is to disable the use of the SimpleXMLProvider in the Restlet Framework configuration. However, this may impact the functionality of the application. It is recommended to consult the Restlet Framework documentation or seek assistance from the development team for guidance on the best approach.

How To Fix

Minimum fixed version

2.3.11

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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