CVE-2022-4278: SourceCodester Human Resource Management System employeeadd.php sql injection
Vulnerability summary
CVE-2022-4278 is a high (CVSS 7.2) Improper Neutralization vulnerability in oretnom23 human_resource_management_system. EPSS estimates a 0.88% chance of exploitation in the next 30 days, higher than 60.3% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 03-12-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
A vulnerability was found in SourceCodester Human Resource Management System 1.0. It has been rated as critical. This issue affects some unknown processing of the file /hrm/employeeadd.php. The manipulation of the argument empid leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The associated identifier of this vulnerability is VDB-214775.
CVSS metrics
2 scores · 2 sources · 1 version- CVE.orgCNA4.7MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.88%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
Increase +0.15 pp
From 0.73% 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-707Improper NeutralizationThe product does not ensure or incorrectly ensures that structured messages or data are well-formed and that certain security properties are met before being used when received from an upstream component, or before being sent to a downstream component.
- CWE-89Improper Neutralization of Special Elements used in an SQL CommandThe product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Affected systems
Known conditions: network-reachable, administrative account, 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/employeeadd-sqliExploitThird Party Advisory