Protected-field modification via locale-dependent case folding
Published Oct 18, 2024 · Updated Nov 29, 2024
Improper case handling in Spring Framework allows remote authenticated users to modify fields blocked by DataBinder patterns. The DataBinder.setDisallowedFields and isAllowed paths canonicalize patterns and candidate names with the JVM default locale, so locale-specific lowercase results can prevent a configured pattern from matching an attacker-controlled property name. Exposure requires an application to bind attacker-controlled property names through DataBinder with disallowedFields under a locale that folds relevant characters differently; successful requests write fields the application intended to exclude.
Summary
What happened
Improper case handling in Spring Framework allows remote authenticated users to modify fields blocked by DataBinder patterns. The DataBinder.setDisallowedFields and isAllowed paths canonicalize patterns and candidate names with the JVM default locale, so locale-specific lowercase results can prevent a configured pattern from matching an attacker-controlled property name. Exposure requires an application to bind attacker-controlled property names through DataBinder with disallowedFields under a locale that folds relevant characters differently; successful requests write fields the application intended to exclude.
The record
- CVE
- CVE-2024-38820
- Published
- Oct 18, 2024
- Updated
- Nov 29, 2024
- Vendor
- Spring
- Product
- Spring Framework
- Classifications
- CWE-178, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 18, 2024CVE publishedPublication date reported by the CVE source.
- Nov 29, 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=5.3.x <5.3.41
- Affected versionversion=6.0.x <6.0.25
- Affected versionversion=6.1.x <6.1.14
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.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
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