CVE-2016-6347 Improper Neutralization of Input During Web Page Generation in RESTEasy
Remote attackers can inject arbitrary web script or HTML via the default exception handler in RESTEasy, potentially leading to code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2016-6347?
CVE-2016-6347 is a medium-severity cross-site scripting vulnerability in n/a, published on 20 Apr 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in the default exception handler in RESTEasy allows remote attackers to inject arbitrary web script or HTML via unspecified vectors.
Weakness: CWE-79
Which versions are affected by CVE-2016-6347?
4 open source packages ship an affected version, including org.jboss.resteasy:resteasy-client. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jboss.resteasy:resteasy-client Maven | All versions | 3.0.20.Final |
org.jboss.resteasy:resteasy-client Maven | All versions | 3.0.20.Final |
org.jboss.resteasy:resteasy-client Maven | From 3.1.0.Beta1 | 3.1.0.CR1 |
org.jboss.resteasy:resteasy-client Maven | From 3.1.0.Beta1 | 3.1.0.CR1 |
Products include Redhat Resteasy.
How do I fix CVE-2016-6347?
Upgrade org.jboss.resteasy:resteasy-client to a fixed version for your release line: 3.0.20.Final or 3.1.0.CR1.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2016-6347 being exploited?
There is no known exploitation of CVE-2016-6347 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2016-9606 JBoss RESTEasy vulnerable to Improper Input Validation
- CVE-2018-1051 Deserialization of Untrusted Data in org.jboss.resteasy:resteasy-yaml-provider
- CVE-2016-6346 Denial of service in JBoss resteasy
- CVE-2016-6345 Exposure of Sensitive Information to an Unauthorized Actor in RESTEasy
- CVE-2014-7839 XML External Entity Reference in RESTEasy
Sources
Also known as DEBIAN-CVE-2016-6347, GHSA-r346-rmrg-qpgh, UBUNTU-CVE-2016-6347.