Zenitel Connect
Zenitel Connect pREST API adopts arbitrary PostgreSQL role from unvalidated JWT sub claim
The pREST database REST API in Zenitel Connect firmware before 1.11.0 signs and verifies JWTs with the platform CA private key, which is stored on a data volume shared between containers, and sets the PostgreSQL session role from the unvalidated sub claim of each request while connected to the database as the "postgres" superuser, which allows local attackers who can read the platform CA private key from the container filesystem to execute database operations as the PostgreSQL superuser, including reading the master encryption key and password hashes, via a forged JWT with sub=postgres sent to the pREST API.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.11.0
Fixed in 1.11.0
Mitigation
Upgrade to version 1.11.0
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.