nuclei-templates/http/technologies/wordpress/plugins/broken-link-checker.yaml

52 lines
1.3 KiB
YAML

id: wordpress-broken-link-checker
info:
name: Broken Link Checker Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/broken-link-checker/
metadata:
max-request: 1
plugin_namespace: broken-link-checker
wpscan: https://wpscan.com/plugin/broken-link-checker
tags: tech,wordpress,wp-plugin,top-100,top-200
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/broken-link-checker/readme.txt"
payloads:
last_version: helpers/wordpress/plugins/broken-link-checker.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: 4a0a0047304502210098c11ec926fe2021e4dcf3f59dbd3339f5f6c6985f07834d7617524f0d776645022052fc177c323a94f38ebbf1b2a77df0f317291355aef84d58710bb5199f0a8885:922c64590222798bb761d5b6d8e72950