{"id":"CVE-2025-66306","aliases":["CVE-2025-66306","GHSA-4cwq-j7jv-qmwg"],"related":[],"kind":"vulnerability","state":"published","title":"Grav vulnerable to Information Disclosure via IDOR in Grav Admin Panel","summary":"Grav is a file-based Web platform. Prior to 1.8.0-beta.27, there is an IDOR (Insecure Direct Object Reference) vulnerability in the Grav CMS Admin Panel which allows low-privilege users to access sensitive information from other accounts. Although direct account takeover is not possible, admin email addresses and other metadata can be exposed, increasing the risk of phishing, credential stuffing, and social engineering. This vulnerability is fixed in 1.8.0-beta.27.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Grav is a file-based Web platform. Prior to 1.8.0-beta.27, there is an IDOR (Insecure Direct Object Reference) vulnerability in the Grav CMS Admin Panel which allows low-privilege users to access sensitive information from other accounts. Although direct account takeover is not possible, admin email addresses and other metadata can be exposed, increasing the risk of phishing, credential stuffing, and social engineering. This vulnerability is fixed in 1.8.0-beta.27.","source":"cvelist"},{"lang":"en","text":"## **Summary**\n\nAn **IDOR (Insecure Direct Object Reference)** vulnerability in the Grav CMS Admin Panel allows **low-privilege users to access sensitive information** from other accounts.\nAlthough direct account takeover is not possible, **admin email addresses and other metadata can be exposed**, increasing the risk of phishing, credential stuffing, and social engineering.\n\n---\n\n## **Details**\n\n* **Endpoint:** `/admin/accounts/users/{username}`\n* **Tested Version:** Grav Admin 1.7.48\n* **Affected Accounts:** Authenticated users with **0 privileges** (non-privileged accounts)\n\n**Description:**\nRequesting another user’s account details (e.g., `/admin/accounts/users/admin`) as a low-privilege user returns an HTTP **403 Forbidden** response.\nHowever, sensitive information such as the **admin’s email address** is still present in the **response source**, specifically in the `<title>` tag.\n\n**system/src/Grav/Common/Flex/Types/Users/UserCollection.php**\n<img width=\"700\" height=\"327\" alt=\"Screenshot 2025-08-24 021027\" src=\"https://github.com/user-attachments/assets/7e69ae49-d8fc-442f-b00c-9efaec706b2e\" />\n\n**system/blueprints/flex/user-accounts.yaml**\n<img width=\"700\" height=\"300\" alt=\"Screenshot 2025-08-24 020521\" src=\"https://github.com/user-attachments/assets/756631c8-d60b-4b84-a08a-2a9c2f81b41f\" />\n\n\nThis is a classic **IDOR vulnerability**, where object references (usernames) are not properly protected from unauthorized enumeration.\n\n---\n\n## **PoC**\n\n1. Log in as a **non-privileged user** (0-privilege account).\n2. Access another user’s endpoint, for example:\n\n   ```\n   GET /admin/accounts/users/admin\n   ```\n3. Observe the HTTP **403 Forbidden** response.\n4. Inspect the **page source**; sensitive data such as the **admin email** can be seen in the `<title>` tag.\n\n**PoC Video:** \n\n[https://drive.google.com/file/d/1lY_qwqSkN5sPNmHvXGOk6R1mdIgVt71H/view](https://drive.google.com/file/d/1lY_qwqSkN5sPNmHvXGOk6R1mdIgVt71H/view)\n\n---\n\n## **Impact**\n\n* **Type:** Information Disclosure via IDOR\n* **Who is impacted:** Low-privilege authenticated users can enumerate other accounts and extract sensitive metadata (admin emails).\n* **Risk:** Exposed information can be used for targeted phishing, credential stuffing, brute-force attacks, or social engineering campaigns.\n* **Severity Justification:** Only a low-privilege account is required, and sensitive metadata is leaked. Arbitrary code execution is not possible, but the information exposure is **moderate risk**.\n\n---\n\n## **Disclosure & CVE Request**\n\n* We request a **CVE ID** for this vulnerability once validated.\n* Please credit the discovery to:\n\n  * **Elvin Nuruyev**\n  * **Kanan Farzalili**","format":"markdown","source":"ghsa"},{"lang":"es","text":"Grav es una plataforma web basada en archivos. Versiones anteriores a 1.8.0-beta.27, existe una vulnerabilidad IDOR (Insecure Direct Object Reference) en el Panel de Administración de Grav CMS que permite a usuarios con bajos privilegios acceder a información sensible de otras cuentas. Aunque la toma de control directa de cuentas no es posible, las direcciones de correo electrónico de administradores y otros metadatos pueden quedar expuestos, aumentando el riesgo de phishing, relleno de credenciales (credential stuffing) e ingeniería social. Esta vulnerabilidad está corregida en 1.8.0-beta.27.","source":"nvd"}],"published":"2025-12-01T21:46:00.875Z","modified":"2026-09-26T00:10:00.127Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","score":4.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-639"],"affected":[{"ranges":[{"version":"< 1.8.0-beta.27","status":"affected"}],"vendor":"getgrav","product":"grav","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.8.0-beta.27"}],"ecosystem":"Packagist","package":"getgrav/grav","purl":"pkg:composer/getgrav/grav","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"1.7.48","fixed":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"},{"status":"affected","version":"1.8.0"}],"vendor":"getgrav","product":"grav","cpe":"cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-4cwq-j7jv-qmwg","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/getgrav/grav/commit/b7e1958a6e807ac14919447b60e5204a2ea77f62","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66306","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/getgrav/grav","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-12-02T20:11:21.578Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66306","url":"https://www.cve.org/CVERecord?id=CVE-2025-66306","licence":"CVE Terms of Use","modified":"2025-12-02T20:11:28.148Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4cwq-j7jv-qmwg","url":"https://github.com/advisories/GHSA-4cwq-j7jv-qmwg","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:31.294Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66306","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66306","licence":"Public domain","modified":"2026-09-26T00:10:00.127Z"}],"updatedAt":"2026-11-25T22:59:08.147Z","epss":{"score":0.00459,"percentile":0.31791,"date":"2026-11-30T12:00:22.000Z"}}