mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-12 21:53:39 +08:00
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
id: wordpress-elementor
|
||
|
||
info:
|
||
name: Elementor Website Builder – More than Just a Page Builder Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/elementor/
|
||
metadata:
|
||
max-request: 1
|
||
plugin_namespace: elementor
|
||
wpscan: https://wpscan.com/plugin/elementor
|
||
tags: tech,wordpress,wp-plugin,top-100,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/elementor/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/elementor.txt
|
||
|
||
extractors:
|
||
- type: regex
|
||
part: body
|
||
internal: true
|
||
name: internal_detected_version
|
||
group: 1
|
||
regex:
|
||
- '(?i)Stable.tag:\s?([\w.]+)'
|
||
|
||
- type: regex
|
||
part: body
|
||
name: detected_version
|
||
group: 1
|
||
regex:
|
||
- '(?i)Stable.tag:\s?([\w.]+)'
|
||
|
||
matchers-condition: or
|
||
matchers:
|
||
- type: dsl
|
||
name: "outdated_version"
|
||
dsl:
|
||
- compare_versions(internal_detected_version, concat("< ", last_version))
|
||
|
||
- type: regex
|
||
part: body
|
||
regex:
|
||
- '(?i)Stable.tag:\s?([\w.]+)'
|
||
# digest: 490a0046304402206f0f8b8f3c5e4c22f9d64e4f2c32aa1f32ba01ac8c79818ddfbc9a386ed94c5002206d61354a8bf789ab5c9f1127091f15bc4aef1a136f2116180cacdc16a73dc2db:922c64590222798bb761d5b6d8e72950 |