nuclei-templates/http/technologies/wordpress/plugins/elementskit-lite.yaml

50 lines
1.3 KiB
YAML

id: wordpress-elementskit-lite
info:
name: ElementsKit Elementor addons Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/elementskit-lite/
metadata:
max-request: 1
plugin_namespace: elementskit-lite
wpscan: https://wpscan.com/plugin/elementskit-lite
tags: tech,wordpress,wp-plugin,top-100,top-200
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/elementskit-lite/readme.txt"
payloads:
last_version: helpers/wordpress/plugins/elementskit-lite.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: 490a0046304402201211f0ba0dec9c1caed36aa6ce009e5193c28467717271e3cf944a8a09e4f77f02204c4a80871110c57050a1d23ab0231ffa5fc67018aa1b4a6947cd74bef262bdf3:922c64590222798bb761d5b6d8e72950