Skip to content

Ad Inserter – Ad Manager & AdSense Ads Detection

ID: wordpress-ad-inserter

Severity: info

Author: ricardomaia

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

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:
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: 4b0a00483046022100fb96cea7c70d92b59c6ea32665bc91f3a72515ec0e8079219d8ada4024155f3d022100ca241bf267a955e75144dbba2d360e7c7b6a2c2703ac4b1b615d18b1dbcb4fb7: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/ad-inserter.yaml"

View on Github