CVE-2021-47966

HIGH

PHP Timeclock 1.04 SQL Injection via login.php

Title source: cna
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2021-47966. PoCs published by Tyler Butler.

AI-analyzed exploit summary This exploit demonstrates SQL injection vulnerabilities in PHP Timeclock 1.04 via the login_userid parameter, providing both boolean-based and time-based payloads. It includes sqlmap commands to exploit the vulnerability and dump database contents.

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.

Exploits (1)

exploitdb WORKING POC
by Tyler Butler · textwebappsphp
https://www.exploit-db.com/exploits/49849

This exploit demonstrates SQL injection vulnerabilities in PHP Timeclock 1.04 via the login_userid parameter, providing both boolean-based and time-based payloads. It includes sqlmap commands to exploit the vulnerability and dump database contents.

Classification
Working Poc 95%
Attack Type
Sqli
Complexity
Trivial
Reliability
Reliable
Target: PHP Timeclock 1.04
No auth needed
Prerequisites: Access to the login.php endpoint · sqlmap tool
devstral-2 · analyzed May 16, 2026 Full analysis →

References (4)

Core 4
Core References
Exploit exploit
ExploitDB-49849
https://www.exploit-db.com/exploits/49849
Product product
Official Product Homepage
http://timeclock.sourceforge.net
Third Party Advisory third-party-advisory
VulnCheck Advisory: PHP Timeclock 1.04 SQL Injection via login.php
https://www.vulncheck.com/advisories/php-timeclock-sql-injection-via-login-php

Scores

CVSS v3 8.2
EPSS 0.0027
EPSS Percentile 18.4%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-89
Status published
Products (1)
Timeclock/PHP Timeclock 1.04
Published May 15, 2026
Tracked Since May 16, 2026