Bug 1675138
| Summary: | [GSS](6.4.z) Code-Injection via JSONP-Injection in REST-Services | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise Application Platform 6 | Reporter: | Maria Vassileva <mavassil> |
| Component: | Web Services, RESTEasy | Assignee: | Chao Wang <chaowan> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Peter Mackay <pmackay> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | TBD EAP 6 | CC: | asoldano, bmaxwell, chaowan, dereed, rpelisse, thofman |
| Target Milestone: | CR1 | ||
| Target Release: | EAP 6.4.22 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Release Note | |
| Doc Text: |
Because JSONP can be used in Cross Site Scripting Inclusion (XSSI) attacks, JacksonJsonpInterceptor is disabled by default. Two steps are necessary to enable it:
* JacksonJsonpInterceptor must be added to the deployment, e.g. by adding a service file META-INF/services/javax.ws.rs.ext.Providers with the line
org.jboss.resteasy.plugins.providers.jackson.JacksonJsonpInterceptor
on the classpath.
* The servlet context parameter parameter "resteasy.jsonp.enable" must be set to "true".
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-08-19 12:40:57 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1613417, 1675264 | ||
|
Description
Maria Vassileva
2019-02-11 20:26:13 UTC
In the upstream this interceptor can already be disabled, i.e. no upstream required. @Brad, can you set requires_doc_text+? I can't. @Chao, can you provide doc text? Regression tests passed Verified with EAP 6.4.22.CP.CR1 |