Skip to navigation

Threat reportVulnerabilityTL-2026-6953

Cacti 4HTTP2ROOT (4HTTP2SHELL) Zero-Day: Unauthenticated Command Execution via Stored Second-Order SQL Injection in Guest Profile Setting (No CVE Assigned)

highACTIVE

A public zero-day PoC dubbed 4HTTP2ROOT/4HTTP2SHELL chains a stored second-order SQL injection in a guest-writable Cacti profile setting into operating-system command execution via the realtime poller, when anonymous guest access is enabled (off by default). It was demonstrated in a lab against Cacti 1.2.31; no CVE, official severity or patch was identified and no in-the-wild exploitation had been reported as of 2026-11-27.

Key facts

IdentifiersTL-2026-6953, CVE-2026-39893
Also known as4HTTP2ROOT, 4HTTP2SHELL, VULN-2026-0010
SeverityHIGH
First disclosed
EPSSCVE-2026-39893: 0.6% (47.2th percentile)
Affected productsCacti Cacti
Weaknesses (CWE)CWE-89, CWE-20, CWE-78
MalwarePHP
MITRE ATT&CK techniquesT1033 System Owner/User Discovery, T1059.004 Command and Scripting Interpreter: Unix Shell, T1070 Indicator Removal, T1078.001 Valid Accounts: Default Accounts, T1190 Exploit Public-Facing Application, T1505.003 Server Software Component: Web Shell, T1552 Unsecured Credentials, T1552.001 Unsecured Credentials: Credentials In Files, T1562 Impair Defenses, T1565.001 Data Manipulation: Stored Data Manipulation
MotivationUNKNOWN
Target sectorstechnology, telecoms, government administration, finance, energy
Target regionsGlobal
Detection rules9 (1 shown free)
Sources7 cited sources

Detection coverage

As of 2026-11-27, Threadlinqs Intelligence publishes 9 detection rule(s) for TL-2026-6953 across Splunk SPL, Microsoft KQL and Sigma, covering 29 indicator(s) of compromise. The whole corpus is readable without an account. Every threat comes with one complete detection in Splunk SPL, Microsoft KQL and Sigma, free for everyone; a free account adds daily TL Creds to unlock the rest. Paid plans add a larger daily allowance, correlation and the MCP server. Threadlinqs MCP server · View plans.

Free detection: Cacti 4HTTP2ROOT Guest Exploit Chain (auth_profile → graph_view preview → graph_realtime init)

TL-2026-6953 / 4HTTP2ROOT (4HTTP2SHELL, no CVE): behaviour-first correlation of the public Cacti zero-day PoC chain from web access logs. One client performs the guest profile write (POST /auth_profile.php?action=update_data), the preview read that concatenates the stored preview_graphs_per_page value into SQL LIMIT (/graph_view.php?action=preview) and the realtime init that executes poller_item.arg1 via popen (/graph_realtime.php?action=init) within ten minutes. Legitimate users rarely trigger all three in sequence.

  • Languages: Splunk SPL, Microsoft KQL, Sigma
  • ATT&CK: T1190, T1078.001, T1565.001
  • Data sources: apache_access_log (index=web, sourcetype=access_combined), CommonSecurityLog (WAF/reverse proxy CEF), webserver access logs (Sigma category webserver)
  • Severity: high
  • Confidence: high

Splunk SPL

index=web sourcetype=access_combined earliest=-24h (uri_path="*/auth_profile.php" OR uri_path="*/graph_view.php" OR uri_path="*/graph_realtime.php")
```4HTTP2ROOT guest chain: stage2 profile write, stage3 preview read, stage4 realtime init, same client in one 10 minute window```
| eval stage2=if(method="POST" AND like(uri_path,"%/auth_profile.php") AND like(uri_query,"%action=update_data%"),1,0)
| eval stage3=if(like(uri_path,"%/graph_view.php") AND like(uri_query,"%action=preview%"),1,0)
| eval stage4=if(like(uri_path,"%/graph_realtime.php") AND like(uri_query,"%action=init%"),1,0)
| bin _time span=10m
| stats sum(stage2) AS profile_writes sum(stage3) AS preview_reads sum(stage4) AS realtime_inits values(status) AS http_status values(uri_query) AS queries BY _time clientip host
| where profile_writes>=1 AND preview_reads>=1 AND realtime_inits>=1
| table _time host clientip profile_writes preview_reads realtime_inits http_status queries

