CVE-2025-10085
BaseFortify
Publication date: 2025-09-08
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 |
|---|---|---|
| mayuri_k | pet_grooming_management_software | 1.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-10085 is an unrestricted file upload vulnerability in SourceCodester Pet Grooming Management Software version 1.0, specifically in the manage_website.php file. The software relies only on frontend filtering to check uploaded file types and lacks server-side validation, allowing attackers to upload malicious files such as executable scripts (.php). These files are saved in a web-accessible directory with their original names, enabling attackers to remotely execute malicious code on the server, potentially gaining full control. [1, 2, 3]
How can this vulnerability impact me? :
This vulnerability can lead to severe security impacts including remote code execution, full server compromise, data theft, and unauthorized internal network access. Attackers can upload malicious scripts that run on the server, allowing them to execute arbitrary commands, control the system, and potentially disrupt the availability, integrity, and confidentiality of the affected system. [1, 2, 3]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by checking for the presence of uploaded files with executable extensions (e.g., .php) in the web-accessible upload directory /petgrooming_erp/pet_grooming/assets/uploadImage/Logo/. You can also search your web server logs for access to suspicious files in this directory. Additionally, Google dorking with queries like "inurl:manage_website.php" can help identify vulnerable targets externally. Commands to detect suspicious files on the server include: 1) Listing files with executable extensions in the upload directory: `find /path/to/petgrooming_erp/pet_grooming/assets/uploadImage/Logo/ -type f \( -name "*.php" -o -name "*.php5" -o -name "*.phtml" \)` 2) Checking web server access logs for requests to suspicious files: `grep "/assets/uploadImage/Logo/" /var/log/apache2/access.log | grep ".php"` 3) Monitoring file creation in the upload directory in real-time: `inotifywait -m /path/to/petgrooming_erp/pet_grooming/assets/uploadImage/Logo/` [1, 3]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include: 1) Replace or upgrade the affected software to a secure alternative, as no official patches are available. 2) Implement server-side validation to allow only specific image formats (e.g., JPG, PNG, GIF) and verify the authenticity of uploaded files using functions like getimagesize(). 3) Configure the web server to prevent execution of scripts in the upload directory (/petgrooming_erp/pet_grooming/assets/uploadImage/Logo/), for example by disabling PHP execution there. 4) Deploy real-time file monitoring to detect abnormal or unauthorized uploads. 5) Maintain comprehensive logs of all upload activities including timestamps, IP addresses, users, and filenames for audit and forensic purposes. These steps help prevent attackers from uploading and executing malicious files, reducing the risk of remote code execution and server compromise. [1, 3]