CVE-2016-6348: JacksonJsonpInterceptor susceptible to cross-site script inclusion (XSSI) attack in org.jboss.resteasy:resteasy-client

Summary

17/05/2022
Yes i
Moderate
6.1

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

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.

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

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

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 →

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