Vulnerability Details : CVE-2023-30179
Potential exploit
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.
Vulnerability category: Execute code
Products affected by CVE-2023-30179
- cpe:2.3:a:craftcms:craft_cms:3.7.59:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-30179
3.81%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 87 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-30179
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
1.2
|
5.9
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-01-03 |
7.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
1.2
|
5.9
|
NIST |
CWE ids for CVE-2023-30179
-
The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.Assigned by:
- 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2023-30179
-
https://github.com/github/advisory-database/pull/2443#issuecomment-1610634200
[GHSA-3x74-v64j-qc3f] CraftCMS Server-Side Template Injection vulnerability by angrybrad · Pull Request #2443 · github/advisory-database · GitHub
-
https://github.com/github/advisory-database/pull/2443#issuecomment-1610040714
[GHSA-3x74-v64j-qc3f] CraftCMS Server-Side Template Injection vulnerability by angrybrad · Pull Request #2443 · github/advisory-database · GitHub
-
https://datnlq.gitbook.io/cve/craft-cms/cve-2023-30179-server-side-template-injection
[CVE-2023-30179] Server-Side Template Injection - CVEExploit;Third Party Advisory
-
https://github.com/craftcms/cms/blob/develop/CHANGELOG.md#442---2023-03-14
cms/CHANGELOG.md at develop · craftcms/cms · GitHubRelease Notes
Jump to