CVE-2025-3765: SourceCodester Web-based Pharmacy - Unrestricted File Upload
- Cve: CVE-2025-3765
- Name: SourceCodester Web-based Pharmacy - Unrestricted File Upload
- Description: A vulnerability, which was classified as critical, has been found in SourceCodester Web-based Pharmacy Product Management System 1.0. This issue affects some unknown processing of the file /edit-photo.php. The manipulation of the argument Avatar leads to unrestricted upload. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
- Impact: Attackers can upload malicious files, potentially leading to remote code execution or server compromise.
- Remediation: Implement proper file validation and restrict upload types, and update to the latest version if available.
- Vulnerability type: unrestricted_file_upload
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00575
- Epss percentile: 0.48356
- Assignee: [email protected]
- Published at: 2025-04-17T20:15:28Z
- Age in days: 586
- Modified at: 2026-06-17T09:20:37Z
- Public exploits total: 1
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-3765
- Nvd status: analyzed
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-284 | Improper Access Control |
| CWE-434 | Unrestricted Upload of File with Dangerous Type |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/yaklang/IRifyScanResult/blob/main/Web-based%20Pharmacy%20Product%20Management%20System/upload_in_edit-photo.md | nvd | 2025-04-17 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/yaklang/IRifyScanResult/blob/main/Web-based%20Pharmacy%20Product%20Management%20System/upload_in_edit-photo.md | Exploit, Third Party Advisory |
| https://vuldb.com/?id.305399 | Third Party Advisory, VDB Entry |
| https://vuldb.com/?submit.553722 | Third Party Advisory, VDB Entry |
| https://vuldb.com/?ctiid.305399 | Permissions Required, VDB Entry |
| https://www.sourcecodester.com/ | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| senior-walter:web-based_pharmacy_product_management_system | = 1.0 | no | nvd | /v1/products/senior-walter/web-based_pharmacy_product_management_system |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-04-17
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts