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,vuln

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: 490a00463044022035fa9a03c2f5f87fa0766f05d201ae1d2bf72313f34ae35e53b4f9064cd41b8502203a870ee8626f24b354e1006089dc8dd930cbb56bcae0d9071fc439264defb0fe:922c64590222798bb761d5b6d8e72950