sharepoint-lists-api-disclosure: Microsoft SharePoint - List API Disclosure

2025-12-12 Microsoft SharePoint PoC Public

Description

Detected exposed SharePoint lists-api endpoint without proper authentication, exposing site content and metadata.

PoC

id: sharepoint-lists-api-disclosure

info:
  name: Microsoft SharePoint - List API Disclosure
  author: theamanrawat
  severity: low
  description: |
    Detected exposed SharePoint lists-api endpoint without proper authentication, exposing site content and metadata.
  reference:
    - https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-lists-and-list-items-with-rest
  metadata:
    verified: true
    max-request: 1
    vendor: microsoft
    product: sharepoint
    shodan-query: http.title:"SharePoint"
    fofa-query: title="SharePoint"
  tags: sharepoint,microsoft,exposure,misconfig,discovery

http:
  - method: GET
    path:
      - "{{BaseURL}}/_api/web/lists"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains_all(body, "TemplateFeatureId","d:ParentWebUrl", "Web/Lists")'
        condition: and
# digest: 4b0a00483046022100a7539a5a290ced65b9b6fcf9d4896f4f4a7823b9fa66ad09b2bc82aa498e6e51022100af6020fc7e622be5556d8919f9d5cf89cce2b698e259f768c50c0c2b5a63382e:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities