photoprism-default-login: PhotoPrism - Default Login
- Template: photoprism-default-login
- Name: PhotoPrism - Default Login
- Description: PhotoPrism is an AI-powered photos app for the decentralized web. This template detects instances using default credentials (admin:admin321).
- Severity: high
- Authors: ritikchaddha
- Tags: photoprism, default-login, misconfig, vuln
- References: https://docs.photoprism.app/getting-started/
- Verified: yes
- Max requests: 2
- Directory: http/default-logins
- Path: http/default-logins/photoprism-default-login.yaml
- Digest: 4a0a0047304502205318cfc8caf67b0a3b4ec350dd72715a12525bdd48852395a37eecc9dc93df1d022100960e54b259db79c397b2992a8fa007dff24873268fe69210ce3615a255394532
- Created at: 2025-06-17T08:13:45Z
- Updated at: 2025-10-26T16:17:37Z
- Age in days: 526
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/default-logins/photoprism-default-login.yaml
- Checked, none or zero: cves, products
- Not known: impact, remediation
Classification
- Checked, none or zero: cwe
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Fofa-query: title="PhotoPrism"
- Max-request: 2
- Shodan-query: title:"PhotoPrism"
- Verified: yes
Labels
- Name: PhotoPrism - Default Login
- Impact: Attackers can gain unauthorized access to PhotoPrism instances, potentially leading to full control and data exposure.
- Remediation: Change the default admin password from admin321 to a strong, unique password.
- Vulnerability type: hardcoded_credentials
- Vulnerability impact: information_disclosure, privilege_escalation
- Requirement type: none
- Labels source: securitycontext
- Not known: requirements, from cve
```yaml
id: photoprism-default-login
info:
name: PhotoPrism - Default Login
author: ritikchaddha
severity: high
description: |
PhotoPrism is an AI-powered photos app for the decentralized web. This template detects instances using default credentials (admin:admin321).
reference:
- https://docs.photoprism.app/getting-started/
metadata:
verified: true
max-request: 2
shodan-query: title:"PhotoPrism"
fofa-query: title="PhotoPrism"
tags: photoprism,default-login,misconfig,vuln
variables:
username: admin
password: admin321
http:
- raw:
- |
POST /api/v1/session HTTP/1.1
Host: {{Hostname}}
Content-Type: application/json
{"username":"{{username}}","password":"{{password}}","code":""}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains_all(body, "access_token\":", "config\":{")'
- 'contains(content_type, "application/json")'
condition: and
digest: 4a0a0047304502205318cfc8caf67b0a3b4ec350dd72715a12525bdd48852395a37eecc9dc93df1d022100960e54b259db79c397b2992a8fa007dff24873268fe69210ce3615a255394532:922c64590222798bb761d5b6d8e72950
```