5.8medium
Mautic vulnerable to secret data exfiltration via symfony parameters
- Severity
- 5.8medium CVSS:3.1 by Mautic
- Exploit likelihood
- 0.34% (higher than 30% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Mautic
- Also known as
- GHSA-4hjq-422q-4vpx
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Mautic Mautic | from unspecified before 3.3.2 | CVE List |
| mautic/core (Packagist) | before 3.3.2 | GitHub Advisory Database |
| acquia mautic | before 3.3.2 | NVD |
All scores
| Mautic | 5.8medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L |
| GitHub | 5.8medium CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:L |
| NVD | 4.4medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.1low CVSS:2.0 | AV:L/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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,
- Go to Configuration page -> Landing Page Settings -> Analytics script and enter this: <
script> console.log("db password is: %mautic.db_password%"); </script> - 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
NVD (es)
En todas las versiones anteriores a Mautic 3.3.2, parámetros secretos, como las credenciales de la base de datos, podían ser expuestos públicamente por un usuario administrador autorizado aprovechando la sintaxis de los parámetros Symfony en cualquiera de los campos de texto libre en la configuración de Mautic que son usadas en las partes de la aplicación de cara al público
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-27908 changed 2024-09-16 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4hjq-422q-4vpx changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2021-27908 changed 2026-06-17 | Public domain |