mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-10 12:43:29 +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:
|
|
max-request: 1
|
|
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: 490a0046304402200b55f5e57821b8f920b1db60cfaca4385c0e9910f384304ce4d533816f1dbc9d022074b64dc021c510c96ba31ebf4d66e2d046b33b1c10b13c08b3d16b323a92f1d4:922c64590222798bb761d5b6d8e72950 |