CVE-2021-47966 Details
Description
PHP Timeclock 1.04 contains time-based and boolean-based blind SQL injection vulnerabilities in the login_userid parameter of login.php that allows unauthenticated attackers to extract database contents. Attackers can submit crafted POST requests with SQL payloads using SLEEP functions or RLIKE conditional statements to dump sensitive database information including employee names and credentials.
A SQL injection vulnerability has been identified in PHP Timeclock version 1.04. This vulnerability exists in the login_userid parameter of login.php and allows unauthenticated attackers to execute time-based and boolean-based blind SQL injection attacks. Exploitation of this vulnerability enables attackers to extract sensitive database information, including employee names and credentials. The issue arises from improper handling of SQL payloads in POST requests, which can be manipulated to include malicious SQL commands that are executed by the database.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed May 15, 2026CISA-ADP
Assessed May 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://sourceforge.net/projects/timeclock/files/PHP%20Timeclock/PHP%20Timeclock%201.04/ | [email protected] | ProductSource CodeVendor |
| https://www.exploit-db.com/exploits/49849 | [email protected] | Exploit |
| https://www.vulncheck.com/advisories/php-timeclock-sql-injection-via-login-php | [email protected] | AdvisoryBundleRemedy |
| http://timeclock.sourceforge.net | [email protected] | ProductVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| PHP Timeclock | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 15, 2026 | New CVE Received | [email protected] |
Volerion