漏洞描述
PhotoPrism is an AI-powered photos app for the decentralized web. This template detects instances that are accessible without authentication, potentially exposing sensitive user data and photos.
id: photoprism-unauth
info:
name: PhotoPrism - Unauth Access
author: ritikchaddha
severity: high
description: |
PhotoPrism is an AI-powered photos app for the decentralized web. This template detects instances that are accessible without authentication, potentially exposing sensitive user data and photos.
reference:
- https://docs.photoprism.app/getting-started/
metadata:
verified: true
max-request: 1
shodan-query: title:"PhotoPrism"
fofa-query: title="PhotoPrism"
tags: photoprism,misconfig,unauth,vuln
http:
- raw:
- |
GET /api/v1/config HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(body, "mode\":\"user", "PhotoPrism")'
- 'contains(content_type, "application/json")'
condition: and
# digest: 4b0a00483046022100ecaf999eaf3b252405db89b30708233fb97a6e59ac9ab1613a36499eed0200ff022100a0a831d4e269a73c72e00dd97638862b5969f905ac19d12205a2431e1b95bb62:922c64590222798bb761d5b6d8e72950