craftcms/cms · Security
Craft CMS Vulnerable to Server-Side Template Injection
- GHSA ID
- GHSA-j7fx-v37j-v3w7
- CVE ID
- CVE-2018-20465
- Severity
- high
- Published
- Updated
- CVSS
- 7.2 · CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 7.2 · CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Description
Craft CMS through 3.0.34 allows remote authenticated administrators to read sensitive information via server-side template injection, as demonstrated by a {% string for craft.app.config.DB.user and craft.app.config.DB.password in the URI Format of the Site Settings, which causes a cleartext username and password to be displayed in a URI field.
CWEs
- CWE-311 · Missing Encryption of Sensitive Data
- CWE-1336 · Improper Neutralization of Special Elements Used in a Template Engine