cve/2023/CVE-2023-34251.md

18 lines
894 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2023-34251](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-34251)
![](https://img.shields.io/static/v1?label=Product&message=grav&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3D%20%3C%201.7.42%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-94%3A%20Improper%20Control%20of%20Generation%20of%20Code%20('Code%20Injection')&color=brighgreen)
### Description
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.
### POC
#### Reference
- https://github.com/getgrav/grav/security/advisories/GHSA-f9jf-4cp4-4fq5
#### Github
No PoCs found on GitHub currently.