Symfony parameters (which is what Mautic transforms configuration parameters into) can be used within other Symfony parameters by design. However, this also means that an admin who is normally not privy to certain parameters, such as database credentials, could expose them by leveraging any of the free text fields in Mautic’s configuration that are used in publicly facing parts of the application.
For example,
script> console.log("db password is: %mautic.db_password%"); </script>
db password is: <real password>
Risk rating: ModerateCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L
Upgrade to 3.3.2
No
No
If you have any questions or comments about this advisory:
{ "nvd_published_at": "2021-03-23T20:15:00Z", "cwe_ids": [ "CWE-732", "CWE-74" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2021-03-30T16:38:12Z" }