Cyber Resilience

CVE-2024-34833

CriticalPublic PoC

Published: 17 June 2024

Published
17 June 2024
Modified
30 April 2025
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.4205 97.5th percentile
Risk Priority 45 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-34833 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Oretnom23 Payroll Management System. Its CVSS base score is 9.8 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 2.5% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

Sourcecodester Payroll Management System v1.0 is affected by an unrestricted file upload vulnerability tracked as CVE-2024-34833 and CWE-434. The flaw resides in the save_settings page, which accepts image uploads without enforcing file-type restrictions or authentication, allowing an attacker to supply a PHP script instead of a legitimate image.

An unauthenticated remote attacker can send a crafted request to the save_settings endpoint and upload a malicious PHP file. Successful exploitation grants the ability to execute arbitrary code on the underlying server with the privileges of the web-server user, corresponding to the maximum CVSS 3.1 score of 9.8.

Public exploit code demonstrating remote code execution has been released on GitHub and Packet Storm. The EPSS score has remained flat at 0.42 since disclosure, indicating no material increase in observed exploitation interest.

EU & UK References

Vulnerability details

Sourcecodester Payroll Management System v1.0 is vulnerable to File Upload. Users can upload images via the "save_settings" page. An unauthenticated attacker can leverage this functionality to upload a malicious PHP file instead. Successful exploitation of this vulnerability results in the…

more

ability to execute arbitrary code as the user running the web server.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1505.003 Web Shell Persistence
Adversaries may backdoor web servers with web shells to establish persistent access to systems.
Why these techniques?

Unauthenticated file upload vulnerability in a public-facing web application enables exploitation (T1190) and deployment of a web shell for remote code execution (T1505.003).

Affected Assets

oretnom23
payroll management system
1.0

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-434

Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.

addresses: CWE-434

Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.

addresses: CWE-434

Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.

addresses: CWE-434

Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.

References