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.
{ "nvd_published_at": "2018-12-25T23:29:00Z", "cwe_ids": [ "CWE-1336", "CWE-311" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2024-04-25T22:32:04Z" }