Files
nuclei-templates/http/technologies/wordpress/plugins/imsanity.yaml
2024-08-02 12:44:20 +00:00

49 lines
1.2 KiB
YAML

id: wordpress-imsanity
info:
name: Imsanity Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/imsanity/
metadata:
plugin_namespace: imsanity
wpscan: https://wpscan.com/plugin/imsanity
tags: tech,wordpress,wp-plugin,top-200
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/imsanity/readme.txt"
payloads:
last_version: helpers/wordpress/plugins/imsanity.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: 4a0a00473045022013d79193ece3c070a35a1e3255a08841870f696717da1688c98d4f4e25cc3e0c022100caa2c0df1c99a056fedc91908c8dd74d39e2f93f18a008b41e2d34a2953d2558:922c64590222798bb761d5b6d8e72950