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