Microsoft KQL

CommonSecurityLog
| where TimeGenerated > ago(24h)
| where RequestURL has_any ("auth_profile.php", "graph_view.php", "graph_realtime.php")
| extend Stage2 = iff(RequestMethod =~ "POST" and RequestURL has "auth_profile.php" and RequestURL has "action=update_data", 1, 0),
         Stage3 = iff(RequestURL has "graph_view.php" and RequestURL has "action=preview", 1, 0),
         Stage4 = iff(RequestURL has "graph_realtime.php" and RequestURL has "action=init", 1, 0)
| summarize ProfileWrites = sum(Stage2), PreviewReads = sum(Stage3), RealtimeInits = sum(Stage4), Urls = make_set(RequestURL, 10) by SourceIP, DestinationHostName, Window = bin(TimeGenerated, 10m)
| where ProfileWrites >= 1 and PreviewReads >= 1 and RealtimeInits >= 1
| project Window, SourceIP, DestinationHostName, ProfileWrites, PreviewReads, RealtimeInits, Urls

Sigma

title: Cacti 4HTTP2ROOT PoC Default Preview and Realtime Init Requests
id: a3c1f6d2-6953-4b1e-9a10-0c1d2e3f4a01
status: experimental
description: Detects the default request URIs of the public 4HTTP2SHELL/4HTTP2ROOT PoC against Cacti 1.2.31 (graph_view.php preview with clear=1 and graph_realtime.php init with ds_step=10 and size=90). Sigma cannot correlate stages so use the SPL or KQL form for the full guest chain.
references:
  - https://blog.previdian.com/cacti-zero-day-what-we-know-so-far/
  - https://ravenai.sh/blog/four-requests-to-shell-cacti
  - https://github.com/ekomsSavior/Sad-Girls-0day-Club/tree/main/4http2shell
author: Threadlinqs Team
date: 2026-11-27
tags:
  - attack.initial-access
  - attack.t1190
  - attack.t1078.001
logsource:
  category: webserver
detection:
  selection_preview:
    c-uri|contains: '/graph_view.php'
    c-uri-query|contains|all:
      - 'action=preview'
      - 'clear=1'
  selection_realtime:
    c-uri|contains: '/graph_realtime.php'
    c-uri-query|contains|all:
      - 'action=init'
      - 'ds_step=10'
      - 'size=90'
  condition: 1 of selection_*
falsepositives:
  - Legitimate authenticated Cacti users opening graph previews or realtime graphs
  - Vulnerability scanners crawling Cacti URLs
level: medium

Known false positives:

  • Authenticated administrators editing their profile, viewing graph previews and opening a realtime graph within ten minutes
  • Authenticated vulnerability or compliance scanners exercising Cacti pages

Tuning notes: Exclude known admin source IPs and scanner ranges. If the proxy logs session identity, require the guest session. Shorten the bin span to 5m to reduce coincidental matches. Adjust index/sourcetype to your Cacti web tier; for nginx map to your access sourcetype.

8 more detection rules (Splunk SPL, Microsoft KQL, Sigma) · unlock with TL Creds. Sign up free to unlock the detection rules or query them with the Threadlinqs MCP server (Purple and Gold in full, 2 calls a day on a free account)
  • Cacti graph_view.php Non-Numeric / SQL Error Log Signal (4HTTP2ROOT Stage 3) · unlock with TL Creds
  • Web Shell / PoC Marker File Creation in Cacti Web Root (4HTTP2ROOT) · unlock with TL Creds
  • Cacti Credential Harvesting — config.php / SNMP Community Access by Web Account · unlock with TL Creds
  • Cacti Guest Profile Setting Write via auth_profile.php (4HTTP2ROOT Stage 2) · unlock with TL Creds
  • Cacti [indicator] / preview_graphs_per_page Database Tampering (4HTTP2ROOT) · unlock with TL Creds
  • Cacti Server Lateral Movement Tooling — SSH / SNMP / Scan Tools from Web Account · unlock with TL Creds
  • Cacti Web/Poller Process Spawning Shell — Command Execution (4HTTP2ROOT Stage 4) · unlock with TL Creds
  • Cacti Web Account Egress via Shell / Netcat / Curl (4HTTP2ROOT Post-Exploitation C2) · unlock with TL Creds

