id: alfacgiapi-wordpress

info:
  name: alfacgiapi
  author: pussycat0x
  severity: low
  description: Searches for sensitive directories present in the alfacgiapi plugin.
  reference: https://www.exploit-db.com/ghdb/6999
  metadata:
    max-request: 4
  tags: wordpress,listing

http:
  - method: GET
    path:
      - "{{BaseURL}}/wp-includes/ALFA_DATA/"
      - "{{BaseURL}}/wp-content/uploads/alm_templates/ALFA_DATA/alfacgiapi/"
      - "{{BaseURL}}/ALFA_DATA/alfacgiapi/"
      - "{{BaseURL}}/cgi-bin/ALFA_DATA/alfacgiapi/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Index of"

      - type: word
        words:
          - "/wp-content/plugins/"
          - "/wp-includes/ALFA_DATA/"
          - "/ALFA_DATA/alfacgiapi/"
          - "/cgi-bin/ALFA_DATA/alfacgiapi/"
        condition: or

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