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.
Remediation
References
http://www.openwall.com/lists/oss-security/2023/04/18/6
https://lists.apache.org/thread/hhp611hltby3whk03vx2mv7cmy3vs0ok
Related Vulnerabilities
CVE-2023-28671 Vulnerability in maven package org.jenkinsci.plugins:octoperf
CVE-2022-35912 Vulnerability in maven package org.grails:grails-databinding
CVE-2023-25500 Vulnerability in maven package com.vaadin:flow-server
CVE-2022-36883 Vulnerability in maven package org.jenkins-ci.plugins:git
CVE-2022-31175 Vulnerability in npm package @ckeditor/ckeditor5-markdown-gfm