Authenticated route access via path normalization mismatch
Published Oct 25, 2023 · Updated Sep 12, 2024
Authentication bypass in Dromara Sa-Token 1.36.0 and earlier allows remote authenticated users to reach protected Spring routes. SaRequestForServlet supplies Sa-Token with a normalized servlet path while Spring routes the raw path, so /admin/.. evades an /admin/** permission check but still reaches the endpoint. Exploitation requires Spring Boot 2.3.1 or later or Spring 5.3.0 or later and a valid low-privilege session, granting access to application-defined protected functionality.
Summary
What happened
Authentication bypass in Dromara Sa-Token 1.36.0 and earlier allows remote authenticated users to reach protected Spring routes. SaRequestForServlet supplies Sa-Token with a normalized servlet path while Spring routes the raw path, so /admin/.. evades an /admin/** permission check but still reaches the endpoint. Exploitation requires Spring Boot 2.3.1 or later or Spring 5.3.0 or later and a valid low-privilege session, granting access to application-defined protected functionality.
The record
- CVE
- CVE-2023-44794
- Published
- Oct 25, 2023
- Updated
- Sep 12, 2024
- Vendor
- Dromara
- Product
- Sa-Token
- Classifications
- CWE-284, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 25, 2023CVE publishedPublication date reported by the CVE source.
- Sep 12, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <=1.36.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Sa-Token and Spring URI authorization-bypass reproductionproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo