Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Litsasuk

#30545of 53,632
8.6Total CVSS
Vulnerabilities · 1
PT-2025-23087
8.6
2025-05-28
Sourcecodester · Sourcecodester Web-Based Pharmacy Product Management System · CVE-2025-45997
**Name of the Vulnerable Software and Affected Versions** Sourcecodester Web-based Pharmacy Product Management System version 1.0 Sourcecodester Web-based Pharmacy Product Management System version 0.0.1 **Description** The issue allows an attacker to upload a PHP file disguised as an image by modifying the `Content-Type` header to `image/jpg`. This can be exploited by changing the header to mimic an image file, allowing the upload of malicious PHP code. **Recommendations** For version 1.0, update the file upload validation to check the actual file type rather than relying on the `Content-Type` header. For version 0.0.1, implement a secure file upload mechanism that verifies the file type and prevents the upload of executable code, such as PHP files. As a temporary workaround, consider disabling the file upload feature until a secure update is available.