Grav
Grav: Low-privileged API users can create super-admin accounts via blueprint-upload
Grav is a file-based Web platform. In Grav 2.0.0-beta.2, a low-privileged authenticated API user with api.media.write can abuse /api/v1/blueprint-upload to write an arbitrary YAML file into user/accounts/, then log in as the newly created account with api.super privileges. This results in full administrative compromise of the Grav API. This vulnerability is fixed in API 1.0.0-beta.17.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by NVD · CWE-434
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
getgrav grav
- 2.0.0-beta.2
getgrav/grav (Packagist)
- < 2.0.0-beta.4
Fixed in 2.0.0-beta.4
from GitHub Security Advisory GHSA-6xx2-m8wv-756h
Mitigation
Upgrade getgrav/grav to 2.0.0-beta.4 or later.
References
- Vendor advisory github.com/getgrav/grav/security/advisories/GH…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.