CVE-2021-27908: Infoleak
Impact 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,
1. Go to Configuration page -> Landing Page Settings -> Analytics script and enter this: <script> console.log("db password is: %mautic.dbpassword%"); </script> 2. Visit any landing page and open the JS dev console. You will see the following message with real instance db password: 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
Patches Upgrade to 3.3.2
Workarounds No
References No
For more information If you have any questions or comments about this advisory:
Email us at security@mautic.org
Other sources
In all versions prior to Mautic 3.3.2, secret parameters such as database credentials could be exposed publicly by an authorized admin user through leveraging Symfony parameter syntax in any of the free text fields in Mautic’s configuration that are used in publicly facing parts of the application.
Secret data exfiltration via symfony parameters
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2021-27908?
CVE-2021-27908 has a medium severity rating due to potential exposure of sensitive parameters and credentials.
How do I fix CVE-2021-27908?
To fix CVE-2021-27908, you should upgrade to Mautic version 3.3.2 or later.
What are the affected versions in CVE-2021-27908?
CVE-2021-27908 affects Mautic versions prior to 3.3.2, including versions 3.3.0, 3.2.0, and 3.1.0.
What is the impact of CVE-2021-27908?
The impact of CVE-2021-27908 is that it allows an admin to potentially expose sensitive configuration parameters, like database credentials.
Who is affected by CVE-2021-27908?
Organizations using Mautic versions prior to 3.3.2 are at risk due to CVE-2021-27908.