CVE-2023-30179 Code injection in n/a
Authenticated administrators can inject Twig templates into user settings, leading to remote code execution, though the vendor disputes this as intended behavior.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-30179?
CVE-2023-30179 is a high-severity code injection vulnerability in Craftcms Craft Cms, published on 13 Jun 2023. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-94
Which versions are affected by CVE-2023-30179?
It affects 1 product.
Products include Craftcms Craft Cms.
How do I fix CVE-2023-30179?
No fix has been published for CVE-2023-30179 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2023-30179 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-30179 exists.