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: 4a0a0047304502210088b02644f9e21b1e5994d3e0670f2d4b1f4106cc3c469b64cc2de01e666d094f022043ae76e41ec6fd18a5cd515a82a60aa40505c1e5e67c82222a06020fb947c6bc:922c64590222798bb761d5b6d8e72950