CVE-2021-29440
Last modified
CVE-2021-29440 is a high-severity vulnerability rated 7.2/10 on the CVSS scale. Grav is a file based Web-platform. Twig processing of static pages can be enabled in the front matter by any administrative user allowed to create or edit pages. EPSS estimates a 30.62% chance of exploitation in the next 30 days.
Description
Grav is a file based Web-platform. Twig processing of static pages can be enabled in the front matter by any administrative user allowed to create or edit pages. As the Twig processor runs unsandboxed, this behavior can be used to gain arbitrary code execution and elevate privileges on the instance. The issue was addressed in version 1.7.11.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Getgrav | Grav | < 1.7.11 |
References
- http://packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.htmlExploit, Third Party Advisory, VDB Entry
- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilitiesExploit, Third Party Advisory
- https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxcThird Party Advisory
- https://packagist.org/packages/getgrav/gravProduct, Third Party Advisory
- http://packetstormsecurity.com/files/162987/Grav-CMS-1.7.10-Server-Side-Template-Injection.htmlExploit, Third Party Advisory, VDB Entry
- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilitiesExploit, Third Party Advisory
- https://github.com/getgrav/grav/security/advisories/GHSA-g8r4-p96j-xfxcThird Party Advisory
- https://packagist.org/packages/getgrav/gravProduct, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-29440?
How severe is CVE-2021-29440?
How do I fix CVE-2021-29440?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-29434Wagtail is a Django content management system. In affected v…4.8
- CVE-2021-29435trestle-auth is an authentication plugin for the Trestle adm…6.5
- CVE-2021-29436Anuko Time Tracker is an open source, web-based time trackin…8.1
- CVE-2021-29437ScratchOAuth2 is an Oauth implementation for Scratch. Any Sc…6.8
- CVE-2021-29438The Nextcloud dialogs library (npm package @nextcloud/dialog…5.4
- CVE-2021-29439The Grav admin plugin prior to version 1.10.11 does not corr…7.2
- CVE-2021-29441Nacos is a platform designed for dynamic service discovery a…9.8
- CVE-2021-29442Nacos is a platform designed for dynamic service discovery a…7.5
- CVE-2021-29443jose is an npm library providing a number of cryptographic o…5.9
- CVE-2021-29444jose-browser-runtime is an npm package which provides a numb…5.9
- CVE-2021-29445jose-node-esm-runtime is an npm package which provides a num…5.9
- CVE-2021-29446jose-node-cjs-runtime is an npm package which provides a num…5.9
Are you affected by CVE-2021-29440?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
