OpenHealth through 0.2.0 Missing Authentication via /api/health-data/[id] Route
OpenHealthForAll OpenHealth
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| OpenHealthForAll OpenHealth |
| No fix yet |
Original description
OpenHealth through 0.2.0 contains a missing authentication and authorization vulnerability in the /api/health-data/[id] GET, PATCH and DELETE handlers that query records by id without session or authorId checks. Unauthenticated attackers who know a HealthData record id can read another user's medical record data and file metadata, overwrite it with arbitrary JSON, or delete it.
From the CVE record · VulnCheck