50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
id: wordpress-svg-support
|
|
|
|
info:
|
|
name: SVG Support Detection
|
|
author: ricardomaia
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/svg-support/
|
|
metadata:
|
|
max-request: 1
|
|
plugin_namespace: svg-support
|
|
wpscan: https://wpscan.com/plugin/svg-support
|
|
tags: tech,wordpress,wp-plugin,top-100,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/svg-support/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/svg-support.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: 4a0a00473045022100ebb24ae2960ee4fdadab64f48107b2087e87e91646f2ac1a7c8287fa14a8a87102200bb643fdfcf8a58a9e365b09bb54e6bc01b6d9c02caef622522fda39fca73f4b:922c64590222798bb761d5b6d8e72950 |