CVE-2023-30179: Code Injection
DISPUTED 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.
Other sources
Withdrawn This advisory has been withdrawn because the CVE has been disputed and the underlying vulnerability is likely invalid. This link is maintained to preserve external references.
According to maintainers of Craft CMS, only administrators can access Settings, and those administrators may have business needs for their permissions. Additionally, the underlying issue likely has little to no real-world security impact.
Original Description CraftCMS 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.
Affected Software
Event History
Frequently Asked Questions
What is CVE-2023-30179?
CVE-2023-30179 is a vulnerability in CraftCMS version 3.7.59 that allows an authenticated attacker to inject Twig templates and potentially execute remote code.
How severe is CVE-2023-30179?
CVE-2023-30179 has a severity rating of 7.2 out of 10, which is classified as high.
How does CVE-2023-30179 work?
CVE-2023-30179 allows an attacker to inject Twig templates into the User Photo Location field, potentially leading to remote code execution.
How can I fix CVE-2023-30179?
To fix CVE-2023-30179, you should update CraftCMS to a version that is not affected by the vulnerability.
Where can I find more information about CVE-2023-30179?
More information about CVE-2023-30179 can be found in the provided references.