CVE-2025-6108 Details
Description
A vulnerability was found in hansonwang99 Spring-Boot-In-Action up to 807fd37643aa774b94fd004cc3adbd29ca17e9aa. It has been declared as critical. Affected by this vulnerability is the function watermarkTest of the file /springbt_watermark/src/main/java/cn/codesheep/springbt_watermark/service/ImageUploadService.java of the component File Upload. The manipulation of the argument filename leads to path traversal. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The vendor was contacted early about this disclosure but did not respond in any way.
A critical path traversal vulnerability has been identified in the 'hansonwang99 Spring-Boot-In-Action' project, specifically in the master branch prior to the commit '807fd37643aa774b94fd004cc3adbd29ca17e9aa'. The issue arises in the 'ImageUploadService.java' file within the 'springbt_watermark' subproject. The vulnerability is present in the 'watermarkTest' function, where improper validation of the 'filename' argument allows for path traversal. This exploitation can be performed remotely, potentially leading to unauthorized file uploads to arbitrary locations on the server.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 16, 2025CISA-ADP
Assessed Jun 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ShenxiuSec/cve-proofs/blob/main/POC-20250607-01.md | [email protected] | Exploit |
| https://vuldb.com/?ctiid.312577 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/?id.312577 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/?submit.592362 | [email protected] | ExploitTechnical Description |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hansonwang99 Spring-Boot-In-Action | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Jun 16, 2025 | New CVE Received | [email protected] |
Volerion