IDOR in OZ Forensics face recognition application(CVE-2025-32367)
An unauthenticated API endpoint returned a JSON list of URLs to sensitive identity documents, facial photos, and videos. An attacker could query this endpoint to download all available personal data without authentication.
medium.com
Published on medium.com
During a penetration test conducted for a third-party organization, our security team discovered a critical vulnerability in a component of their infrastructure that utilized OZ Forensics — a biometric identity verification solution used for facial recognition and document validation.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the endpoint lacked authentication and object-level access controls, so it returned a full list of sensitive file URLs to any unauthenticated requester.
Impact
An unauthenticated attacker could access sensitive personally identifiable information, including government-issued documents and biometric data, leading to identity theft and regulatory violations.
What the attacker needed
None
The fix
The issue was reportedly fixed before the start of 2024, but the version number remained unchanged; recommended mitigations include enforcing authentication and authorization, and disabling or removing the endpoint if not needed.
How it was found
- Send a request to the publicly accessible GET /statistic/list endpoint.
- The API returns a large dataset including device metadata, user/session IDs, and URLs to passport/ID images and facial recognition videos.
- Use the returned URLs to download the sensitive files.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
An IDOR (Insecure Direct Object Reference) happens when a program lets you access data just by asking for it, without checking if you are allowed. Here, a web address that lists statistics was open to anyone and included links to private files like passport scans and face photos. Anyone who found that address could download those files.
What is IDOR?
One user can read or change another user's data, usually by changing an identifier the server trusts without checking who is asking. One of the most paid bug classes on web programs.