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
    product: wordpress
    vendor: wordpress
  tags: panel,wordpress

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