CVEvulnerability

CVE-2018-20465

7.2 HIGH Published 2018-12-25 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-12-25
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
7.2 HIGH — CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
4.0 MEDIUM — AV:N/AC:L/Au:S/C:P/I:N/A:N
Weaknesses
CWE-311

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.

Affected configurations

• craftcms craft cms (<= 3.0.34)

Related

Weakness · CWE (1)

  • CWE-311 Missing Encryption of Sensitive Data weakness

Referenced by CWE · observed example (1)

  • CWE-1336 Improper Neutralization of Special Elements Used in a Template Engine weakness

References