CVE-2022-45064 – org.apache.sling:org.apache.sling.engine
Package
Manager: maven
Name: org.apache.sling:org.apache.sling.engine
Vulnerable Version: >=0 <2.14.0
Severity
Level: High
CVSS v3.1: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
EPSS: 0.00768 pctl0.72568
Details
Apache Sling Engine vulnerable to cross-site scripting (XSS) that can lead to privilege escalation 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 version 2.14.0 or newer and enable the "Check Content-Type overrides" configuration option.
Metadata
Created: 2023-04-13T12:30:35Z
Modified: 2023-04-18T14:54:04Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-mg46-f9h5-g27x/GHSA-mg46-f9h5-g27x.json
CWE IDs: ["CWE-79"]
Alternative ID: GHSA-mg46-f9h5-g27x
Finding: F425
Auto approve: 1