Files
nuclei-templates/http/technologies/wordpress/plugins/meta-box.yaml
2024-11-06 05:54:50 +00:00

50 lines
1.2 KiB
YAML

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