Vulnerability Description
CraftCMS version 3.7.59 is vulnerable to Server-Side Template Injection (SSTI). An authenticated attacker can inject Twig Template to User Photo Location field when setting User Photo Location in User Settings, lead to Remote Code Execution. NOTE: the vendor disputes this because only Administrators can add this Twig code, and (by design) Administrators are allowed to do that by default.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Craftcms | Craft Cms | 3.7.59 |
Related Weaknesses (CWE)
References
- https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injeExploitThird Party Advisory
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14Release Notes
- https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714
- https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200
- https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injeExploitThird Party Advisory
- https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14Release Notes
- https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714
- https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200
FAQ
What is CVE-2023-30179?
CVE-2023-30179 is a vulnerability with a CVSS score of 7.2 (HIGH). CraftCMS version 3.7.59 is vulnerable to Server-Side Template Injection (SSTI). An authenticated attacker can inject Twig Template to User Photo Location field when setting User Photo Location in User...
How severe is CVE-2023-30179?
CVE-2023-30179 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-30179?
Check the references section above for vendor advisories and patch information. Affected products include: Craftcms Craft Cms.