50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
id: wordpress-under-construction-page
|
|
|
|
info:
|
|
name: Under Construction Detection
|
|
author: ricardomaia
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/under-construction-page/
|
|
metadata:
|
|
max-request: 1
|
|
plugin_namespace: under-construction-page
|
|
wpscan: https://wpscan.com/plugin/under-construction-page
|
|
tags: tech,wordpress,wp-plugin,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/under-construction-page/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/under-construction-page.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: 490a00463044022029c1a49c952cc78d76ea2b4a1beb5e3f4df8e95ec228f3e08dfe4b10fb88395d02203300ef0e950410b9ee10f7d4e0299ce8b38d59e7168eeb60b2a35b71f4358f81:922c64590222798bb761d5b6d8e72950 |