CVE-2022-25775 SQL Injection in dynamic Reports

Medium 6.6 Published Updated

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.

PackageAffectedFixed in
mautic/core PackagistFrom 2.14.14.4.12
mautic/core PackagistFrom 2.14.14.4.12
mautic/core PackagistFrom 5.0.0-alpha5.0.4
mautic/core PackagistFrom 5.0.0-alpha5.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.

Sources

Also known as GHSA-jj6w-2cqg-7p94.

Is CVE-2022-25775 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free