50 lines
1.4 KiB
YAML
50 lines
1.4 KiB
YAML
id: wordpress-malcare-security
|
||
|
||
info:
|
||
name: MalCare WordPress Security Plugin – Malware Scanner, Cleaner, Security Firewall Detection
|
||
author: ricardomaia
|
||
severity: info
|
||
reference:
|
||
- https://wordpress.org/plugins/malcare-security/
|
||
metadata:
|
||
max-request: 1
|
||
plugin_namespace: malcare-security
|
||
wpscan: https://wpscan.com/plugin/malcare-security
|
||
tags: tech,wordpress,wp-plugin,top-200
|
||
|
||
http:
|
||
- method: GET
|
||
path:
|
||
- "{{BaseURL}}/wp-content/plugins/malcare-security/readme.txt"
|
||
|
||
payloads:
|
||
last_version: helpers/wordpress/plugins/malcare-security.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: 4b0a0048304602210092362d8bc1378d7c07394061a5f1b243e4e6c4f943193646c7c795e4c99f350d022100f4c73c31bc704829d6f9bea6fe07d0e380e2ee11f9ec864afb0885c0ffabfff1:922c64590222798bb761d5b6d8e72950 |