CVE-2025-10398
BaseFortify
Publication date: 2025-09-14
Last updated on: 2026-04-29
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| fcba_zzm | smart_park_management_system | 2.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-434 | The product allows the upload or transfer of dangerous file types that are automatically processed within its environment. |
| CWE-284 | The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-10398 is a vulnerability in the ICS-Park Smart Park Management System 2.0, specifically in the file upload module within FileUploadUtils.java. The system improperly validates uploaded file extensions, allowing dangerous file types like .html and .xml to be uploaded and stored in web-accessible locations. These files can contain malicious JavaScript code that executes in users' browsers when accessed, leading to a Stored Cross-Site Scripting (XSS) attack. An authenticated attacker can exploit this by uploading a malicious file disguised with a safe content type but containing harmful scripts, which can then perform unauthorized actions on behalf of users. [1, 2, 3]
How can this vulnerability impact me? :
This vulnerability can lead to unauthorized actions performed on behalf of legitimate users, such as changing passwords, modifying account settings, privilege escalation, unauthorized account access, data manipulation, data loss, or leakage. The malicious scripts executed via the uploaded files can compromise user accounts and system integrity, potentially causing significant security breaches. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring for unauthorized or suspicious file uploads to the `/api/dfs/upload` endpoint, especially files with dangerous extensions like .html or .xml that contain embedded JavaScript payloads. You can use network traffic inspection tools or web server logs to identify POST requests with multipart/form-data content type targeting this endpoint. For example, using curl or similar tools to test the upload endpoint with malicious files can help verify vulnerability. Commands to detect suspicious uploads might include: 1) Checking web server logs for POST requests to `/api/dfs/upload` with file extensions like .html or .xml. 2) Using tools like tcpdump or Wireshark to capture and analyze HTTP POST requests to the upload endpoint. 3) Using curl to attempt uploading a test malicious file to see if it is accepted: `curl -X POST -F "[email protected];type=image/jpeg" https://target/api/dfs/upload`. [1, 2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include implementing strict file extension whitelisting on the file upload functionality, allowing only safe file types such as .jpg, .png, and .gif, and rejecting dangerous extensions like .html and .xml. Additionally, enforce proper content-type validation and sanitize uploaded files to prevent execution of malicious code. If possible, restrict upload permissions to authenticated and authorized users only. Monitoring and blocking suspicious uploads and applying patches or updates from the vendor when available are also recommended. [1, 2]