id: wordpress-login

info:
  name: WordPress Login Panel - Detect
  author: its0x08
  severity: info
  description: WordPress 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:wordpress:wordpress:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: wordpress
    product: wordpress
    shodan-query:
      - http.component:"wordpress"
      - cpe:"cpe:2.3:a:wordpress:wordpress"
  tags: panel,wordpress,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-login.php"

    matchers:
      - type: word
        words:
          - "WordPress</title>"
          - "Log In</title>"
          - '/wp-login.php?action=lostpassword">Lost your password?</a>'
          - '<form name="loginform" id="loginform" action="{{BaseURL}}/wp-login.php"
            method="post">'
        condition: or
# digest: 4b0a00483046022100c0881ec0e4789dfdddf19f1dcead00201ed6806b466c00a453d8ef7739008d3a022100bc7a4bc4e5bd65ab4bb9610a99797f41e57013fc72d1eb244624a18841f080d2:922c64590222798bb761d5b6d8e72950