Indicators of compromise

As of 2026-11-27, Threadlinqs Intelligence tracks 29 indicators of compromise for TL-2026-6953.

Sample indicators (1 of 29)

  • URL: hxxps://ravenai[.]sh/blog/four-requests-to-shell-cacti

Defanged, TLP:CLEAR. Full set of 29 indicators: unlock with TL Creds.

29 indicators of compromise · unlock with TL Creds. Compare plans

Technical analysis

4HTTP2ROOT is the name used by Previdian, RavenAI and press coverage for a Cacti network-monitoring flaw disclosed publicly on 2026-11-26 together with a working exploit by researcher 'ek0ms savi0r' (ekomsSavior, publishing under Church of Malware). The PoC repository itself calls the chain 4HTTP2SHELL. Previdian describes it as insufficient validation of guest-controlled settings that introduces a stored, second-order SQL injection which can be used to manipulate Cacti's polling configuration and ultimately run arbitrary operating-system commands.

Precondition: the Cacti guest user (anonymous access) must be enabled. Cacti documents this as disabled by default but available so administrators can share graphs without sign-in. No other authentication is required.

Exploit chain as described by the RavenAI write-up and the PoC README (third-party claims, verified in a lab by Previdian, not yet confirmed by the vendor): (1) a GET to auth_profile.php?tab=general as an anonymous guest yields a guest session cookie and CSRF token; (2) a POST to auth_profile.php (action=update_data) stores a non-integer string in the per-user setting preview_graphs_per_page (settings_user table) - the write itself is a prepared statement but the value is not validated as an integer; (3) a GET to graph_view.php?action=preview reads the stored value back and concatenates it into a SQL LIMIT clause (graph_view.php builds $limit, lib/auth.php get_allowed_graphs() concatenates it), allowing a stacked statement that updates poller_item (arg1, and host_id/action) for a chosen local_data_id; (4) a GET to graph_realtime.php?action=init triggers poller_realtime.php/cmd_realtime.php, which passes poller_item.arg1 to exec_poll()/popen() in lib/poller.php, executing the attacker-controlled command. RavenAI also notes a PHP shell or marker file may be written to the web root and served over HTTP.

Impact: commands run with the privileges of the Cacti web/poller process. The researcher showed root-level execution only in a lab where Cacti already ran as root; typical deployments run as www-data or apache. Even without root, a compromised Cacti server can expose stored network-device credentials (SNMP communities and similar) that enable lateral movement into monitored infrastructure.

Scope and status: Cacti 1.2.31 (latest stable release, 2026-06-15) is the only confirmed affected version; the full range is unknown. Previdian reports no official patch identified as of 2026-11-26; Cacti's advisories and 1.2.31 release notes do not name preview_graphs_per_page. Related but distinct earlier Cacti SQL injection advisories (e.g. CVE-2026-39893, CVE-2026-39955, CVE-2026-39948, CVE-2026-46531) were reviewed and not shown to cover this chain. Vendor tracking: Previdian VULN-2026-0010. No attribution, malware, C2 infrastructure or network IOCs have been published. Interim mitigation (does not fix the SQL injection): disable the guest user (Console > Configuration > Users / remove the Guest User from authentication settings), restrict access to management networks or VPN, run Cacti without root, and review settings_user and poller_item for tampering. Severity HIGH is the analyst's provisional assessment, not a source-stated rating.

MITRE ATT&CK techniques by tactic:

Discovery

T1033 System Owner/User Discovery

Execution

