CVE-2024-23673:
Apache Sling Servlets Resolver executes malicious code via path traversal
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.35707%
CWE
Published
2/6/2024
Updated
2/13/2025
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.sling:org.apache.sling.servlets.resolver | maven | < 2.11.0 | 2.11.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from missing path validation in script resolution logic. The patch introduced the isInvalidPath()
check to reject paths with >2 consecutive dots. The findScript
method (SlingScriptResolverImpl) and resolveServletInternal
method (SlingServletResolver) were both processing unvalidated user-controlled paths, making them entry points for path traversal. The commit diff shows these methods were modified to add validation, confirming they were previously vulnerable.