# CVE-2021-47966: PHP Timeclock 1.04 SQL Injection via login.php

- Severity: High 8.8 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-15T18:36:32.224Z
- Modified: 2026-06-17T04:18:50.743Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- Timeclock PHP Timeclock: 1.04

## Every score

- VulnCheck: CVSS:4.0 8.8 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://www.exploit-db.com/exploits/49849> (exploit)
- <http://timeclock.sourceforge.net> (product)
- <https://sourceforge.net/projects/timeclock/files/PHP%20Timeclock/PHP%20Timeclock%201.04/> (product)
- <https://www.vulncheck.com/advisories/php-timeclock-sql-injection-via-login-php> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-47966](https://www.cve.org/CVERecord?id=CVE-2021-47966), CVE Terms of Use, modified 2026-05-15
- NVD: [CVE-2021-47966](https://nvd.nist.gov/vuln/detail/CVE-2021-47966), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47966 · Whole record: https://cve.day/CVE-2021-47966.json · Rebuilt by cve.day 2026-11-25T22:58:09.107Z
