Authenticated code execution via unsanitized upload filenames
Published Apr 30, 2024 · Updated Mar 20, 2025
Path traversal in FileTransUtil.java in lsgwr Spring Boot Online Exam 0.9 allows remote authenticated users to execute arbitrary code. The saveUploadedFiles method accepts file.getOriginalFilename() without rejecting traversal sequences or verifying that the resolved destination remains under the requested upload directory. A low-privileged account with upload access can write attacker-named files outside that directory, enabling server-side code execution and file overwrite.
Summary
What happened
Path traversal in FileTransUtil.java in lsgwr Spring Boot Online Exam 0.9 allows remote authenticated users to execute arbitrary code. The saveUploadedFiles method accepts file.getOriginalFilename() without rejecting traversal sequences or verifying that the resolved destination remains under the requested upload directory. A low-privileged account with upload access can write attacker-named files outside that directory, enabling server-side code execution and file overwrite.
The record
- CVE
- CVE-2024-29466
- Published
- Apr 30, 2024
- Updated
- Mar 20, 2025
- Vendor
- lsgwr
- Product
- Spring Boot Online Exam
- Classifications
- CWE-26, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 30, 2024CVE publishedPublication date reported by the CVE source.
- Mar 20, 2025Record 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.9
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