CVE-2022-25775 SQL Injection in dynamic Reports
Logged-in users can exploit SQL injection in Mautic Reports to read or modify sensitive data and potentially manipulate the file system.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-25775?
CVE-2022-25775 is a medium-severity SQL injection vulnerability in Mautic, published on 18 Sep 2024. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
Prior to the patched version, logged in users of Mautic are vulnerable to an SQL injection vulnerability in the Reports bundle.
The user could retrieve and alter data like sensitive data, login, and depending on database permission the attacker can manipulate file systems.
Weakness: CWE-89
Which versions are affected by CVE-2022-25775?
4 open source packages ship an affected version, including mautic/core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mautic/core Packagist | From 2.14.1 | 4.4.12 |
mautic/core Packagist | From 2.14.1 | 4.4.12 |
mautic/core Packagist | From 5.0.0-alpha | 5.0.4 |
mautic/core Packagist | From 5.0.0-alpha | 5.0.4 |
Products include Acquia Mautic.
How do I fix CVE-2022-25775?
Upgrade mautic/core to a fixed version for your release line: 4.4.12 or 5.0.4.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2022-25775 being exploited?
There is no known exploitation of CVE-2022-25775 in the wild and no public exploit code.
Other vulnerabilities in Mautic
- CVE-2022-25772 Cross-site Scripting vulnerability in Mautic's tracking pixel functionality
- CVE-2020-35125 Mautic is vulnerable to XSS vulnerability
- CVE-2020-35124 XSS vulnerability leveraged through referrers could allow un-authorized admin access in Mautic
- CVE-2024-47051 Remote Code Execution & File Deletion in Asset Uploads
- CVE-2020-35128 Mautic stored Cross-site Scripting (XSS)
Sources
Also known as GHSA-jj6w-2cqg-7p94.