nuclei-templates/http/exposed-panels/drupal-login.yaml

44 lines
1.2 KiB
YAML

id: drupal-login
info:
name: Drupal Login Panel - Detect
author: pathtaga
severity: info
description: Drupal login panel was detected.
classification:
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
cwe-id: CWE-200
cpe: cpe:2.3:a:drupal:drupal:*:*:*:*:*:*:*:*
metadata:
max-request: 2
vendor: drupal
product: drupal
shodan-query:
- http.component:"drupal"
- cpe:"cpe:2.3:a:drupal:drupal"
tags: panel,drupal
http:
- method: GET
path:
- "{{BaseURL}}"
- "{{BaseURL}}/user/login"
stop-at-first-match: true
matchers-condition: or
matchers:
- type: regex
part: body
regex:
- '<(?:link|style)[^>]+"/sites/(?:default|all)/(?:themes|modules)/'
- '<[^>]+(?:id="block[_-]commerce[_-]cart[_-]cart|class="commerce[_-]product[_-]field)'
condition: or
- type: regex
part: header
regex:
- '(?i)x-drupal'
- "(?i)x-generator: drupal"
condition: or
# digest: 4b0a004830460221008fdf2cb9d64b8de987b2e471dcd2a56510fbac1a8d4437cf7a85a07304c5c524022100ad0973ec6bb48acc2c6969522b15354c111d0581968029cf044e6a4fd027e1e8:922c64590222798bb761d5b6d8e72950