CVE-2024-8342: SourceCodester Petshop Management System - Unrestricted File Upload
- Cve: CVE-2024-8342
- Name: SourceCodester Petshop Management System - Unrestricted File Upload
- Description: A vulnerability, which was classified as critical, has been found in SourceCodester Petshop Management System 1.0. This issue affects some unknown processing of the file /controllers/add_client.php. The manipulation of the argument image_profile 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.00643
- Epss percentile: 0.51805
- Assignee: [email protected]
- Published at: 2024-08-30T16:15:12Z
- Age in days: 816
- Modified at: 2026-06-17T08:22:23Z
- Public exploits total: 1
- References total: 5
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-8342
- 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-434 | Unrestricted Upload of File with Dangerous Type |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/enjoyworld/webray.com.cn/blob/main/cves/Petshop_Management_System/Petshop_Management_System%20add_client.php%20any%20file%20upload.md | nvd | 2024-08-30 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/enjoyworld/webray.com.cn/blob/main/cves/Petshop_Management_System/Petshop_Management_System%20add_client.php%20any%20file%20upload.md | Exploit |
| https://vuldb.com/?id.276221 | Third Party Advisory, VDB Entry |
| https://vuldb.com/?submit.399662 | Third Party Advisory, VDB Entry |
| https://vuldb.com/?ctiid.276221 | Permissions Required |
| https://www.sourcecodester.com/ | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nelzkie15:pet_shop_management_system | = 1.0 | no | nvd | /v1/products/nelzkie15/pet_shop_management_system |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2024-08-30
- 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