{"id":"CVE-2024-27923","state":"PUBLISHED","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.","publishedAt":"2024-03-06T20:28:46.695Z","updatedAt":"2024-08-02T18:35:36.095Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["getgrav grav"],"affected":[{"vendor":"getgrav","product":"grav","versions":[{"version":"< 1.7.43","status":"affected"}]}],"references":["https://github.com/getgrav/grav/security/advisories/GHSA-f6g2-h7qv-3m5v","https://github.com/getgrav/grav/commit/e3b0aa0c502aad251c1b79d1ee973dcd93711f07"],"weaknesses":["CWE-287","CWE-434"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/27xxx/CVE-2024-27923.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-27923","state":"PUBLISHED","datePublished":"2024-03-06T20:28:46.695Z","dateUpdated":"2024-08-02T18:35:36.095Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-02-28T15:14:14.214Z"},"containers":{"cna":{"title":"Remote Code Execution by uploading a phar file using frontmatter","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"getgrav","product":"grav","versions":[{"version":"< 1.7.43","status":"affected"}]}],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-f6g2-h7qv-3m5v","name":"https://github.com/getgrav/grav/security/advisories/GHSA-f6g2-h7qv-3m5v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/getgrav/grav/commit/e3b0aa0c502aad251c1b79d1ee973dcd93711f07","name":"https://github.com/getgrav/grav/commit/e3b0aa0c502aad251c1b79d1ee973dcd93711f07","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-287","lang":"en","description":"CWE-287: Improper Authentication","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-03-06T20:28:46.695Z"},"source":{"advisory":"GHSA-f6g2-h7qv-3m5v","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-f6g2-h7qv-3m5v","name":"https://github.com/getgrav/grav/security/advisories/GHSA-f6g2-h7qv-3m5v","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/getgrav/grav/commit/e3b0aa0c502aad251c1b79d1ee973dcd93711f07","name":"https://github.com/getgrav/grav/commit/e3b0aa0c502aad251c1b79d1ee973dcd93711f07","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:41:55.863Z"}},{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"getgrav","product":"grav","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.7.43","versionType":"custom"}],"cpes":["cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-02T18:34:03.665942Z","id":"CVE-2024-27923","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-02T18:35:36.095Z"}}]}}}