CVE-2023-39365 Unchecked regular expressions can lead to SQL Injection and data leakage in Cacti

Medium 4.6 Published Updated

Attackers can exploit unchecked regular expressions in Cacti to perform SQL injection and leak sensitive data.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-39365?

CVE-2023-39365 is a medium-severity SQL injection vulnerability in Cacti Cacti, published on 5 Sep 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Cacti is an open source operational monitoring and fault management framework. Issues with Cacti Regular Expression validation combined with the external links feature can lead to limited SQL Injections and subsequent data leakage. This issue has been addressed in version 1.2.25. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Weakness: CWE-89

Which versions are affected by CVE-2023-39365?

It affects 2 products.

Products include Cacti Cacti, Fedoraproject Fedora.

How do I fix CVE-2023-39365?

Upgrade to a fixed version.

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-2023-39365 being exploited?

There is no known exploitation of CVE-2023-39365 in the wild and no public exploit code.

All Cacti Cacti vulnerabilities

Sources

Also known as CLEANSTART-2024-OB22634, DEBIAN-CVE-2023-39365, GHSA-v5w7-hww7-2f22, UBUNTU-CVE-2023-39365.

Is CVE-2023-39365 in your software?

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

Check your SBOMs for free