SourceCodester Online Employees Work From Home Attendance System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in SourceCodester Online Employees Work From Home Attendance System version 1.0. The issue resides in the file 'view_employee.php' within the 'wfh_attendance/admin' directory. The vulnerability allows attackers to manipulate the 'id' parameter and execute arbitrary SQL commands, potentially leading to unauthorized data access or modification.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.

Reproduction

To reproduce this vulnerability, send a GET request to 'wfh_attendance/admin/view_employee.php' with a crafted 'id' parameter that includes SQL injection payloads. For example, an injection payload could be '1' union select sqlite_version() to extract the SQLite version from the database.

Added: Apr 14, 2026, 6:15 PM
Updated: Apr 14, 2026, 6:15 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
3.1
exploitability
6.1
remediation
0.0
relevance
5.9
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.