Vulnerability Details : CVE-2023-34251
Grav is a flat-file content management system. Versions prior to 1.7.42 are vulnerable to server side template injection. Remote code execution is possible by embedding malicious PHP code on the administrator screen by a user with page editing privileges. Version 1.7.42 contains a fix for this issue.
Vulnerability category: Execute code
Products affected by CVE-2023-34251
- cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-34251
0.39%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 73 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-34251
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
1.2
|
5.9
|
NIST | |
9.9
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
3.1
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2023-34251
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-34251
-
https://github.com/getgrav/grav/security/advisories/GHSA-f9jf-4cp4-4fq5
Server Side Template Injection (SSTI) · Advisory · getgrav/grav · GitHubExploit;Vendor Advisory
-
https://github.com/getgrav/grav/blob/develop/system/src/Grav/Common/Twig/Extension/GravExtension.php#L174
grav/system/src/Grav/Common/Twig/Extension/GravExtension.php at develop · getgrav/grav · GitHubVendor Advisory
-
https://github.com/getgrav/grav/commit/9d01140a63c77075ef09b26ef57cf186138151a5
Fix for dangerous tags in |map filter · getgrav/grav@9d01140 · GitHubPatch
Jump to