T1059.004 Command and Scripting Interpreter: Unix Shell

Defense Evasion

T1070 Indicator Removal; T1562 Impair Defenses

Initial Access

T1078.001 Valid Accounts: Default Accounts; T1190 Exploit Public-Facing Application

Persistence

T1505.003 Server Software Component: Web Shell

Credential Access

T1552 Unsecured Credentials; T1552.001 Unsecured Credentials: Credentials In Files

Impact

T1565.001 Data Manipulation: Stored Data Manipulation

Remediation

Patches

  • No official patch identified as of 2026-11-26; Cacti 1.2.31 is the latest release and is the confirmed vulnerable version

Immediate actions

  • Disable the Cacti guest user (Console > Configuration > Users) and remove the Guest User from authentication settings
  • Confirm a fresh unauthenticated browser session can no longer reach protected Cacti pages
  • Restrict the Cacti web interface to trusted management networks or authenticated VPN users
  • Audit settings_user for non-integer preview_graphs_per_page values and poller_item for unexpected arg1 values
  • Review web and PHP logs for non-numeric warnings from graph_view.php and for unexpected shell processes spawned by the Cacti web/poller user

Workarounds

  • Disabling guest access is an interim mitigation only and does not fix the underlying SQL injection
  • Place Cacti behind a WAF or reverse proxy requiring authentication

Longer-term hardening

  • Run Cacti and its polling processes as an unprivileged user, never root
  • Rotate network-device credentials (SNMP communities, device logins) stored in Cacti if compromise is suspected
  • Monitor Cacti security advisories and upgrade as soon as an official fix is released

Affected and fixed versions

  • Cacti — Cacti
    Vulnerable versions: 1.2.31 (confirmed; full range not established)

Timeline

Last updated · 2 updates · revalidated 2× · latest source

  • Cacti 1.2.31, later confirmed vulnerable and the latest stable release, is published; its notes do not mention the guest preview_graphs_per_page setting.
  • Researcher's lab evidence timestamps (trigger at 05:30:41Z) show the 4http2shell chain yielding uid=0 against Cacti 1.2.31 with the web tier and poller running as root.
  • watchTowr lists the issue as having no CVE assigned, no fixed version yet (vendor patch pending) and not listed in CISA KEV.
  • watchTowr publishes the 4HTTP2ROOT Cacti zero-day FAQ, summarizing the guest-to-command-execution chain and listing mitigations.
  • Two "Add files via upload" commits (907f05b and an earlier 962b9c2) by ekomsSavior add the 4http2shell folder (README.md, locked-ioc-5, locked-ioc-9, locked-ioc-6, locked-ioc-11) to the Sad-Girls-0day-Club repository.
  • Previdian reports verifying the PoC in a lab against Cacti 1.2.31 and states no official patch has been identified; tracked as VULN-2026-0010.
  • RavenAI publishes 'Four Requests to Shell' describing the four-request guest-to-shell chain via auth_profile.php, graph_view.php and graph_realtime.php.
  • Researcher ek0ms savi0r publicly discloses the chain and publishes the 4http2shell PoC in the Sad-Girls-0day-Club GitHub repository.
  • GBHackers reports the zero-day; guest-access removal and network restriction are the only mitigations, with no confirmed in-the-wild exploitation.
  • The Hacker News reports the unpatched Cacti zero-day enabling RCE in four HTTP requests via guest access.
  • Commit 7b0bb86 renames 4HTTP2ROOT to 4HTTP2SHELL in the PoC README; no vendor disclosure timeline, CVE or Cacti advisory is shown at this point.
  • No in-the-wild exploitation had been reported as of this date; guest-account disablement is the recommended interim mitigation.
  • Cyber Security News reports the zero-day: no CVE, no official severity rating, no confirmed patch.

Update history

Sources cited

Previous and next in vulnerability

Drafted by the Threadlinqs research pipeline from 7 sources; published ; last updated .

Threadlinqs Intelligence — Real-Time Threat Detection Platform

// threat_feed
$ sort --newest
Showing all threats

Live intelligence console

Threat level

Latest Threats