{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-27923","id":"CVE-2024-27923","title":"Remote Code Execution by uploading a phar file using frontmatter","description":"Grav is a content management system (CMS). Prior to version 1.7.43, users who may write a page may use the `frontmatter` feature due to insufficient permission validation and inadequate file name validation. This may lead to remote code execution. Version 1.7.43 fixes this issue.","descriptionLong":"Grav is a content management system (CMS). Prior to version 1.7.43, users who may write a page may use the `frontmatter` feature due to insufficient permission validation and inadequate file name validation. This may lead to remote code execution. Version 1.7.43 fixes this issue.","published":"2024-03-06T20:28:46.695Z","updated":"2026-10-28T02:30:38.608660357Z","reserved":"2024-02-28T15:14:14.214Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["getgrav grav"],"affectedProducts":[{"vendor":"getgrav","product":"grav","defaultStatus":null,"versions":[{"version":"< 1.7.43","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"getgrav/grav","purl":"pkg:composer/getgrav/grav","ranges":["<1.7.43"],"fixed":["1.7.43"],"advisory":"GHSA-f6g2-h7qv-3m5v"}],"cwes":["CWE-287","CWE-434"],"aliases":["GHSA-f6g2-h7qv-3m5v"],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-f6g2-h7qv-3m5v","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/getgrav/grav/commit/e3b0aa0c502aad251c1b79d1ee973dcd93711f07","tags":["x_refsource_MISC","x_transferred","Patch","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27923.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27923","tags":["advisory"]},{"url":"https://github.com/getgrav/grav","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.01357,"epssPercentile":0.72268,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-27923","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27923","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-27923","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f6g2-h7qv-3m5v","ok":true,"note":"GHSA-f6g2-h7qv-3m5v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-27923","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}