52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
id: wordpress-really-simple-captcha
|
|
|
|
info:
|
|
name: Really Simple CAPTCHA Detection
|
|
author: ricardomaia
|
|
severity: info
|
|
reference:
|
|
- https://wordpress.org/plugins/really-simple-captcha/
|
|
metadata:
|
|
max-request: 1
|
|
plugin_namespace: really-simple-captcha
|
|
wpscan: https://wpscan.com/plugin/really-simple-captcha
|
|
tags: tech,wordpress,wp-plugin,top-200
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/wp-content/plugins/really-simple-captcha/readme.txt"
|
|
|
|
payloads:
|
|
last_version: helpers/wordpress/plugins/really-simple-captcha.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: 4b0a00483046022100d90ff5a795b6c8057b5dfaa3000a3b0dfadcdec2d24cb2d80e8a0ed3263f269f02210082a55a084a607e4aa43c1e90361f29b2aeb367260dd7c353ec5c23ee1aa32a03:922c64590222798bb761d5b6d8e72950
|