CVE-2016-6348: JacksonJsonpInterceptor susceptible to cross-site script inclusion (XSSI) attack in org.jboss.resteasy:resteasy-client
Summary
CVE-2016-6348: JacksonJsonpInterceptor susceptible to cross-site script inclusion (XSSI) attack. Affects org.jboss.resteasy:resteasy-client versions < 3.0.20.Final. Fixed in 3.0.20.Final. How to fix ↓
Also tracked for
- resteasy3.0 · Debian:11
The same CVE-2016-6348 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
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.
No signup required · Results in about 60 seconds
Background
org.jboss.resteasy:resteasy-client is a Maven package that provides a client framework for RESTful web services. It is commonly used in Java applications to interact with REST APIs. The package includes the JacksonJsonpInterceptor class, which is responsible for handling JSONP requests. JSONP (JSON with Padding) is a technique used to overcome the same-origin policy in web browsers. However, the implementation of JacksonJsonpInterceptor in RESTEasy is vulnerable to a cross-site script inclusion (XSSI) attack.
Vulnerability Detail
The vulnerability in JacksonJsonpInterceptor allows remote attackers to conduct a cross-site script inclusion (XSSI) attack. This type of attack occurs when an attacker is able to include an external script from a different domain into a target web page. By exploiting this vulnerability, an attacker can execute malicious scripts in the context of the vulnerable application, potentially leading to unauthorized access, data theft, or other security breaches.
How To Fix
Minimum fixed version
3.0.20.Final
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
There is no known workaround for this vulnerability. It is necessary to upgrade the org.jboss.resteasy:resteasy-client package to the fixed version.
Conclusion
In conclusion, the org.jboss.resteasy:resteasy-client package is vulnerable to a cross-site script inclusion (XSSI) attack due to a flaw in the JacksonJsonpInterceptor class. To mitigate this vulnerability, it is crucial to upgrade to version 3.0.20.Final or later. Regularly updating dependencies is also recommended to ensure the application is protected against the latest security threats. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for org.jboss.resteasy:resteasy-client →
FAQ
org.jboss.resteasy:resteasy-client is a Maven package that provides a client framework for RESTful web services in Java applications.
A cross-site script inclusion (XSSI) attack occurs when an attacker is able to include an external script from a different domain into a target web page.
By exploiting this vulnerability, an attacker can execute malicious scripts in the context of the vulnerable application, potentially leading to unauthorized access, data theft, or other security breaches.
To fix this vulnerability, upgrade the org.jboss.resteasy:resteasy-client package to version 3.0.20.Final or later.
No, there is no known workaround for this vulnerability. It is necessary to upgrade the org.jboss.resteasy:resteasy-client package to the fixed version.
Related vulnerabilities
Recent vulnerabilities recorded for org.jboss.resteasy:resteasy-client.