CVE-2022-4273: SourceCodester Human Resource Management System Content-Type employee.php unrestricted upload
Vulnerability summary
CVE-2022-4273 is a critical (CVSS 9.8) Incorrect Privilege Assignment vulnerability in oretnom23 human_resource_management_system. EPSS estimates a 0.99% chance of exploitation in the next 30 days, higher than 63.6% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Timeline
- 03-12-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
A vulnerability, which was classified as critical, has been found in SourceCodester Human Resource Management System 1.0. This issue affects some unknown processing of the file /hrm/controller/employee.php of the component Content-Type Handler. The manipulation of the argument pfimg leads to unrestricted upload. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-214769 was assigned to this vulnerability.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA7.3HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.99%
Chance of exploitation in the next 30 days
Percentile
64%
Versus all other CVEs
30-day change
Increase +0.17 pp
From 0.82% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundBug Report
Maturity: poc
Weaknesses
CWE · root cause- CWE-266Incorrect Privilege AssignmentA product incorrectly assigns a privilege to a particular actor, creating an unintended sphere of control for that actor.
- CWE-434Unrestricted Upload of File with Dangerous TypeThe product allows the upload or transfer of dangerous file types that are automatically processed within its environment.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Oretnom231 product
Sourcecodester1 product
2 vendors · 2 products
References
2 links- github.com/leecybersec/bug-report/tree/main/sourcecodester/oretnom23/hrm/bypass-fileupload-rceExploitThird Party Advisory