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

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