mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-12 21:53:39 +08:00
50 lines
1.3 KiB
YAML
50 lines
1.3 KiB
YAML
id: wordpress-wordpress-importer
|
|
|
|
info:
|
|
name: WordPress Importer Detection
|
|
author: ricardomaia
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/wordpress-importer/
|
|
metadata:
|
|
plugin_namespace: wordpress-importer
|
|
wpscan: https://wpscan.com/plugin/wordpress-importer
|
|
tags: tech,wordpress,wp-plugin,top-100,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/wordpress-importer/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/wordpress-importer.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: 4b0a00483046022100aeda54e833a99bf028148f9b912ae6c80bcf53497a1893f0f82f9acc9f3411bb022100e868fa3a7a2bd6f60ccd120da40922ad90b4cc7a43bb28014b016eaaf8ede104:922c64590222798bb761d5b6d8e72950 |