50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
id: wordpress-meta-box
|
||
|
||
info:
|
||
name: Meta Box – WordPress Custom Fields Framework Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/meta-box/
|
||
metadata:
|
||
max-request: 1
|
||
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: 490a00463044022061f3072cc224c47dd1b8fe9467335b2b92f0d005767961a1afbf75a0a4afe5de022059b2a47f07ca04db3e9813238d883d58d4d62d09dafbd39869e11402bd93fc00:922c64590222798bb761d5b6d8e72950 |