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: 4a0a0047304502202c11068ec33e1e93276f2b642a8714758f1f7081f83ee03aa3fa258513eca523022100970663f6eb8d6ee8110d7866b856777e8434eebb914dca091d2f1d74648e0bef:922c64590222798bb761d5b6d8e72950