Grav 2.0.0 before 2.2.18 resolves Flex sort and filter field names by first calling them as public methods, so a field named delete invokes…
Grav 2.0.0 before 2.2.18 resolves Flex sort and filter field names by first calling them as public methods, so a field named delete invokes FlexObject::delete() without any permission check. Authenticated users with only list access can send GET /api/v1/flex-objects/user-accounts?sort=delete requests to delete every account, then use the reopened API first-run setup to create a super admin.
Read at NIST National Vulnerability Database (CVE API 2.0)
- Vendor
- Getgrav
- Product
- grav
- CVSS v3.1
- 8.8 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-470
- NVD status
- Deferred
Why it ranks 25 (Notable)
- CVSS v3.1 8.8 high
- Recency: items published within 24 hours gain 15, within 72 hours 6, within 7 days 2.