Authorization bypass via trailing-slash path mismatch
Published Oct 25, 2023 · Updated Sep 11, 2024
Incorrect authorization in Dromara Sa-Token 1.3.50RC and earlier allows remote authenticated users to access protected Spring routes. Sa-Token's AntPathMatcher treats a configured path and its trailing-slash form as different, while Spring routes both forms to the same controller. A low-privileged session can append a slash to bypass the route-specific permission check and reach the protected controller response.
Summary
What happened
Incorrect authorization in Dromara Sa-Token 1.3.50RC and earlier allows remote authenticated users to access protected Spring routes. Sa-Token's AntPathMatcher treats a configured path and its trailing-slash form as different, while Spring routes both forms to the same controller. A low-privileged session can append a slash to bypass the route-specific permission check and reach the protected controller response.
The record
- CVE
- CVE-2023-43961
- Published
- Oct 25, 2023
- Updated
- Sep 11, 2024
- Vendor
- Dromara
- Product
- Sa-Token
- Classifications
- CWE-863, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 25, 2023CVE publishedPublication date reported by the CVE source.
- Sep 11, 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.3.50rc
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
- Upstream trailing-slash 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