Skip to content

Redirection Detection

ID: wordpress-redirection

Severity: info

Author: ricardomaia

Tags: tech,wordpress,wp-plugin,top-100,top-200

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

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/technologies/wordpress/plugins/redirection.yaml"

View on Github