id: wp-install

info:
  name: WordPress Exposed Installation
  author: princechaddha,0xpugal
  severity: critical
  description: Wordpress installation files have been detected
  reference:
    - https://smaranchand.com.np/2020/04/misconfigured-wordpress-takeover-to-remote-code-execution/
    - https://x.com/0xPugal/status/1610315762392268802
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:H
    cvss-score: 9.4
    cwe-id: CWE-284
  metadata:
    max-request: 1
  tags: misconfig,panel,wordpress

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-admin/install.php?step=1"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>WordPress &rsaquo; Installation</title>"
          - "Site Title"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a0047304502206f1c384f005e25beb4183bc51668e7d98348040ebc7f8e355d812723c3fc6c82022100ca8356712f183466723b0d935c53c8f84d364d5d256734a140988a68e1475dc8:922c64590222798bb761d5b6d8e72950