Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials via phishing or reuse
-
DeliveryAuthenticate to payroll application
-
ExploitCraft malicious emp_id SQL payload
-
ExecutionSubmit request to /payroll/view_account.php
-
ImpactExtract or modify payroll database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a valid high-privilege (administrative) session as indicated by PR:H in the CVSS vector - unauthenticated attackers cannot reach the vulnerable endpoint without first obtaining admin credentials. The specific condition is access to the /payroll/view_account.php page with control over the emp_id GET parameter. The application must be network-reachable (AV:N) and running PHP with the vulnerable v1.0 codebase. Limiting factors: administrative authentication is the primary barrier; exploitation is not automatable per SSVC (likely due to session-token requirements); the attack scope does not change (S:U), confining impact to the vulnerable application's database. Non-default hardening such as IP allowlisting on the admin panel would further constrain exploitation. |
| Impact | The CVSS base score of 4.7 reflects the PR:H constraint - exploitation requires an already-authenticated administrative session, significantly limiting the realistic attacker pool to insiders, compromised admin accounts, or attackers who have already achieved privilege escalation via a separate vector. EPSS at 0.02% (7th percentile) confirms near-zero observed exploitation probability across the threat landscape, consistent with SSVC's 'Exploitation: none' and 'Automatable: no' findings. Technical Impact is rated partial by SSVC, aligning with C:L/I:L/A:L in the provided vector. This is a real vulnerability but a low operational priority: an attacker exploiting it has already cleared the high-privilege authentication bar, so the incremental risk from the SQLi is database-layer access beyond application-layer controls. No conflicting signals between data sources; KEV status is absent and no POC has been identified, further reducing urgency. |
| Exploit ScenarioDerived | An attacker who has obtained administrative credentials - through phishing, credential stuffing, or a prior compromise - authenticates to the payroll application and crafts a request to /payroll/view_account.php?emp_id=1' OR '1'='1 or a UNION-based payload to enumerate the underlying database schema and extract employee salary, personal, or credential data. No public exploit code has been identified at time of analysis, but the vulnerability class (GET-parameter SQLi in PHP) is trivially exploitable with standard tooling such as sqlmap once authenticated access is available. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
SQL Injection in SourceCodester Payroll Management and Information System v1.0 exposes the /payroll/view_account.php endpoint to database-level manipulation via the emp_id GET parameter. The CVSS vector (PR:H) confirms exploitation requires high-privilege (administrative) authentication, substantially narrowing the realistic attacker population. No public exploit code or active exploitation has been identified; EPSS places this at the 7th percentile (0.02%), and SSVC assessment concurs with exploitation status of none and non-automatable attack path.
RemediationAI
No vendor-released patch has been identified at time of analysis for SourceCodester Payroll Management and Information System v1.0. The definitive fix is to refactor the SQL query in /payroll/view_account.php to use prepared statements with parameterized queries, eliminating direct interpolation of the emp_id value. As a compensating control, deploy a Web Application Firewall rule to detect and block common SQLi patterns in the emp_id parameter - note this adds operational overhead and may generate false positives on legitimate numeric IDs. Additionally, restrict administrative interface access to trusted IP ranges or VPN-only networks, reducing the exposed attack surface given that PR:H is already required. Audit all other PHP files in the application for similar unsanitized parameter usage, as SourceCodester projects frequently share the same unparameterized query pattern across endpoints. References: https://github.com/mt-0505/cve-report/blob/main/sourcecodester/payroll-management-and-information-system/SQL-1.md and https://nvd.nist.gov/vuln/detail/CVE-2026-37346.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The application is a PHP-based payroll management system distributed by SourceCodester. CWE-89 (Improper Neutralization of Special Elements used in an SQL Command) indicates that user-supplied input - specifically the emp_id query string parameter in view_account.php - is concatenated into a SQL query without parameterization or adequate sanitization. This classic unsanitized-input pattern allows an attacker to alter query logic, enumerate tables, extract credential or payroll records, and potentially write data. No CPE string was provided in the intelligence; the affected version is confirmed as v1.0 from the CVE description. The attack surface is a PHP web application served over HTTP/S, consistent with the AV:N (network) vector.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L
SQL injection permits full database read/write beyond app-layer controls, warranting C:H/I:H; availability impact is limited to data corruption, not service denial; PR:H reflects mandatory admin authentication.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
SourceCodester Payroll Management and Information System v1.0 is vulnerable to SQL Injection in the file /payroll/view_account.php?emp_id=.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-23264
GHSA-3xhp-52jc-www8
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB