CVE-2022-45064
Published: 13 April 2023
Summary
CVE-2022-45064 is a high-severity Cross-site Scripting (CWE-79) vulnerability in Apache Apache Sling Engine. Its CVSS base score is 8.0 (High).
Operationally, ranked in the top 10.0% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The vulnerability CVE-2022-45064 is an include-based cross-site scripting flaw in Apache Sling caused by the SlingRequestDispatcher failing to correctly implement the RequestDispatcher API. It affects the Apache Sling Engine and allows a generic class of content-type manipulation issues at the framework level.
An attacker who can write content and control an include path while specifying a particular content-type can exploit the issue over the network. Successful exploitation yields privilege escalation to administrative privileges, as reflected in the CVSS 8.0 rating requiring low privileges and user interaction.
Advisories direct users to upgrade to Apache Sling Engine 2.14.0 or newer and to enable the "Check Content-Type overrides" configuration option. The associated EPSS score remains low and unchanged at 0.0509 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2023-1351
Vulnerability details
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…
more
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.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.