nuclei-templates/http/technologies/wordpress/plugins/fast-indexing-api.yaml

50 lines
1.3 KiB
YAML

id: wordpress-fast-indexing-api
info:
name: Instant Indexing for Google Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/fast-indexing-api/
metadata:
max-request: 1
plugin_namespace: fast-indexing-api
wpscan: https://wpscan.com/plugin/fast-indexing-api
tags: tech,wordpress,wp-plugin,top-200
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/fast-indexing-api/readme.txt"
payloads:
last_version: helpers/wordpress/plugins/fast-indexing-api.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: 490a0046304402205b83c13ee0287889d0862d81c1edcb80ca2fc3e71831b37248ff6ef40c5202a20220472b6d4c29d731e27fdd0d1b63cfb9eeaf4ed05069d08e25b44fe1e8cf0c1904:922c64590222798bb761d5b6d8e72950