Description
The SlingRequestDispatcher doesn't correctly implement the RequestDispatcher API resulting in a generic type of include-based cross-site scripting issues on the Apache Sling level. The vulnerability is exploitable by an attacker that is able to include a resource with specific content-type and control the include path (i.e. writing content). The impact of a successful attack is privilege escalation to administrative power.
Please update to Apache Sling Engine >= 2.14.0 and enable the "Check Content-Type overrides" configuration option.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Sling Engine | – < 2.14.0 | 2.14.0 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.sling:org.apache.sling.engine | < 2.14.0 | 2.14.0 | GHSA-mg46-f9h5-g27x |
Advisories 1
- WID-SEC-2023-0954 Apache Sling: Schwachstelle ermöglicht Cross-Site Scripting BSI CERT-Bund (WID) · Apr 12, 2023