Files
nuclei-templates/http/technologies/wordpress/plugins/flamingo.yaml
2023-10-25 06:43:38 +00:00

50 lines
1.2 KiB
YAML

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