id: wordpress-ad-inserter info: name: Ad Inserter – Ad Manager & AdSense Ads Detection author: ricardomaia severity: info reference: - https://wordpress.org/plugins/ad-inserter/ metadata: max-request: 1 plugin_namespace: ad-inserter wpscan: https://wpscan.com/plugin/ad-inserter tags: tech,wordpress,wp-plugin,top-200 http: - method: GET path: - "{{BaseURL}}/wp-content/plugins/ad-inserter/readme.txt" payloads: last_version: helpers/wordpress/plugins/ad-inserter.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: 4a0a00473045022100c65ecba1a87b2d94ccf4c83c302e8141bedfa6b680decb8b4a258f9d970c0c3a022059bec612568cf9cd4ff4b824d03a6218f9c008e744481cab94c1fbe4684c0eb4:922c64590222798bb761d5b6d8e72950