id: proxy-wpad-exposure

info:
  name: Web Proxy Auto-Discovery Configuration File - Detect
  author: DhiyaneshDk
  severity: info
  description: Web Proxy Auto-Discovery configuration file was detected.
  reference: https://en.wikipedia.org/wiki/Web_Proxy_Auto-Discovery_Protocol
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cvss-score: 0
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
    shodan-query: html:"wpad.dat"
  tags: config,exposure,proxy

http:
  - method: GET
    path:
      - "{{BaseURL}}/wpad.dat"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "FindProxyForURL"
          - "url"
          - "host"
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022067c34e62f19c695cf025d50dc0fc86c1b73e165a6057a3c9ef1defbc97a4da38022038c42413b3f536cdd9a0a850e62c09160fe22011c22200be3ee438843f4ad332:922c64590222798bb761d5b6d8e72950