Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2023-49084: RCE via SQL Injection and LFI in Cacti link.php (CVE-2023-49084)

Published Dec 21, 2023 · Updated 1 month ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v3.1
EPSS64.4%99th percentile
CISA KEVNoNot listed
In the wildNonePublic exploit, no exploitation reported
Vendor
Cacti
IdentifiersCVE-2023-49084CWE-98 · Improper Control of Filename for…

CVE-2023-49084 is a critical vulnerability in Cacti version 1.2.25, specifically in the link.php component. The vulnerability arises from a combination of SQL Injection and Local File Inclusion (LFI) due to improper sanitization of user-controlled input used in file include statements. An authenticated attacker with high privileges can inject arbitrary PHP code into a log file (cacti.log) via error-based SQL Injection, and then trigger its execution by manipulating the file path through the contentfile field, bypassing directory traversal protections. This allows for remote code execution on the server.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation allows an authenticated attacker to execute arbitrary code on the server, leading to full compromise of confidentiality, integrity, and availability. The attacker can run system commands, potentially gaining complete control over the affected system. The attack is network-based and does not require user interaction, but does require high privileges.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, restrict access to the Cacti interface to trusted users only, monitor for suspicious activity in the cacti.log file, and ensure that only necessary users have high privileges. Apply web application firewall (WAF) rules to block SQL Injection and LFI attempts targeting the link.php endpoint.

Remediation

Patch, then assume compromise.

Upgrade Cacti to version 1.2.26 or later, where the vulnerability is patched by improving data escaping and sanitization to prevent LFI and SQL Injection in the link.php component.

Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
CactiCactiapplication
FAQ

Frequently asked questions

Is CVE-2023-49084 exploited in the wild?
As of Oct 16, 2026, Mallory has no reports of CVE-2023-49084 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2023-49084?
Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2023-49084, the earliest disclosed Dec 20, 2023.
Is there a patch for CVE-2023-49084?
Upgrade Cacti to version 1.2.26 or later, where the vulnerability is patched by improving data escaping and sanitization to prevent LFI and SQL Injection in the link.php component.
What products are affected by CVE-2023-49084?
Cacti.
How severe is CVE-2023-49084?
CVE-2023-49084 has a CVSS v3.1 score of 8.8 (High) and an EPSS score of 64.4% (99th percentile) as of Oct 16, 2026.
Activity feed

Recent activity

No public activity tracked yet. Mallory keeps watching.

View more in app →

No public activity observed for this vulnerability.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.