Skip to content

Redirection for Contact Form 7 Detection

ID: wordpress-wpcf7-redirect

Severity: info

Author: ricardomaia

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

id: wordpress-wpcf7-redirect
info:
name: Redirection for Contact Form 7 Detection
author: ricardomaia
severity: info
reference:
- https://wordpress.org/plugins/wpcf7-redirect/
metadata:
plugin_namespace: wpcf7-redirect
wpscan: https://wpscan.com/plugin/wpcf7-redirect
tags: tech,wordpress,wp-plugin,top-200
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/wpcf7-redirect/readme.txt"
payloads:
last_version: helpers/wordpress/plugins/wpcf7-redirect.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: 4a0a00473045022100f215fe62b322d5aa8d28b377221df438dce018bcdd30915866ba7bc9aa0772ee0220365a44dee298e0b9cdddc7018941e0653a23ac49809e8b162aa1d2adc095dbe1: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/wpcf7-redirect.yaml"

View on Github