id: front-page-misconfig

info:
  name: FrontPage configuration information discloure
  author: JTeles,pikpikcu
  severity: info
  reference:
    - https://docs.microsoft.com/en-us/archive/blogs/fabdulwahab/security-protecting-sharepoint-server-applications
  metadata:
    max-request: 2
  tags: misconfig,exposure,frontpage

http:
  - method: GET
    path:
      - "{{BaseURL}}/_vti_inf.html"
      - "{{BaseURL}}/_vti_pvt/service.cnf"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "vti_extenderversion:"
          - "FPVersion="
        part: body

      - type: status
        status:
          - 200

# digest: 4b0a00483046022100d69f57a9bfd1f25907c680bf6bc30b253df7696973620d27b8ca40f6ef3d55110221009e7b2d0a12ea727575bc66c1509c500c8cd08b5955d9206c2585ba1bad271081:922c64590222798bb761d5b6d8e72950
