Skip to content
Annuaire
Sections
Cybersecurity

Cacti: 4HTTP2SHELL targeted by attack attempts, what to do before 1.2.32

L’essentiel

A Cacti SQL injection, chained with the guest account, has faced exploitation attempts since 27 November. Affected versions and mitigations.

À retenir

A Cacti SQL injection, chained with the guest account, has faced exploitation attempts since 27 November. Affected versions and mitigations.

A flaw in Cacti, the open-source network monitoring tool, has been the target of exploitation attempts since 27 November 2026, the day after the release of attack code that its author dubbed 4HTTP2SHELL. The project published its advisory on 29 November: all versions up to and including 1.2.31 are affected, and the fix is due to arrive with version 1.2.32, which was not yet available as of 1 December. In the meantime, the priority is to disable the guest account and take the interface off the internet.

A SQL injection in the display preferences

Cacti is used to draw load graphs from data collected on network devices, relying on RRDtool. According to security advisory GHSA-5×85-g4vc-gq53 published by the maintainers, the defect lies in the page that saves a user’s preferences. The number of graphs to display per page is accepted there without validation, stored in the database, then copied as is into an SQL query on the preview page. Because the database connection allows several statements in a row, an attacker can append their own commands.

The vendor rates the issue as high severity, with a CVSS score of 8.8, and has not assigned it a CVE identifier. In its basic form, the attack requires an account: a user with standard “Normal User” rights can read and modify the entire database, grant themselves administrator rights and then, through the functions intended for administration, potentially go as far as executing commands on the server. The defect was reported privately on 19 November by Amdadul Bari, a DevOps engineer, according to SecurityWeek.

Why the guest account changes everything

On 26 November, another researcher, who goes by “ek0ms savi0r” according to the Cloud Security Alliance, published a complete exploit chain on GitHub, initially called 4HTTP2ROOT and later renamed. According to IT-Connect, he had not warned the Cacti team before releasing it, and the name has nothing to do with the HTTP/2 protocol: it refers to the four requests required. The chain combines the injection with guest access, which allows graphs to be viewed without logging in. In that case, no credentials are needed: the anonymous visitor modifies the preference, the injection rewrites one of the commands that Cacti’s collector, the “poller”, fetches from the database, and that command ends up being executed on the server. IT-Connect specifies that these commands run with the rights of the account running Cacti, sometimes www-data or apache, or even root. The Cloud Security Alliance tempers that last case: execution as root appears only in the researcher’s lab, where Cacti was running under that account, as the web server generally does not have those rights.

The real scope therefore depends on a setting. The guest account has been disabled by default since version 0.8.7, SecurityWeek and IT-Connect point out: only servers where an administrator has re-enabled it are exposed without authentication. The Cloud Security Alliance stresses that no reliable public count exists of internet-facing installations with this access open.

Exploitation attempts from 27 November

SecurityWeek reports that the companies Previdian and watchTowr spotted the first attempts on 27 November, and that Previdian counted nearly 1,800 of them. The picture evolved within a few days: in its note dated 28 November, the Cloud Security Alliance still recorded only 22 injection attempts from a single IP address against Previdian’s honeypots, with no confirmed command execution, and spoke of probing rather than proven exploitation. SecurityWeek refers to attempts, without describing any successful compromise. The weekly bulletin of CERT-FR (France’s government computer emergency response team) of 30 November describes the vulnerability as actively exploited and notes the existence of public proofs of concept.

That same bulletin, however, departs from the vendor’s advisory on two points. It states that versions prior to 1.2.31 are affected, whereas the maintainers explicitly include 1.2.31, the version on which the defect was verified. Its reference link also points to advisory GHSA-6p93-p743-35gf, which describes flaw CVE-2022-46169 from December 2022. We are going with the vendor’s version: any installation running 1.2.31 or earlier should be considered vulnerable.

What to do right now

The fixes have been merged into the 1.2.31, 1.2.x and develop branches, but the packaged 1.2.32 release has yet to appear. IT-Connect noted that no new release was listed on Cacti’s releases page, where 1.2.31 is still shown as the latest. Until then, the maintainers recommend:

  • setting the “Guest User” parameter to “No User” under Console, Configuration, Settings, Authentication, which blocks the public chain;
  • restricting the web interface to a VPN or an allowlist of addresses;
  • limiting the right to edit one’s profile to trusted accounts;
  • checking the settings_user table for non-numeric values in preferences that are supposed to be numbers, such as preview_graphs_per_page or page_refresh.

SecurityWeek also advises reviewing any unexpected change to user settings and applying the principle of least privilege. A monitoring server sees the entire network it watches: a compromise can therefore serve as a foothold towards other machines, which is why it should be treated as a sensitive asset.

Frequently asked questions

Is my Cacti server vulnerable if it has no guest account?

Yes, but the risk is narrower. Without guest access, the attacker needs an ordinary account to exploit the injection and escalate privileges. The 4HTTP2SHELL chain, for its part, only works without credentials if guest access has been re-enabled.

Is there a CVE identifier for this flaw?

No, not as of the date the advisory was published. The vendor is tracking the issue under reference GHSA-5×85-g4vc-gq53, with a CVSS score of 8.8.

Which version should I install?

Version 1.2.32 as soon as it is released. The fix is already in the 1.2.31 maintenance branch of the project’s Git repository (commit 8910e2a), which is relevant to teams deploying from source. For everyone else, the vendor recommends disabling guest access and isolating the interface in the meantime.

Sources

Sur votre appareil

Comprendre cet article

L’analyse utilise l’intelligence locale du navigateur lorsqu’elle existe, sinon un résumé extractif. Le texte n’est envoyé à aucun service extérieur.

Facebook X LinkedIn

Ensuite A lire aussi

Free, no spam, one-click unsubscribe.