GitHub Advisoryadvisory · Maven

GHSA-mg46-f9h5-g27x Apache Sling Engine vulnerable to cross-site scripting (XSS) that can lead to privilege escalation

HIGH Published 2023-04-13 Modified 2023-04-18 Official page ↗
Aliases
CVE-2022-45064
Ecosystem
Maven
Packages
org.apache.sling:org.apache.sling.engine
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H
Weaknesses
CWE-79
Reviewed
2023-04-14

Affected packages

• Maven org.apache.sling:org.apache.sling.engine: < 2.14.0 → fixed in 2.14.0

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 version 2.14.0 or newer and enable the "Check Content-Type overrides" configuration option.

Related

Alias · CVE (1)

  • CVE-2022-45064 The SlingRequestDispatcher doesn't correctly implement the RequestDispatcher API resulting in a generic type of include-based cross-site… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References