CVE-2025-45997: Malicious File Upload

Published May 28, 2025
·
Updated

Sourcecodester Web-based Pharmacy Product Management System v.1.0 has a file upload vulnerability. An attacker can upload a PHP file disguised as an image by modifying the Content-Type header to image/jpg.

Affected Software

2 affected components
Sourcecodester Web-based Pharmacy Product Management System
Senior-walter Web-based Pharmacy Product Management System=1.0

Event History

May 28, 2025
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-45997?

CVE-2025-45997 is classified as a high severity vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2025-45997?

To fix CVE-2025-45997, ensure that file uploads are restricted to specific file types and implement server-side validation for uploaded files.

3

What are the potential impacts of exploiting CVE-2025-45997?

Exploiting CVE-2025-45997 allows attackers to upload and execute malicious PHP files, potentially leading to unauthorized access and control of the server.

4

Which versions of Sourcecodester Web-based Pharmacy Product Management System are affected by CVE-2025-45997?

CVE-2025-45997 affects version 0.0.1 of Sourcecodester Web-based Pharmacy Product Management System.

5

Can CVE-2025-45997 be exploited remotely?

Yes, CVE-2025-45997 can be exploited remotely by altering the Content-Type header to bypass file upload restrictions.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203