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

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