Category: Network Security

Detecting Cacti 4HTTP2SHELL: 4 Sigma rules for web logs, the poller and the web root

Detecting Cacti 4HTTP2SHELL: 4 Sigma rules for web logs, the poller and the web root

An unpatched bug with a public proof of concept and no CVE is the worst kind of week for a detection team: no vendor signature, no scanner plugin, nothing in the threat feeds. That is where Cacti users are with 4HTTP2SHELL, the four-request chain that turns an enabled guest account on Cacti 1.2.31 into command execution. Cacti merged matching fixes into its source branches on November 28, but no release carries them yet. I covered the bug, who is exposed and what to switch off in my analysis of the zero-day.

This post is the detection side. I found no published IOCs or request samples in the sources I read, so these four rules are built from the behaviour that watchTowr and RavenAI describe, plus my own reasoning where I say so. They are all experimental. Treat them as starting points to tune, not as alerts to page someone on at 3 a.m.

At a glance

  • Rules: 4 (one Sigma v2 correlation with three base rules, two host rules, one hunting rule).
  • Domains: Web/App and Linux.
  • Log sources: web server access logs with query strings, the PHP or web server error log and the Cacti log, Linux process creation and file creation (Sysmon for Linux, auditd or EDR).
  • ATT&CK: T1190, T1059.004, T1105, T1505.003.
  • Status: experimental. No CVE tag, because there is no CVE.
  • GitHub: Detection Rules/Linux and Detection Rules/Web-App.

The case in brief

The chain needs Cacti’s guest account to be enabled, which is not the default. According to RavenAI’s breakdown, the guest saves a text value into preview_graphs_per_page through auth_profile.php, a display setting that should be a number. A graph_view.php preview request then concatenates that stored value into a SQL LIMIT clause, and a stacked statement rewrites the arg1 command of a poller_item row. Finally a guest-reachable realtime graph request runs the poller path, which executes the command as the Cacti web and poller account. watchTowr adds that a warning about a non-numeric value may be logged along the way (RavenAI calls it a PHP warning), and lists new files created by the poller process as a pivot. The full story is in the analysis.

So the traces land in four places: the web access log (the request order), the PHP error log or Cacti log (the warning), the database (the rewritten poller command) and the host (whatever that command starts, and any files it writes). Sigma covers three of them. The database is the gap.

Detection map

Block diagram: web access logs, the PHP or Cacti log and Linux host process and file events feed four Sigma rules (request-order correlation, non-numeric warning hunt, suspicious poller child, PHP written in the Cacti tree) mapped to ATT&CK T1190, T1059.004 with T1105, and T1505.003, with the poller_item database rewrite marked as a gap.
Three log sources, four rules. The SQL rewrite of the poller command stays a database check.

Read it left to right. Web logs feed the correlation rule, which watches for the request order. The PHP error log or Cacti log feeds a keyword hunt. Host telemetry feeds the two rules I trust most: a suspicious child process under PHP, the web server or the spine poller, and a PHP file written into the Cacti tree by one of those processes. On the right, the red dashed box is the part none of the rules can see: the SQL write into poller_item. You close that with a scheduled database query, not a SIEM rule.

Rule overview

RuleDomainLog sourceATT&CK (tactic / technique)LevelStatus
Suspicious command spawned by Cacti web server or pollerLinuxlinux / process_creationExecution / T1059.004, C2 / T1105HighExperimental
Profile update, then preview, then realtime graph (correlation)Web/AppwebserverInitial Access / T1190MediumExperimental
PHP file written in Cacti web root by a web processLinuxlinux / file_eventPersistence / T1505.003MediumExperimental
Non-numeric value warning in the PHP or Cacti log (hunting)Web/Appcacti / application (PHP or Cacti log)Initial Access / T1190LowExperimental

The rules

Suspicious command spawned by Cacti web server or poller

Context: the last step of the chain is the poller running a command an anonymous guest chose. Whatever the attacker does next (download a tool, open a reverse shell, check who they are) starts as a process under PHP, Apache or spine. This is the rule I would turn on first, because it does not depend on how the command got into the poller.

Condition: alert when PHP, Apache/httpd or spine starts a shell whose command line contains curl, wget, a /dev/tcp redirect, base64, whoami, netcat, socat, chmod +x or an inline Python one-liner, or starts one of those tools directly. The lineage is my inference: I assume Cacti hands the stored command to a shell, so I match both the shell and the direct case.

ATT&CK: Execution (TA0002) – T1059.004 Unix Shell; Command and Control (TA0011) – T1105 Ingress Tool Transfer.

title: Suspicious Command Spawned by Cacti Web Server or Poller - Possible 4HTTP2SHELL Exploitation
id: 60c2cf77-4095-4bbf-9a3d-fd67b80c2a27
status: experimental
description: |
    Detects a shell running download, reverse-shell, discovery or encoding commands, or such a tool started directly,
    under the PHP, web server or spine poller processes on a Linux Cacti host. The 4HTTP2SHELL chain rewrites a
    poller command that a realtime graph request then executes as the Cacti service account (inferred process lineage).
references:
    - https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.execution
    - attack.t1059.004
    - attack.command-and-control
    - attack.t1105
    - detection.emerging-threats
logsource:
    product: linux
    category: process_creation
detection:
    selection_parent:
        - ParentImage|contains: '/php'
        - ParentImage|endswith:
              - '/apache2'
              - '/httpd'
              - '/spine'
    selection_shell:
        Image|endswith:
            - '/sh'
            - '/bash'
            - '/dash'
    selection_shell_payload:
        CommandLine|contains:
            - 'curl '
            - 'wget '
            - '/dev/tcp/'
            - 'base64'
            - 'whoami'
            - 'nc -'
            - 'ncat '
            - 'socat '
            - 'chmod +x'
            - 'python -c'
            - 'python3 -c'
    selection_direct_tool:
        Image|endswith:
            - '/curl'
            - '/wget'
            - '/nc'
            - '/ncat'
            - '/netcat'
            - '/socat'
            - '/whoami'
            - '/base64'
    condition: selection_parent and ((selection_shell and selection_shell_payload) or selection_direct_tool)
falsepositives:
    - Custom Cacti data input scripts that call curl or wget to poll HTTP APIs (scope by the script path and add a filter)
    - Other PHP applications on the same host; scope the rule to Cacti servers
level: high

View on GitHub

False positives and tuning: custom data input scripts that poll HTTP APIs with curl are the obvious one. Add a filter on their script path rather than dropping curl from the list. Scope the rule to hosts tagged as Cacti servers, because on a general PHP web server it will be noisier.

How to test: on a lab Cacti host, run a harmless command through PHP as the web user, for example sudo -u www-data php -r 'system("whoami");'. That produces PHP starting a shell that runs whoami, the same lineage the rule looks for.

Profile update, then preview, then realtime graph from one client

Context: RavenAI describes the chain’s footprint as a guest profile update followed by graph preview and realtime graph initialisation requests. Each request on its own is normal Cacti use. The order, from one client in a short window, is what stands out.

Condition: three informational base rules match auth_profile.php with action=update_data, graph_view.php with action=preview, and graph_realtime.php. A Sigma v2 temporal_ordered correlation fires when the same client IP hits all three in that order within 10 minutes. The action=update_data string comes from InfoSec Monkey’s hunting grep; action=preview is the standard Cacti preview URL and my assumption. Access logs do not show request bodies, so the rule cannot see the injected value itself.

ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.

title: Cacti Profile Update Request
id: 79a15d1d-b432-48fb-8b57-83e92d9f520c
name: cacti_profile_update_request
status: experimental
description: |
    Base rule for the 4HTTP2SHELL sequence correlation. Matches a request to the Cacti user profile update action,
    the step where the chain stores a value in a per-user display setting.
references:
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://infosecmonkey.com/cacti-4http2shell-zero-day/
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-uri-stem|endswith: '/auth_profile.php'
        cs-uri-query|contains: 'action=update_data'
    condition: selection
falsepositives:
    - Users changing their own profile settings (expected; this base rule is not meant to alert on its own)
level: informational
---
title: Cacti Graph Preview Request
id: d3eb6803-9216-45a4-98d5-c877fc4f3a35
name: cacti_graph_preview_request
status: experimental
description: |
    Base rule for the 4HTTP2SHELL sequence correlation. Matches the graph_view.php preview action, which reads the
    stored page-size preference back into a SQL query.
references:
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-uri-stem|endswith: '/graph_view.php'
        cs-uri-query|contains: 'action=preview'
    condition: selection
falsepositives:
    - Normal graph browsing in preview mode (expected; this base rule is not meant to alert on its own)
level: informational
---
title: Cacti Realtime Graph Request
id: 7d465808-b5cb-44ec-be1f-89fbedd54bb0
name: cacti_realtime_graph_request
status: experimental
description: |
    Base rule for the 4HTTP2SHELL sequence correlation. Matches a request to graph_realtime.php, the page that
    triggers the realtime poller path where the rewritten command runs.
references:
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-uri-stem|endswith: '/graph_realtime.php'
    condition: selection
falsepositives:
    - Users opening realtime graphs (expected; this base rule is not meant to alert on its own)
level: informational
---
title: Cacti Profile Update Followed by Graph Preview and Realtime Graph - Possible 4HTTP2SHELL Chain
id: efe4f9f7-cadc-41a8-b8f0-d7fd9ad6127f
status: experimental
description: |
    Detects one client sending a Cacti profile update, then a graph_view.php preview, then a graph_realtime.php
    request within ten minutes, the request order RavenAI describes for the 4HTTP2SHELL guest-to-shell chain.
    Inferred from published analyses; I found no published request samples in the sources I read.
references:
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - detection.emerging-threats
correlation:
    type: temporal_ordered
    rules:
        - cacti_profile_update_request
        - cacti_graph_preview_request
        - cacti_realtime_graph_request
    group-by:
        - c-ip
    timespan: 10m
falsepositives:
    - A logged-in user who changes the preview page size and then opens a realtime graph; check whether the client is a known admin or NOC address
level: medium

View on GitHub

False positives and tuning: a logged-in admin who changes the preview page size and then opens a realtime graph will trigger it. Exclude your NOC and admin subnets, or better, enrich with the session user if your web server logs it and alert only when it is the guest. If guest is off on all your servers, this rule should be silent; any hit is worth a look.

How to test: on a lab install, log in, change the graphs-per-page preference, open preview mode, then open a realtime graph, all within a few minutes.

PHP file written in the Cacti web root by a web process

Context: watchTowr lists new files created by the poller process as a detection pivot, and RavenAI mentions an unexpected web shell or marker file. Once an attacker can run commands as the web user, dropping a PHP file in the Cacti tree is the cheapest way to keep access after you turn guest off.

Condition: alert when a file ending in .php is created under a path containing /cacti/, and the writing process is PHP, Apache/httpd, spine or a shell. Legitimate Cacti code arrives through the package manager or an admin’s deployment, not through those processes.

ATT&CK: Persistence (TA0003) – T1505.003 Web Shell.

title: PHP File Written in Cacti Web Root by Web Server or Shell Process
id: 23d1ea44-9240-49d3-9768-00be868c537d
status: experimental
description: |
    Detects a .php file created under a Cacti installation path by PHP, the web server, the spine poller or a shell.
    watchTowr lists new files created by the poller process, and RavenAI an unexpected web shell or marker file, as pivots
    after 4HTTP2SHELL exploitation. Legitimate Cacti code is written by the package manager or an admin, not by these processes.
references:
    - https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.persistence
    - attack.t1505.003
    - detection.emerging-threats
logsource:
    product: linux
    category: file_event
detection:
    selection_path:
        TargetFilename|contains: '/cacti/'
        TargetFilename|endswith: '.php'
    selection_writer:
        - Image|contains: '/php'
        - Image|endswith:
              - '/apache2'
              - '/httpd'
              - '/spine'
              - '/sh'
              - '/bash'
              - '/dash'
    condition: all of selection_*
falsepositives:
    - Cacti plugin installs or upgrades done through the web UI (match the time against change records)
    - Installs where Cacti lives outside a path containing /cacti/ will not match; adjust the path
level: medium

View on GitHub

False positives and tuning: plugin installs through the web UI write PHP as the web user, so match hits against change records. If Cacti lives in a path without /cacti/ in it, change the path. A shell writing the file is in the list on purpose: an attacker’s echo into a file comes from sh, not PHP.

How to test: as the web user, have PHP write a harmless file into the Cacti directory, check for the alert, then delete the file.

Non-numeric value warning in the PHP or Cacti log

Context: watchTowr and BleepingComputer both say a warning about a non-numeric value in a graph display setting may be logged when the chain runs, while the request itself succeeds. RavenAI describes it as a PHP warning. Depending on your setup it lands in the PHP or web server error log, or in Cacti’s own log, so forward both.

Condition: match the keyword non-numeric in the forwarded PHP error log or Cacti log. I could not find the exact message text in the sources, so I kept it to the keyword. That makes it a hunting rule, not an alert.

ATT&CK: Initial Access (TA0001) – T1190 Exploit Public-Facing Application.

title: Non-Numeric Value Warning on a Cacti Host - 4HTTP2SHELL Hunting
id: af338bec-2440-4abd-8619-e984ec9031de
status: experimental
description: |
    Hunts for warnings about non-numeric values on a Cacti host. watchTowr notes a warning about a non-numeric value in a
    graph display setting may be logged when the 4HTTP2SHELL chain runs, while the request still succeeds; RavenAI calls it
    a PHP warning. Where it lands (PHP or web server error log, or the Cacti log) depends on the setup. The exact text is
    not published, so this matches the keyword only and needs review.
references:
    - https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/
    - https://www.bleepingcomputer.com/news/security/unpatched-cacti-zero-day-with-public-poc-gives-remote-code-execution/
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.initial-access
    - attack.t1190
    - detection.threat-hunting
logsource:
    product: cacti
    service: application
    definition: 'Requirement: forward the PHP or web server error log and the Cacti log from the Cacti host to the SIEM (locations vary by install).'
detection:
    keywords:
        - 'non-numeric'
    condition: keywords
falsepositives:
    - PHP warnings from unrelated code paths or plugins with sloppy numeric handling
level: low

View on GitHub

False positives and tuning: any plugin with sloppy number handling can produce the same PHP warning. Once you see a real hit, copy the exact message into the rule and raise its level.

How to test: append a line containing “non-numeric” to the forwarded log in a lab and confirm it reaches the SIEM and matches.

Coverage and gaps

Step in caseTacticTechniqueRuleCovered?
Guest profile write, preview, realtime requestsInitial Access (TA0001)T1190Correlation rule, PHP or Cacti log huntYes (inferred URIs)
Stacked SQL rewrites poller_item.arg1Initial Access (TA0001)T1190NoneGap: database only
Poller runs the attacker commandExecution (TA0002)T1059.004Suspicious poller childYes, with process telemetry
Tool downloadCommand and Control (TA0011)T1105Suspicious poller childPartial
Web shell or file dropPersistence (TA0003)T1505.003PHP written in Cacti treeYes, with file telemetry
Follow-on actions (reading credentials, pivoting to devices)Variousn/aNoneGap: not described by sources

The biggest blind spot is the SQL write. Most teams do not audit the Cacti database, and a rewritten poller_item row looks like any other config change. I would close it with a scheduled read-only query: alert when a preview_graphs_per_page value in settings_user is not a plain number, and diff poller_item.arg1 against yesterday’s copy. The analysis post has the queries. The second gap is everything after the first command. Cacti servers hold SNMP credentials (the poller_item table itself has SNMP community and password columns) and can usually reach most network devices, so if the host rule fires, assume the attacker read the config and check your devices’ logs for logins from the Cacti server.

Deploying the rules

Grab the YAML from GitHub and convert it with sigma-cli for your SIEM. The Linux rules need a pipeline that maps Sysmon for Linux or your EDR’s field names; the web rules need your access log fields mapped to cs-uri-stem, cs-uri-query and c-ip. Correlation rules need a backend that supports Sigma v2 correlations (check yours); otherwise build the sequence as a saved search by hand. For example:

sigma list pipelines
sigma convert -t splunk --without-pipeline proc_creation_lnx_cacti_web_poller_suspicious_child.yml
sigma convert -t lucene --without-pipeline file_event_lnx_cacti_webroot_php_written_by_web_process.yml
sigma convert -t splunk --without-pipeline web_cacti_guest_profile_preview_realtime_sequence_correlation.yml

The --without-pipeline output keeps the Sigma field names, so rename them to your own schema, or swap in a pipeline from sigma list pipelines that matches your log source; pipeline names change between sigma-cli plugin versions. Run everything in alert-only mode for a week before it pages anyone, and tune the process rule’s filters with what your own data input scripts actually run.

My take

Honestly, the best detection for this bug is not a rule. It is setting Guest User to No User and taking the web UI off the internet, which closes the chain completely. Everything in this post is for the case where you cannot do that today, or where guest was on before you read about this and you need to know if someone got in.

Of the four, the process rule is the one worth keeping forever. Cacti has had four guest-reachable or unauthenticated paths published this year, and most of the impact flows through a poller that runs commands from a database table. Watching what that poller starts catches this chain and the next one. What I would really like is for Cacti to log changes to poller_item and to guest profile settings by default, with the user and source IP. That single log line would turn the biggest gap in this post into the easiest alert.

Sources

Cacti 4HTTP2SHELL: an unpatched guest-account RCE in the current release

Cacti 4HTTP2SHELL: an unpatched guest-account RCE in the current release

Cacti 1.2.31 shipped on June 15, 2026, and four days later the project published advisories for three critical bugs it fixed, each scored CVSS 9.8 and none needing a password (one of them only on installs with guest viewing turned on). On November 26, 2026, a researcher published a chain that turns that same release into a command shell for an anonymous visitor, in four HTTP requests.

The chain is called 4HTTP2SHELL (first published as 4HTTP2ROOT). It has no CVE and no fixed release. On November 28 the Cacti project merged security fixes that match the chain into its source branches, but it has not shipped a release or an advisory. A working proof of concept is public on GitHub. There is one big condition: the Cacti guest account has to be enabled. If yours is, you have a problem tonight. If it is not, you should still read on: this is the fourth guest-reachable or unauthenticated path into Cacti published this year, and the guest role was already the precondition for one of the June bugs.

Severity: high. Unauthenticated code execution on a server that usually sits in the middle of the network and talks to most of your devices, held back from critical only because guest access is off by default and the code runs as the Cacti service account.

At a glance

  • Name: 4HTTP2SHELL, also 4HTTP2ROOT. No CVE assigned, no CVSS score (watchTowr, November 26, 2026).
  • Affected: Cacti Core 1.2.31, the current release, as tested by the researcher. Whether 1.2.30 and older are affected is not established.
  • Precondition: the guest account is enabled. No credentials or session needed.
  • Impact: OS command execution as the account that runs the Cacti web server and poller. The researcher’s lab returned root; watchTowr notes that in many installs this is a low-privileged web user.
  • Exploitation: public PoC since November 26. No in-the-wild exploitation reported as of November 29. Not in CISA KEV.
  • Patch: no fixed release yet. Matching fixes were merged into the 1.2.31 and 1.2.x source branches on November 28. Mitigation is to disable guest access and keep the web UI off untrusted networks.
  • Who should care: network and NOC teams running Cacti, especially anyone who turned on guest viewing for wall dashboards or customer graph pages.

What we know

The researcher, who goes by ek0ms savi0r and publishes with a group called Church of Malware, posted the write-up and PoC to a GitHub repository on November 26, 2026, US Thanksgiving. BleepingComputer reports the researcher said the flaw was not reported to Cacti before release. I have not seen a statement from the Cacti project, and its GitHub advisory list shows nothing from November when I checked on November 28.

watchTowr published an FAQ the same evening. It lists the CVE as not assigned, the vendor patch as pending and no fixed version. As of November 27 it reported no exploitation in the wild. RavenAI published a technical breakdown of the researcher’s chain the same day, and BleepingComputer, BreachNews and others picked it up on November 27.

On November 28 the Cacti project merged two security pull requests that line up with the chain step by step. Pull request 9013, for the 1.2.31 maintenance branch, stops shared guest sessions from saving profile or graph preferences and normalizes pagination values before they reach graph queries; its description says the patch also applies to the original 1.2.31 release tag. Pull request 9014, for the 1.2.x branch, rejects guest writes with HTTP 403, clamps the LIMIT values in graph_view.php and checks graph permission in graph_realtime.php before it calls shell_exec(). Neither names 4HTTP2SHELL, so the match is my reading, not a vendor statement. As of November 29 there is still no new release, no advisory and no CVE, and nobody has reported exploitation in the wild.

What is confirmed: the chain works on a lab instance of 1.2.31 with guest enabled, as published by the researcher and described consistently by watchTowr and RavenAI. What is not confirmed: the range of affected versions, how many exposed servers have guest turned on, and when a fix will land. Do not confuse it with CVE-2026-39893, one of the June bugs that 1.2.31 already fixed.

Timeline: June 15, 2026 Cacti 1.2.31 released; June 19 advisories published for three critical bugs fixed in 1.2.31, none needing a password and one only with guest viewing on; November 26 4HTTP2SHELL chain and PoC published against 1.2.31, researcher says Cacti was not told first; November 28 Cacti merges matching security fixes into its source branches, with no release, CVE or advisory yet.
1.2.31 closed three critical bugs that needed no password, one of them only with guest viewing on. The new chain breaks that same release.

How the chain works

Nothing here is exotic. It is a second-order SQL injection: the attacker stores a malicious value in one place and a different page later trusts it. Here is the flow at the level the published analyses describe it, without the request details.

First, the guest writes a profile setting. Cacti lets users, including the guest user, save display preferences through auth_profile.php. One of them, preview_graphs_per_page, should be a number. According to RavenAI, the update accepts any string.

Second, the graph preview reads it back. graph_view.php in preview mode loads the stored preference without the integer check it applies to request input, and concatenates it into the LIMIT clause of a SQL query. On the tested database path the query interface accepted an extra statement, so the stored value runs as its own SQL command. watchTowr notes that a warning about a non-numeric value may be logged at this point, and RavenAI describes it as a PHP warning. Depending on your setup it lands in the web server or PHP error log, or in Cacti’s own log. The request still succeeds either way.

Third, the injected statement rewrites a poller command. Cacti keeps the commands its poller runs in the database. RavenAI names the arg1 field of a poller_item row as the target. Change that value and you have changed what Cacti will execute next.

Fourth, a guest-reachable realtime graph page triggers the poller path (graph_realtime.php through to lib/poller.php), which runs the rewritten command on the host. That is four requests from an anonymous browser to a shell.

Four-step attack chain: guest writes a text value into a numeric profile setting, graph preview concatenates it into a SQL LIMIT clause, the stacked query rewrites a poller command, a realtime graph request runs it as the Cacti service user.
The 4HTTP2SHELL chain as described by watchTowr and RavenAI. Every step is reachable by an anonymous guest.

The design choice that makes this hurt is not new: Cacti stores the command lines its poller executes in a database table, so any SQL write primitive is one step from command execution. A numeric field nobody bound as a parameter, plus a database path that accepts stacked statements, is simply the latest way to reach that table.

Who is affected and how badly

The guest precondition matters a lot. Cacti’s documentation says the guest user has not been enabled by default since 0.8.7. To turn on anonymous access an admin has to enable the guest user and select it as the Guest User under Authentication settings. So a stock install is not exposed. The trouble is that people turn guest on for good reasons: a NOC wall screen, a public status page, customers who want to see their own bandwidth graphs.

Then think about where Cacti lives. It polls routers, switches and firewalls over SNMP, so the box holds community strings or SNMPv3 credentials and a full inventory of the network, and it usually has a route to most management interfaces. Code running as the Cacti user can read that configuration and the database, plant files in the web root, and use the server as a pivot. Whether that user is root depends on how you installed it. The researcher’s lab returned root, which tells you something about how lab installs get built, not about the bug.

My rating: critical for any internet-facing Cacti with guest enabled, because the PoC is public and there is no fixed release yet. High for internal installs with guest enabled, because anyone on the network, including malware already on a workstation, can use it. Low for installs with guest off, assuming nothing else in the chain turns out to be reachable after login. No source has published exposure counts, so I will not guess one.

What to do now

  1. Turn off guest access. In the console go to Configuration, Settings, Authentication and set Guest User to No User, then disable the guest account under Users. This removes the precondition entirely. If a wall screen needs graphs, give it a named read-only account.
  2. Take the web UI off the internet. Cacti has no business being reachable from outside a management network. Restrict it at the firewall or in the web server config to the admin and NOC subnets.
  3. Check whether you were exposed. If guest was on and the UI was reachable at any point since November 26, review the poller data and the web root (queries below) before you assume you are clean. Turning guest off now does not undo a rewritten poller command or a dropped web shell.
  4. Stay on 1.2.31 for now. It fixes the three critical June bugs. Do not roll back hoping the new chain does not reach older versions; nobody has shown that, and the older releases are definitely vulnerable to the June issues. The fixes merged on November 28 are not in any release yet. When Cacti ships a release or advisory that includes them, patch, and keep guest off anyway.
  5. Check what the Cacti service account is. If the web server or poller runs as root, fix that on your next maintenance window; it is the difference between a compromised app and a compromised host.

For the exposure check, three read-only queries against the Cacti database (adjust the database name). The first shows whether a guest user is mapped, the second finds stored page-size preferences that are not plain numbers, the third lists poller commands containing shell metacharacters. Legitimate script data inputs can contain pipes or semicolons, so read the results rather than treating every row as a hit. The table and column names match the Cacti 1.2.x schema file; the regular expression escaping is mine, so check it against your schema and your MySQL or MariaDB version before relying on it.

SELECT name, value FROM settings WHERE name = 'guest_user';
SELECT user_id, value FROM settings_user
  WHERE name = 'preview_graphs_per_page' AND value NOT REGEXP '^[0-9]+$';
SELECT local_data_id, arg1 FROM poller_item
  WHERE arg1 REGEXP '[;|`]|\\$\\(';

Detection and monitoring

I found no published IOCs or request samples in the sources I read, so everything here is behaviour-based and marked experimental. The good news is that the chain has to touch three places you can log: the web server sees the request sequence, a PHP warning about a non-numeric value may show up in the web server or PHP error log or in Cacti’s log, and the host sees whatever the rewritten poller command starts. The step in the middle, the SQL write into poller_item, is invisible to most SIEMs, which is why the database queries above matter. Process and file telemetry on Linux are off unless you run Sysmon for Linux, auditd or an EDR on the Cacti box.

RuleCategoryLog sourceATT&CKLevel
Suspicious command spawned by Cacti web server or pollerLinuxprocess_creationT1059.004, T1105High
Profile update, then preview, then realtime graph from one clientWeb/App (correlation)webserverT1190Medium
PHP file written in the Cacti web root by a web processLinuxfile_eventT1505.003Medium
Non-numeric value warning in the PHP or Cacti logWeb/App (hunting)PHP error log or Cacti logT1190Low

The one I would turn on first is the process rule. A monitoring server’s PHP or poller process has no reason to start a shell that runs curl, wget, netcat, base64 or a /dev/tcp redirect, or to launch those tools directly. It does not care how the command got into the poller, so it also catches the next variant. The process lineage is my inference from how Cacti runs poller commands, not something the sources spell out. If your own data input scripts call curl to poll an HTTP API, add a filter for their path.

title: Suspicious Command Spawned by Cacti Web Server or Poller - Possible 4HTTP2SHELL Exploitation
id: 60c2cf77-4095-4bbf-9a3d-fd67b80c2a27
status: experimental
description: |
    Detects a shell running download, reverse-shell, discovery or encoding commands, or such a tool started directly,
    under the PHP, web server or spine poller processes on a Linux Cacti host. The 4HTTP2SHELL chain rewrites a
    poller command that a realtime graph request then executes as the Cacti service account (inferred process lineage).
references:
    - https://watchtowr.com/intelligence/4http2root-cacti-zero-day-faq/
    - https://ravenai.sh/blog/four-requests-to-shell-cacti
    - https://netsec101.com/?p=584
author: netsec101.com
date: 2026-11-28
tags:
    - attack.execution
    - attack.t1059.004
    - attack.command-and-control
    - attack.t1105
    - detection.emerging-threats
logsource:
    product: linux
    category: process_creation
detection:
    selection_parent:
        - ParentImage|contains: '/php'
        - ParentImage|endswith:
              - '/apache2'
              - '/httpd'
              - '/spine'
    selection_shell:
        Image|endswith:
            - '/sh'
            - '/bash'
            - '/dash'
    selection_shell_payload:
        CommandLine|contains:
            - 'curl '
            - 'wget '
            - '/dev/tcp/'
            - 'base64'
            - 'whoami'
            - 'nc -'
            - 'ncat '
            - 'socat '
            - 'chmod +x'
            - 'python -c'
            - 'python3 -c'
    selection_direct_tool:
        Image|endswith:
            - '/curl'
            - '/wget'
            - '/nc'
            - '/ncat'
            - '/netcat'
            - '/socat'
            - '/whoami'
            - '/base64'
    condition: selection_parent and ((selection_shell and selection_shell_payload) or selection_direct_tool)
falsepositives:
    - Custom Cacti data input scripts that call curl or wget to poll HTTP APIs (scope by the script path and add a filter)
    - Other PHP applications on the same host; scope the rule to Cacti servers
level: high

Until Cacti ships a release with the fix, keep these running and re-run the database checks weekly. If guest was ever enabled on a reachable server, retro-hunt your web and host logs back to November 26, 2026, when the PoC went public. Once a patched release lands, keep the process rule permanently: it is cheap, and Cacti has had four guest-reachable or unauthenticated paths published this year.

I wrote up all four rules, with tuning notes, lab tests and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo, in the Linux and Web-App folders.

My take

The headline name oversells it. “Root in four requests” needs a non-default setting, and root only if you installed Cacti badly. I would not put this in the same bucket as an exploited VPN bug. But I think the story is underrated in a different way. In June, Cacti fixed three critical bugs that needed no login, two of them SQL injections in graph_view.php and one of them reachable only with guest viewing on. Five months later the release that fixed them falls to another guest-reachable SQL injection in the same file, which ends in a database table full of commands the poller will happily run. Patching each hole as it appears is not working. Cacti needs to treat the guest role as hostile input everywhere and treat poller_item as security-critical configuration, with integrity checks, not as just another table.

On the disclosure, I am not a fan. Dropping a full chain with a PoC on a holiday, with no notice to the project, mostly hurts the network teams who run it. That said, the researcher’s frustration with vendor triage is clearly real, and Cacti’s advisory history this year shows its maintainers already had plenty to fix. The practical answer does not depend on who is right: guest off, UI off the internet, and a look at your poller table tonight. Those three things close this chain completely, which is more than most zero-days give you.

Sources

Shorter TLS Certificate Lifetimes in 2027: Your Next Outage Is Already Scheduled

Shorter TLS Certificate Lifetimes in 2027: Your Next Outage Is Already Scheduled

In 2017, a device that was supposed to watch Equifax’s encrypted traffic sat blind because its certificate had expired. According to the House Oversight Committee’s December 2018 staff report, it had been inactive for 19 months (the GAO had said ten). When Equifax renewed it on July 29, 2017, it “immediately noticed suspicious web traffic”. The report counted at least 324 expired SSL certificates at the company. Nobody broke the crypto. Somebody forgot a date.

That kind of forgetting is about to get much more expensive. On October 7, 2026, Let’s Encrypt said its default certificate lifetime drops from 90 to 64 days on February 10, 2027, which is 75 days from today. Five weeks later, on March 15, 2027, the CA/Browser Forum’s Baseline Requirements cap every publicly trusted TLS certificate at 100 days, and in March 2029 the cap reaches 47. If any of your renewals still depend on a person, a calendar reminder or a cron job with a number baked into it, your next certificate outage is already on the calendar.

At a glance

What it isA scheduled cut in the maximum lifetime of public TLS certificates, from 398 days to 47 days by March 15, 2029, plus much shorter reuse of domain validation
KindTrend
MaturityMainstream (binding on every publicly trusted CA)
Who should careAnyone who runs a public website, API, load balancer, VPN portal or appliance with a publicly trusted certificate
VerdictTable stakes
Read time7 minutes

What’s actually changing

The rule comes from CA/Browser Forum Ballot SC-081v3, which passed on April 11, 2025. Apple proposed it, and Sectigo, Google Chrome and Mozilla endorsed it. Certificate issuers voted 25 yes, 0 no and 5 abstentions; all four browser and OS root programs (Apple, Google, Microsoft, Mozilla) voted yes.

The ballot page gives only the end state, so I read the interim dates off the current TLS Baseline Requirements (version 2.3.1, dated October 4, 2026):

  • March 15, 2026: maximum validity 200 days, domain validation reuse 200 days (already in force).
  • March 15, 2027: maximum validity 100 days, domain validation reuse 100 days.
  • March 15, 2029: maximum validity 47 days, domain validation reuse 10 days.

Let’s Encrypt is moving ahead of that schedule (posts of December 2, 2025 and October 7, 2026). Staging has issued 64-day certificates since October 14, 2026. The default becomes 64 days on February 10, 2027, and it expects the last 90-day certificate to expire on May 11, 2027. Authorization reuse (how long a proven domain control stays valid for new orders) drops from 30 days to 10. On February 16, 2028, the default goes to 45 days and authorization reuse to seven hours. Existing certificates are not revoked.

Timeline of public TLS certificate lifetime milestones from the 200-day cap in March 2026 to the 47-day cap in March 2029, including Let's Encrypt's 64-day and 45-day defaults
Dates from the CA/Browser Forum TLS Baseline Requirements v2.3.1 and Let’s Encrypt (October 7, 2026 and December 2, 2025).

Do the arithmetic for a team that installs one-year certificates by hand: one renewal per site per year becomes roughly eight at a 47-day cap, and from 2029 each one needs fresh domain validation inside a 10-day window. Manual renewal does not scale down to that.

How it works, and why the industry wants it

The ballot’s rationale is blunt. A certificate is “a point in time state of reality”, and that reality decays: a domain can change hands, or a third party can gain control of a key, while the certificate stays valid. Revocation was supposed to fix that. The ballot says “relying solely on revocation is untenable”: growth “can and does overwhelm existing infrastructure”, status services are “often inconsistent”, and checking them slows page loads or gets abandoned. Let’s Encrypt shut down its OCSP service on August 6, 2025, citing privacy and cost, and now publishes revocation only through CRLs. Shorter lifetimes shrink the window in which a bad certificate stays trusted, whether or not anyone revokes it. The ballot also cites crypto agility: shorter lifetimes make it easier to move between algorithms. My own reading is that this will matter for the post-quantum migration.

The tooling that makes this survivable already exists. ACME (RFC 8555, March 2019) lets a client prove domain control and get a certificate with no human involved. What’s new is ACME Renewal Information, or ARI (RFC 9773, June 2025). Instead of the client guessing “renew 30 days before expiry”, the CA publishes a suggested renewal window for each certificate. The client no longer has to assume a fixed renewal period, and RFC 9773 even describes a CA suggesting renewal ahead of a mass-revocation event. Let’s Encrypt says that if your client supports ARI, “you should be all set”.

Five-step flow of automated certificate renewal: the client asks the CA for a renewal window with ARI, completes an ACME challenge, receives the certificate, deploys and reloads it, and alerts on failure
ARI (RFC 9773) is the new step: the CA tells the client when to renew instead of the client guessing.

Where it helps, and where it doesn’t

Where it helps. Automation makes surprise replacements much cheaper. In July 2024 DigiCert found an issue affecting about 0.4% of its applicable domain validations, and under CA/B rules the affected certificates had to be revoked “within 24 hours”. Its incident page walked customers through logging in, generating a new CSR, reissuing and installing each certificate. With ARI, a CA can suggest an early renewal window and a client can act on it without a human. In my view, the machinery that handles 47-day lifetimes is the same machinery you want for a surprise mass revocation.

Where it doesn’t. The limits are real, and most of them are inside your own network:

  • Hard-coded intervals. Let’s Encrypt tells subscribers to search cron jobs, wrapper scripts and runbooks for 83, 80 or 60. A job that renews on day 80 of a 64-day certificate renews after it has expired. Its advice is to renew at about two-thirds of the lifetime, or use ARI.
  • Appliances and load balancers. Many firewalls, VPN gateways, load balancers and storage consoles take a certificate through a web upload or a vendor-specific API. Without an ACME client or deploy hook, someone pastes a PEM file, and that someone goes on holiday. In my experience, getting the certificate onto the box is where renewals fail, not getting it from the CA.
  • Embedded, IoT and OT. Devices that ship with a public certificate and no update path will simply expire. Ericsson’s December 6, 2018 statement initially traced a mobile core outage in multiple countries to “an expired certificate” in two software versions of its SGSN-MME nodes. My inference: a certificate shipped inside software or firmware is an expiry date you can’t change without an update.
  • Pinning. Mobile apps and clients that pin a specific leaf certificate or key break every time it rotates. Pin to a CA or a key you control, or stop pinning.
  • Internal CAs are out of scope. The Baseline Requirements cover certificates for servers accessible through the Internet. Your private CA is not bound by the schedule. That isn’t a relief: nothing in a public rule will force you to inventory those certificates either.
  • Automation is not a cure-all. The ballot itself says so. An expired DNS API credential or a firewall rule that blocks the HTTP challenge fails quietly. Without alerting, you just find out more often.

What it means for you

Small team / SMB: start now

List every public hostname you own (Certificate Transparency logs will show ones you forgot) and who renews each one, and how. Anything on Let’s Encrypt with a current ACME client: check that the client supports ARI and remove fixed-day schedules. Anything renewed by hand from a commercial CA: move it to ACME before March 15, 2027, or plan on about four renewals a year from then on. Add an expiry monitor that alerts on any public certificate with fewer than 14 days left.

Mid-size or enterprise: start now

Treat this as a project with an owner and a date. Build the inventory from CT logs (what is public), network scans (what is served) and CA billing (what you pay for). Sort by how the certificate reaches the endpoint: ACME native, ACME with a deploy hook, vendor API, or manual. The manual group, usually appliances, is your 2027 outage list. Ask each appliance vendor in writing whether it supports ACME or an API for certificate import and reload. Test against Let’s Encrypt staging or your CA’s short-lifetime option before February 10, 2027. Set internal PKI lifetimes on purpose, separately.

Practitioners and learners: start now

Point an ACME client at the Let’s Encrypt staging environment on a lab domain and watch a full renewal: challenge, issuance, reload. Then check whether your client uses ARI. Knowing why a renewal failed at 2 a.m. will be a useful skill for years.

My take

Table stakes, and it isn’t a close call. The schedule is in the standard every public CA must follow, no CA voted against it, the protocols are done, and Let’s Encrypt has dated its defaults. Nothing here asks you to adopt something new. It asks you to stop doing renewals by memory.

Shorter lifetimes alone don’t make you safer. The gain comes from using the pressure to build an inventory and an alert. Teams that meet the deadline by throwing more people at manual renewals get the cost without the benefit.

What would change my mind: a new ballot that delays the 2027 or 2029 steps, or root programs carving out exceptions for device classes. As of November 27, 2026, the October 4, 2026 Baseline Requirements still carry the dates, and my search of CA/B Forum ballots found no proposal to delay them. I did not find any root-program exception either, but I can’t rule one out.

My prediction, and it is only an opinion: by the end of 2027, at least one well-known service will have a public outage traced to a renewal job that assumed 90-day certificates, and the post-mortem will mention a load balancer.

Sources

Ten critical NetScaler flaws, and why “denial of service” undersells them

Ten critical NetScaler flaws, and why “denial of service” undersells them

On June 30, 2026, Citrix told NetScaler customers that CVE-2026-8452 was a memory overflow “leading to unpredictable or erroneous behavior and denial of service.” Forty-five days later watchTowr Labs published a write-up and proof of concept turning it into unauthenticated remote code execution. On August 26, CISA put it in the Known Exploited Vulnerabilities catalog, and web shells were being reported on compromised appliances.

Keep that in mind when you read the bulletins Citrix (Cloud Software Group) published on November 12, 2026. They fix 28 memory flaws in NetScaler ADC and NetScaler Gateway plus an authentication bypass in NetScaler Console. Ten of those CVEs score 9.3 or higher on CVSS v4. For every critical memory bug, the vendor’s description stops at “unpredictable or erroneous behavior or Denial of Service”. Nothing is reported as exploited yet. I wouldn’t count on that lasting.

Severity: critical. If you run a NetScaler Gateway or AAA virtual server on the internet, it goes at the top of this week’s change calendar.

At a glance

  • Critical CVEs: CVE-2026-120869 (Console), plus CVE-2026-120868, CVE-2026-107407, CVE-2026-107408, CVE-2026-107409, CVE-2026-107410, CVE-2026-107412, CVE-2026-107415, CVE-2026-111334 and CVE-2026-120864 (ADC/Gateway).
  • CVSS v4 (vendor CVE records): 9.5 for CVE-2026-107412, 9.3 for the other nine, CVE-2026-120869 included. SecurityWeek and others report 9.4 for the Console bug. More on that below.
  • Affected: NetScaler ADC and Gateway 14.1 before 14.1-73.57 and 13.1 before 13.1-64.39; ADC FIPS before 14.1-73.58 FIPS; ADC 13.1 FIPS and NDcPP before 13.1-37.293; NetScaler Console before 14.1-74.34.
  • Exploitation: none reported as of November 16, 2026. None of the CVEs are in CISA KEV (catalog version 2026.11.13).
  • Fix: upgrade. CERT-EU lists no workaround, and Beazley Security says there is none for CVE-2026-120868.
  • Who should care: anyone running customer-managed NetScaler, including Secure Private Access hybrid deployments. Citrix-managed cloud services have already been updated, according to Beazley Security’s summary of the bulletin.

What Citrix shipped

I couldn’t read the Citrix bulletin pages myself (the community page returned an error and the support portal only loads through a browser). So the scores, affected builds and descriptions here come from the CVE records Citrix published as the CVE numbering authority, checked against CERT-EU advisory 2026-020. Where a detail comes only from secondary reporting, I say so.

The vendor records, all public on November 12 and 13, 2026, name the component for each critical ADC/Gateway flaw:

  • CVE-2026-120868: memory overflow in packet processing. CERT-EU says it needs no special feature and no authentication, and affects every deployment, default configurations included.
  • CVE-2026-107412 (9.5): “multiple memory overflow vulnerabilities”. CERT-EU says they hit appliances configured as a Gateway (SSL VPN, ICA Proxy, CVPN, RDP Proxy) or AAA virtual server and can be reached without authentication.
  • CVE-2026-120864: ICA proxy. CVE-2026-107415: Email OTP authentication. CVE-2026-111334: Endpoint Analysis (EPA/EPAS).
  • CVE-2026-107407: SMPP traffic. CVE-2026-107408: DNS and DNS-over-HTTPS. CVE-2026-107409: DNS-over-HTTPS. CVE-2026-107410: NetScaler Push.

Also in the batch: CVE-2026-120863, a management-plane overflow rated 8.7 that only affects availability, and CVE-2026-111338 (6.9), where sensitive authentication material gets written to a log file. The other bugs depend on features such as SAML, WebAuth, LDAP, client-certificate login, HTTP/2, HTTP/3 (QUIC), RTSP, BGP and the Application Firewall, per CERT-EU.

On the Console side, the record for CVE-2026-120869 says an unauthenticated attacker “can bypass authentication controls to access restricted resources”. Beazley Security says Citrix’s own Product Security Team found it. Every Console build before 14.1-74.34 is affected.

The 9.3 versus 9.4 question

Several outlets report CVE-2026-120869 as CVSS 9.4. Beazley Security and SecurityOnline both say Citrix rated it adjacent-network reachable, with high impact to systems beyond the Console. The CVE record Citrix filed says something else: 9.3, network attack vector (AV:N), and low impact on downstream systems. NVD mirrors that record and hasn’t done its own analysis yet.

I can’t tell you which one is current in the bulletin. In practice it changes nothing. Either way it’s an unauthenticated bypass on the system that manages your NetScaler fleet. The only real question is how far that box sits from an attacker, and you can answer that one yourself.

Why “denial of service” undersells these bugs

A memory overflow means the appliance writes past the end of a buffer while parsing attacker-supplied data. The easiest thing to do with that is crash the process, which is why vendors default to calling it DoS. With enough time and the patch diff to work from, a researcher can often shape those writes into control of the process instead. The components named in this batch (packet processing, ICA proxy, DNS, authentication) parse traffic from the internet, which makes them exactly where you don’t want that bug class.

Citrix’s own scoring says the same thing. Every critical ADC/Gateway record carries high confidentiality and high integrity impact (VC:H/VI:H), not just high availability. You don’t give a pure crash bug high integrity impact. CERT-EU noticed the gap too: ten flaws are rated high on all three impacts, yet the vendor describes their effects only as erratic behaviour or DoS. The prose sounds reassuring. The vector string doesn’t.

CVE-2026-8452 shows how this goes. It needed a Gateway or AAA virtual server, Citrix called it DoS, and Singapore’s CSA listed it at 8.8. After watchTowr’s August 14 write-up it became unauthenticated code execution, and Help Net Security reported web shells named x.php and z.php on compromised appliances. Those are indicators from that campaign, not from the November bugs, but they tell you what follow-on activity looks like.

Timeline: June 30 Citrix patches CVE-2026-8452 as DoS; August 14 watchTowr shows RCE; August 26 CISA adds it to KEV; September 9 to October 4 four more NetScaler CVEs added to KEV; November 12 new batch patched with no exploitation reported.
The last NetScaler overflow published as DoS went from patch to KEV in under two months.

It also wasn’t a one-off. The KEV catalog shows six NetScaler CVEs from 2026 alone: CVE-2026-3055 (added March 30), CVE-2026-8452 (August 26), CVE-2026-19490 (September 9), CVE-2026-88771 and CVE-2026-88772 (September 27) and CVE-2026-88779 (October 4). Four of those six are memory-safety flaws (out-of-bounds reads or buffer bugs). That’s about one exploited NetScaler bug every two to three weeks since late August.

Who is affected and how badly

Every customer-managed appliance below the fixed builds runs vulnerable code. Whether a given bug is reachable depends on configuration, though, and that is how you triage a 28-CVE bulletin without panicking.

Triage table: tier 1 CVE-2026-120868 affects every deployment; tier 2 CVE-2026-107412 and CVE-2026-120864 need a Gateway or AAA virtual server; tier 3 feature-dependent bugs; CVE-2026-120869 needs network access to NetScaler Console.
Components from Citrix's CVE records; preconditions per CERT-EU and Beazley Security's reading of CTX697305.

Tier one is CVE-2026-120868. It’s in core packet processing, so per CERT-EU and Beazley it doesn’t care what you’ve switched on. Any NetScaler passing traffic is exposed. Right behind it are CVE-2026-107412 and CVE-2026-120864 on Gateway and AAA virtual servers, the same internet-facing configurations that CVE-2023-4966, CVE-2025-5777 and CVE-2026-8452 required. KEV flags CVE-2023-4966 and CVE-2025-5777 as used in ransomware campaigns.

The feature-dependent bugs (SMPP, recursive DNS, DoH, Push, Email OTP, EPA) only matter if you use the feature. Beazley’s read of the bulletin maps each one to its precondition and says CTX697305 includes configuration checks for each. That’s useful for risk acceptance, not for skipping the upgrade. A single build fixes all of them.

The Console bypass is a different kind of risk. NetScaler Console is the central management system for your NetScaler appliances. Per Beazley, Citrix’s own scoring expects high impact on systems beyond the Console itself. If it’s on a properly isolated management network, exposure is limited. If it’s reachable from the internet or a flat corporate network, an auth bypass on the thing that manages your fleet can hurt you more than a crash on any single ADC.

One more thing: Beazley says NetScaler ADC and Gateway 12.1 and 13.0 are end of life and get no fix. If you still have those, this bulletin is your migration deadline.

What to do now

  1. Upgrade internet-facing Gateway and AAA appliances first, as CERT-EU recommends: 14.1-73.57 or later, 13.1-64.39 or later, 14.1-73.58 FIPS or later, or 13.1-37.293 or later for 13.1 FIPS/NDcPP. Do both nodes of an HA pair. Beazley notes the upgrade ends existing ICA sessions, so tell your helpdesk before you do it.
  2. Then upgrade every other ADC, internal load balancers included. CVE-2026-120868 doesn’t need a special feature.
  3. Upgrade NetScaler Console to 14.1-74.34 or later. According to Beazley, Console instances older than 14.1-51.x with file-based licensing need a license extension from your Citrix account team first. Start that request today so it doesn’t hold up the patch.
  4. Until the Console is patched, restrict access to its interface (and the NSIP management addresses, because of CVE-2026-120863) to a trusted admin network. If Console is reachable from the internet, fix that whatever the patch status.
  5. Check log retention and who can read appliance logs, because of CVE-2026-111338. After upgrading, consider rotating any authentication secrets that could have ended up in those logs. The public records don’t say which secrets are involved, so ask Citrix if that matters to you.
  6. Find any 12.1 or 13.0 appliances and plan their migration to 14.1.

For the CLI steps to check builds and configuration, use CTX697305 and CTX697320 directly. I’m not reproducing commands here that I couldn’t verify against the bulletin text.

Detection and monitoring

Nobody has published indicators for the November bugs, and I won’t make any up. What you can do is watch for the signs that showed up in earlier NetScaler waves.

  • Unexpected packet-engine crashes, core dumps or HA failovers on unpatched appliances. In my experience, people developing memory-corruption exploits crash things first, so a rise in crashes before patching deserves a ticket.
  • New or changed files under the appliance’s web-served directories, especially PHP files. In the CVE-2026-8452 campaign that was x.php and z.php.
  • Shell commands such as id and echo, or new processes spawned by the web or packet-processing services, in whatever process or audit logs you forward off the box.
  • On NetScaler Console: logins or API calls from addresses outside your admin ranges, and configuration jobs pushed to managed appliances that no change ticket explains.

If you find any of these, follow Citrix’s guidance for appliances suspected of compromise (CTX694799, which CISA links from its KEV entries). Remember that patching alone doesn’t remove a web shell.

My take

This bulletin worries me more than the “no exploitation” line suggests, and the reason is the wording. “Memory overflow, DoS” is a description of what Citrix has demonstrated, not the ceiling of what’s possible. The vendor’s own vectors rate confidentiality and integrity impact as high. The last time a NetScaler Gateway overflow was published as DoS, it was exploited within two months. Per Beazley’s credits, at least three teams (Citrix’s own AI-assisted review, JPMorgan Chase’s XOR team and watchTowr, the team that showed CVE-2026-8452 was RCE) already found bugs in this code. Others will diff the patch soon.

So I’d treat CVE-2026-120868 and CVE-2026-107412 as pre-auth RCE that hasn’t been proven yet, and patch on that timeline: internet-facing Gateway and AAA appliances within days, not at the next monthly window. The Console bug gets less attention because it’s management-plane. I think that’s a mistake for anyone whose Console isn’t properly fenced off.

The bigger pattern is cadence. Six NetScaler entries in KEV in one year, four of them memory-safety bugs, means this is a parsing codebase that keeps producing exploitable bugs. If you run NetScaler, budget for patching it like a browser rather than an appliance, and plan your HA design and change process around that. I’d also ask Citrix to say plainly when it hasn’t ruled out code execution. Customers prioritise from the prose, not the vector string.

Sources

Atomic Red Team and how to run red team simulations with it

Atomic Red Team and how to run red team simulations with it

Ask a security team “are we covered against credential dumping?” and you usually get a shrug, a glance at the EDR console, and a hopeful “probably”. That gap between “we bought the tool” and “we actually see the attack” is exactly where Atomic Red Team lives.

Atomic Red Team is a free, open-source library of small attack simulations, each one mapped to a MITRE ATT&CK technique. You run a test, watch your logs and alerts, and find out whether that specific behaviour was prevented, alerted on, quietly logged, or missed entirely. It turns a vague feeling into a number you can track over time.

This is a how-to, not a breaking story. Everything below assumes an isolated, authorized lab with written permission. These are real attacker behaviours; running them where you shouldn’t is how you end up explaining yourself to an incident response team or a judge.

At a glance

  • What it is: an open-source (MIT) library of “atomic” tests, each mapped to a MITRE ATT&CK technique.
  • Who made it: Red Canary, first released in 2017, now community-maintained on GitHub (redcanaryco/atomic-red-team).
  • Scale: hundreds of techniques and well over a thousand individual tests (the repo badge shows roughly 1,900 as I write this). Treat every count as approximate and check atomics/Indexes for the current numbers.
  • Coverage: Windows, Linux, macOS, cloud (AWS, Azure, GCP, Microsoft 365, Entra ID) and containers.
  • Who should care: blue teams, detection engineers, and anyone running a purple-team program on a small budget.
  • What it is not: a replacement for a real red-team engagement or a commercial breach-and-attack-simulation platform.

What “atomic” actually means

The name is the whole idea. An atomic test is the smallest meaningful unit that exercises one behaviour tied to one technique. Not a full intrusion, not a campaign, just a single observable action, like dumping LSASS memory or writing a Run key.

Three design principles hold the project together, and they are the reason it caught on:

  • Small and focused. Each test checks one thing, so when an alert fails to fire you know precisely which behaviour you missed.
  • Portable. Tests mostly use built-in operating-system tooling (PowerShell, cmd, bash, native binaries). No command-and-control server, no custom implant, no heavy framework to stand up first.
  • Mapped to ATT&CK. Every test carries a technique ID like T1003.001, so results roll straight up into coverage maps instead of living in someone’s spreadsheet.

Where does it sit next to the other tools? MITRE Caldera automates full adversary emulation with an agent and a planner. Commercial C2 frameworks give an operator a live foothold to pivot from. Commercial breach-and-attack-simulation (BAS) platforms run continuous, packaged scenarios with a polished dashboard. Atomic Red Team is deliberately smaller and more honest than all of them: a cheap, repeatable way to validate detection coverage one technique at a time. It complements a red team, it does not replace one.

How the repo is built

Everything lives under atomics/, one folder per technique (for example atomics/T1003.001/). Inside each folder is a YAML file that defines the tests plus a generated Markdown file that documents them in a readable form.

The YAML schema is worth understanding because it is also how you write your own tests. The important fields:

  • attack_technique and display_name: the ATT&CK ID and human label.
  • auto_generated_guid: a stable unique ID for each test, so you can call a test by GUID even if its number shifts.
  • supported_platforms: windows, linux, macos and so on.
  • input_arguments: named, typed parameters with defaults, referenced in commands with the #{name} substitution syntax.
  • dependencies with prereq_command and get_prereq_command: a check-then-fetch pair that stages any files or conditions a test needs.
  • executor: the command to run, an optional cleanup_command to undo it, and elevation_required to flag tests that need admin or root.

You do not run that YAML by hand. The most common runner is Invoke-AtomicRedTeam, a PowerShell module that works across platforms. There is also atomic-operator (a Python runner), ATT&CK Navigator layer exports for visualising coverage, and logging modules (including Attire format) for shipping results somewhere useful.

Setting up a lab that will not hurt you

Before a single test runs, build the room you will break things in. My minimum checklist:

  • An isolated network with no path to production and no production credentials in sight.
  • VM snapshots taken before and after each run, so a failed cleanup is a rollback and not a reinstall.
  • Telemetry turned on: Sysmon (a sensible config such as SwiftOnSecurity’s is a good start), PowerShell Script Block Logging, auditd on Linux, and your EDR in audit or full mode.
  • A SIEM or log store collecting all of it, because a test you cannot see is a test you cannot score.
  • Written authorization. Boring, non-negotiable, and the thing people skip.

Installing the runner is quick. On Windows, from an elevated PowerShell session:

IEX (IWR 'https://raw.githubusercontent.com/redcanaryco/invoke-atomicredteam/master/install-atomicredteam.ps1' -UseBasicParsing)
Install-AtomicRedTeam -getAtomics

On Linux or macOS the same module runs under PowerShell 7:

pwsh -c "IEX (IWR 'https://raw.githubusercontent.com/redcanaryco/invoke-atomicredteam/master/install-atomicredteam.ps1' -UseBasicParsing); Install-AtomicRedTeam -getAtomics"

Always read install scripts before piping them into a shell, including this one. That habit is the whole point of the exercise.

Running a test: the five-step loop

Every test follows the same rhythm, and Invoke-AtomicTest exposes each stage as a flag. Take credential dumping, technique T1003.001:

  • Show details: Invoke-AtomicTest T1003.001 -ShowDetails prints what each test will do, so nothing is a surprise.
  • Check prerequisites: -CheckPrereqs tells you what is missing.
  • Get prerequisites: -GetPrereqs stages the files or conditions.
  • Run: Invoke-AtomicTest T1003.001 -TestNumbers 1 -ExecutionLogPath run.csv executes and records what ran and when.
  • Clean up: -Cleanup reverses the changes. Trust it, but verify with your snapshot.

Useful extras: -TestGuids to pin an exact test, and -Session to run against a remote lab host over PowerShell remoting. When the library does not cover something you care about, write your own atomic in the same YAML schema and drop it in. That is the part people underuse.

The purple-team workflow

Running tests at random produces noise, not insight. The value comes from a loop you repeat deliberately.

Start with a scope and a hypothesis (“we believe we detect LSASS access”). Plan the specific tests. Run them in controlled execution, one at a time. Then observe and classify each result into one of four buckets: Prevented, Alerted, Logged (the data exists but nothing fired), or No telemetry at all. Clean up and restore the snapshot. Finally report and improve.

The last step is the one that matters. Every blind spot becomes a new detection rule, and then you re-run the same test to confirm the rule fires. That re-run is regression testing for your SOC: it proves the fix worked and keeps working.

Six-step purple-team loop diagram: scope and hypothesis, plan tests, controlled run, observe and classify, cleanup and restore, report and improve, with four result buckets Prevented, Alerted, Logged only, No telemetry.
The measurement loop that gives Atomic Red Team its value. Each blind spot becomes a rule you re-run to confirm.

A worked example: chaining eight techniques

Individual tests are useful, but attackers do not stop at one behaviour. A more realistic drill strings several techniques into a chain and asks a sharper question: can we catch this before the final, damaging step? I will keep this at the technique-and-telemetry level, not the command level, because the point is detection, not a playbook.

Here is a representative eight-stage chain and the log source that should catch each stage:

  • Execution (T1059.001, PowerShell): PowerShell event 4104, Sysmon event 1.
  • Discovery (T1082 system info, T1087.002 domain accounts): Sysmon 1 and Security 4688 process creation.
  • Credential Access (T1003.001, LSASS): Sysmon event 10 (process access to lsass) and Sysmon 11 (file create).
  • Persistence via Run key (T1547.001): Sysmon event 13 registry modification.
  • Persistence via scheduled task (T1053.005): Security 4698 and Sysmon 1.
  • Defense Evasion (T1070.001, clear event logs): Security 1102 and System 104.
  • Lateral Movement (T1021.002, SMB admin shares): Security 4624 logon type 3 and 5140 share access.
  • Impact (T1490, inhibit system recovery): Security 4688 and Sysmon 1.
Table of an eight-stage intrusion mapping each tactic to a MITRE ATT&CK technique ID and the Windows or Sysmon log event that should detect it, from Execution through to Impact highlighted in red.
Eight techniques, eight chances to catch the chain before the Impact step. Technique IDs per MITRE ATT&CK.

Read down that list and the lesson jumps out. If your only solid detections sit at the Impact step, you are catching the attack at the moment the damage happens. The goal of the drill is to light up the earlier stages, ideally at Credential Access, so the chain breaks before recovery is inhibited.

Measuring and reporting

Classification without arithmetic is just vibes. A few numbers make the program legible to people who sign budgets:

  • Technique coverage %: of the techniques you tested, how many produced any detection.
  • Detection rate: how many tests ended in Prevented or Alerted rather than merely Logged.
  • MTTD: mean time to detect, from execution to alert.

Colour an ATT&CK Navigator layer by detection status and you get a heat map your whole team can read at a glance. Tools like VECTR are built to track these results across rounds and show whether coverage is actually improving over time.

Automating it

Once the manual loop feels natural, automate the boring parts. Invoke-AtomicRunner schedules “canary” runs so a known set of tests fires on a cadence and you notice when a detection silently regresses. Detection-as-code pipelines can run atomics in CI/CD against a lab image before a rule change ships. And the -LoggingModule option pushes execution logs straight to a SIEM over Syslog, Windows Event, or Attire format, so every test is correlated against the alerts it should have produced.

Limitations and real risks

Be honest about what this does not give you. Atomic tests are isolated per technique and run “clean”, in a predictable order, with default arguments. A real intruder varies timing, obfuscates, and chains things you did not script. Passing every atomic is not the same as stopping an adversary.

The value also depends entirely on your logging. If Sysmon event 10 is not collected, the LSASS test will look like a miss when the real problem is a gap in telemetry, not detection. Cleanup can fail, which is why snapshots are not optional. Never run on production. And if you exclude Defender or your EDR to “let the test through”, you have just left a lab host genuinely exposed, so re-enable protection the moment you are done and tell your SOC before you start so they do not chase ghosts.

My take

The thing people get wrong about Atomic Red Team is thinking the value is in “running attack commands”. It is not. Anyone can run a command. The value is the measurement loop it forces on you: it converts “are we secure?” into a coverage percentage you can watch move, round after round.

Its honesty is the quiet superpower. Because every test is readable YAML, you can see exactly what each one does and why it should be caught. That transparency beats a black-box BAS platform that tells you a scenario “passed” without showing you the behaviour behind it. When a detection engineer can read the test and read the missing alert side by side, fixes get written fast.

The failure mode is equally predictable. Teams mistake “the test ran” for “we are covered”, and they build coverage maps on top of telemetry they never validated. Atomic Red Team is only as good as the logs underneath it. Get the telemetry right first, run the loop honestly, and treat every green cell as a claim you have to defend. Do that and it is one of the best free upgrades a blue team can give itself.

Sources

PHP2Shell to root: how attackers turned Check Point gateways into footholds

PHP2Shell to root: how attackers turned Check Point gateways into footholds

Starting October 30, 2026, attackers sent crafted web requests to the Mobile Access portals of Check Point gateways at Israeli organizations. In the worst case Check Point describes, a few steps later they were root on the firewall, had a backdoor that can tamper with its logs, were on the VMware ESXi host over SSH, and ran a wiper there.

Check Point Research published the details on November 12, 2026. The chain uses two bugs: PHP2Shell, a pair of flaws in PHP itself that PHP fixed on October 21, and CVE-2026-123039, a Check Point bug where a root daemon on Gaia OS accepts commands from anyone who can reach a world-writable socket in /tmp. CISA added CVE-2026-123039 to its Known Exploited Vulnerabilities catalog on November 13 with a due date of November 16. Check Point says it saw exploitation against “a couple of dozen customers.”

Severity: critical. The local bug on its own is a 7.8, but paired with an unauthenticated web RCE on an internet-facing portal it turns your perimeter device into the attacker’s best foothold.

At a glance

  • CVEs: CVE-2026-109618 and CVE-2026-109619 (PHP2Shell, initial access), CVE-2026-123039 (Gaia DynamicCLI local privilege escalation to root).
  • Scores: the PHP security team rates CVE-2026-109618 CVSS v4.0 9.2, and secondary reporting gives CVE-2026-109619 the same 9.2. CVE-2026-123039 is CVSS 3.1 7.8 (AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H) from Check Point as the CNA, with CWE-862 and CWE-732. I could not load the NVD record on November 15; Rescana reported it as still undergoing analysis.
  • Affected (sk1000362): Gaia R82.20, R82.10, R82, R81.20, R81.10 and R81 on Force Firewalls, Management and Log Servers, Multi-Domain Security Management and Multi-Domain Log Server, and Maestro Orchestrator. Spark Firewalls and Smart-1 Cloud are not affected.
  • Fixed in Jumbo Hotfix Accumulator: R82.20 Take 14, R82.10 Take 52, R82 Take 132, R81.20 Take 174, or later. No fixed take is listed for R81.10 or R81, both end of support.
  • Exploited: yes. Wave 1 from October 30 (Israeli organizations, some destructive), wave 2 from November 2 (multiple countries and sectors). In CISA KEV since November 13.
  • Attribution: unconfirmed. Check Point Research explicitly declines to assess it with high confidence.
  • Who should care: anyone running Check Point Mobile Access on the internet, and anyone whose firewall can SSH into ESXi.

What we know

PHP2Shell landed on October 21, 2026. The PHP security team shipped PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12 and said updating was “the only complete mitigation.” The same day CISA told organizations to inventory PHP everywhere, including PHP bundled inside other products, and it added both CVEs to KEV on October 26.

Check Point’s Mobile Access portal is exactly that kind of bundled PHP. Check Point Research says the first wave began roughly one week after a fix became available. Rescana reports that Check Point’s PHP2Shell hotfix (sk1000302) was published on October 23; I did not open that bulletin myself, so treat that date as secondary.

The first wave, from October 30, hit Israeli organizations and included destructive activity against some of them. The second, from November 2, was broader and looked opportunistic, with no destructive activity observed. Check Point created sk1000362 on November 8, the CVE went public with the research on November 12, and KEV followed on November 13.

Timeline from October 21, 2026 (PHP fixes) through October 26 (PHP2Shell in KEV), October 30 and November 2 (exploitation waves), November 12 (Check Point Research write-up), November 13 (CVE-2026-123039 in KEV) to the November 16 KEV due date.
Nine days separated the upstream PHP fix and the first wave against Check Point gateways.

How the attack unfolded

Step one is PHP2Shell. According to the PHP advisory, PHP aborts a request with a long jump when memory runs out, and that can happen while internal request state is only half built. Request shutdown then trusts that state, which can be turned into code execution. PHP demonstrated it unauthenticated over HTTP against Apache with mod_php, before any application code runs. On a Check Point gateway that means code execution as the portal’s service account. Check Point found PHP session files under /opt/CPcvpn-R81.20/tmp/ containing the marker upload_progress_pwn, and hundreds of segmentation faults in the portal’s Apache/PHP workers during the October 30 window. Crashing workers are what memory-corruption exploitation tends to look like from the outside.

Step two is the part Check Point owns. Gaia runs a root process, dynamic_server, that serves Dynamic CLI commands over a local Unix socket at /tmp/dynamic_socket. On vulnerable builds that socket is mode 0777 and the daemon never checks who is calling. Any local process, including an unprivileged web worker, can hand it a command that runs as root. That is CWE-732 (incorrect permissions on a critical resource) plus CWE-862 (missing authorization). After the fix the socket is 0660, owned by root and the config group, and the daemon rejects callers it does not trust.

Five-step attack chain: PHP2Shell on the Mobile Access portal, root via the world-writable dynamic_socket, webshells and the TSGA backdoor, SSH pivot to ESXi as vpxuser, and the destroy_v6 wiper.
The chain as described by Check Point Research. The wiper stage was seen only in some first-wave intrusions.

With root, they planted webshells as zz*.tpl files in the portal’s login templates, protected by a hardcoded key. They launched a backdoor Check Point calls TSGA from /tmp/CPconfigdaemon, which relocates itself into a boot persistence directory as slot_CPconfigdaemon. Check Point lists its features as encrypted remote access, configuration theft, persistence in backups and snapshots, process injection and tampering with binary firewall logs. A companion implant, TSProxy, was written to /lib/libcpfwcommon.so and injected into appliance processes as an encrypted SOCKS-style proxy. Both use TCP port 11072 and a Unix socket at /tmp/.p_sock.

In at least one intrusion they then ran the gogo scanner, moved over SSH to a VMware ESXi host using the vpxuser account, staged a wiper Check Point calls destroy_v6 and ran it. The wiper writes DREAM_ANNEXATION.txt into every directory it processes. Check Point does not say how the attackers got working vpxuser credentials.

Who did it: still an open question

Here the facts get thin. Check Point Research links TSGA and TSProxy to a toolset called PhiliKit. It says ESET associated PhiliKit with UNC5221, a China-nexus group, that the toolset was previously reported in attacks on Ivanti appliances, and that TSProxy shares operator credentials and a TLS certificate with a PhiliKit component. The infrastructure sat on LightNode VPS hosts that Check Point says have previously been tied to China-nexus activity.

Then the picture breaks. The wiper note uses the brand of Dream Security, a company that had recently published research on PHP2Shell exploitation of Palo Alto Networks devices by China-nexus actors. Check Point says the destruction, the Israel focus and the Hebrew note do not fully align with UNC5221’s motives. Check Point lays out several possibilities, including an initial access broker or a false flag where the destruction is a smoke screen, and concludes that the evidence does not let it assess “with high confidence the true nature of this operation.” I’d leave it there: attribution is unconfirmed.

Who is affected and how badly

CVE-2026-123039 needs local code execution first, which is why it scores 7.8 and not 9-something. That framing undersells it. On a gateway with Mobile Access exposed and an unpatched PHP stack, “local” is one unauthenticated request away. Management and log servers are affected too, so any other foothold on those boxes gets the same root shortcut.

My honest rating: critical for anyone with Mobile Access facing the internet who was not on the PHP2Shell hotfix by late October. High for everyone else on affected versions, because a root-on-demand socket turns every future web bug on the appliance into full compromise. The R81.10 and R81 crowd is in the worst spot, with no fixed take listed and only the mitigation to lean on.

What to do now

  1. Install the Jumbo Hotfix that fixes CVE-2026-123039 on gateways, management and log servers: R82.20 Take 14, R82.10 Take 52, R82 Take 132, R81.20 Take 174, or later. Start with anything exposing Mobile Access. Confirm the takes in sk1000362 before scheduling; the CVE record’s affected ranges are worded slightly differently from the SK, and I’d follow the SK.
  2. Make sure the PHP2Shell fix is also on every Mobile Access gateway. Fixing the root socket without fixing the portal still leaves the attacker a webshell.
  3. If you cannot patch, use the sk1000362 mitigation: stop dynamic_server and stop it from restarting. This breaks the Dynamic CLI commands listed in sk144112. Copy the exact commands from the SK, not from a blog.
  4. On R81.10 or R81, apply the mitigation and plan the upgrade. Turn off Mobile Access where nobody uses it.
  5. If your Mobile Access portal was reachable and unpatched at any point after October 21, treat the box as possibly compromised and run the checks in the detection section below. Patching does not remove a webshell or a backdoor that is already there.
  6. Review what your firewall can reach. A gateway that can SSH into ESXi, or that holds credentials which work there, is a bridge nobody designed on purpose. Ship firewall logs off the box in real time, since TSGA can tamper with them.

Detection and monitoring

Two parts of this chain are easy to see if you collect the right logs, and the rest is hard. The easiest is the privilege escalation itself: dynamic_server writes every command it receives to /var/log/dynamicCli.log, and sk1000362 tells you what normal looks like. The second is the implant drop, since Check Point Research names the exact paths. The PHP2Shell request and the wiper are the weak spots. The catch is that Gaia does not ship dynamicCli.log off the box by default, most gateways run no EDR, and an attacker with root can edit local logs. Forwarding comes first, rules second.

RuleCategoryLog sourceATT&CKLevel
DynamicCLI exploitation-style commandNetwork (firewall)dynamicCli.logT1068, T1059.004High
DynamicCLI command without Clish wrapperNetwork (firewall)dynamicCli.logT1068Medium
DynamicCLI rejected unauthorized uid (after patching)Network (firewall)dynamicCli.logT1068Medium
TSGA, TSProxy or portal webshell file createdLinuxFile creationT1505.003, T1090Critical
SSH login to ESXi as vpxuserIdentityESXi auth.logT1021.004High

The one I’d turn on first is the exploitation-style command rule. It fires when the root daemon logs a received command containing the strings Check Point itself lists as typical of exploitation: whoami, /dev/tcp, curl or wget, base64, useradd, authorized_keys and a few others. Clish has no reason to send any of those through Dynamic CLI, so a hit means someone used the socket as a root shell. It is the SK’s own grep turned into a SIEM rule:

title: Check Point Gaia DynamicCLI Exploitation-Style Command - CVE-2026-123039
id: 50564284-e728-4af4-940e-a38255c15ab2
status: test
description: |
    Detects commands received by the root dynamic_server daemon on Check Point Gaia that contain
    discovery, download, reverse-shell, credential or account-creation strings. Check Point sk1000362
    lists these strings in /var/log/dynamicCli.log as typical of CVE-2026-123039 exploitation, where a
    web worker abuses the world-writable /tmp/dynamic_socket to run commands as root.
references:
    - https://support.checkpoint.com/results/sk/sk1000362
    - https://research.checkpoint.com/2026/php2shell-exploitation-on-check-point-gateway/
    - https://netsec101.com/?p=244
author: netsec101.com
date: 2026-11-15
tags:
    - attack.privilege-escalation
    - attack.execution
    - attack.t1068
    - attack.t1059.004
    - cve.2026-123039
    - detection.emerging-threats
logsource:
    product: checkpoint
    service: dynamiccli
    definition: 'Requirement: forward /var/log/dynamicCli.log from every Gaia gateway, cluster member and management server to the SIEM (not shipped by default).'
detection:
    keywords_received:
        - 'Received ='
    keywords_commands:
        - ' id;'
        - ' whoami'
        - '/etc/shadow'
        - 'ncat'
        - 'nc -'
        - '/dev/tcp'
        - 'curl '
        - 'wget '
        - 'base64'
        - 'useradd'
        - 'authorized_keys'
    condition: keywords_received and keywords_commands
falsepositives:
    - Administrators deliberately running such commands through Dynamic CLI during troubleshooting (rare; confirm with the change record)
level: high

The read-only checks from sk1000362 still apply on each gateway in Expert mode: confirm /tmp/dynamic_socket is srw-rw---- root config after the hotfix, then grep dynamicCli.log for received commands without the Clish wrapper. Check Point Research’s artifact paths (/tmp/CPconfigdaemon, /tmp/.bd.log, /lib/libcpfwcommon.so, zz*.tpl in the portal tree, a listener on TCP 11072) are worth a one-off sweep, and the hashes are in CPR’s IOC table.

After patching, keep watching. On a fixed build the daemon logs “Rejected connection from unauthorized uid” when an untrusted process knocks, and a non-zero uid like 99 means something on the box still has a foothold. I’d retro-hunt every log you have back to October 21, 2026, when PHP2Shell was patched upstream. Search perimeter logs for 130.94.19[.]204 and 130.94.19[.]168 over the same window, then let those IPs age out after about 90 days; VPS addresses get recycled. On ESXi, any SSH login as vpxuser deserves a call to whoever owns vCenter.

I wrote up all five rules, with tuning notes, lab tests and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

The headline bug here is not really the one in KEV. PHP2Shell was public, patched and screamed about by CISA on October 21. Attackers were inside Check Point gateways nine days later. The lesson I take is that a security appliance carries a full open-source web stack, and its exposure clock starts when that upstream project patches, not when the appliance vendor writes its own bulletin. If your firewall patching waits for the vendor’s cadence, you lost this race before it started.

CVE-2026-123039 is the part that should embarrass the vendor. A root daemon taking unauthenticated commands over a world-writable socket in /tmp is a bug class we were writing up in the 1990s. On a product whose whole job is enforcing trust boundaries, the boundary between “web worker” and “root” was a file permission. The CVSS 7.8 is technically correct and practically misleading: in real deployments it is the multiplier that turns any web bug on the box into full control, including log tampering on the device you rely on for evidence.

I would not spend time on attribution yet; Check Point itself will not commit. What matters for defenders is the same either way: the firewall had a path into ESXi. If I ran a Check Point estate this week, I’d patch, run the dynamicCli.log checks on every gateway exposed since October 21, and then go find out exactly what credentials and network paths my firewalls have into the virtualization layer. Most people will skip that last step, and it is the one that decided whether victims lost a firewall or their servers.

Sources

Barracuda ESG auth bypass chains to root, now exploited (CVE-2026-116606)

Barracuda ESG auth bypass chains to root, now exploited (CVE-2026-116606)

For three days in early November, Barracuda’s own advisory said two different things about the same bug. The headline called CVE-2026-116606 a “pre-authentication” bypass. The field underneath said it required administrative access. Mandiant, which published the CVE record, scored it as needing no privileges at all. On November 5, 2026, Barracuda corrected the field. Four days later it reported exploitation in the wild, and on November 10 CISA put both bugs in its Known Exploited Vulnerabilities (KEV) catalog with a three-day federal deadline.

The chain is simple to describe. CVE-2026-116606 lets someone with no credentials restore a crafted backup onto a Barracuda Email Security Gateway (ESG) and rewrite its global configuration. CVE-2026-111560 lets an administrator inject shell commands through the timezone setting, and those commands run as root. Barracuda says that together they let an attacker bypass authorization controls and get root on the box.

Severity: critical if your ESG admin interface is reachable from anywhere you don’t fully trust. If you run one, patch and go look at your logs. This post is mostly about the second part.

At a glance

  • CVE-2026-116606: authentication bypass in the ESG configuration-import function (CWE-288). CVSS 4.0 score 9.3, no privileges required. Affects ESG earlier than 9.4.0.030.
  • CVE-2026-111560: OS command injection in the timezone field (CWE-78), runs as root, needs admin. CVSS 4.0 score 8.6. Affects ESG, Load Balancer ADC, Web Application Firewall, Web Security Gateway, Message Archiver and WAF Control Center.
  • Exploitation: confirmed by Barracuda on November 9, 2026 (“a small number of organizations”). Both CVEs added to CISA KEV on November 10, due November 13, with forensic triage required.
  • Fix: ESG 9.4.0.030 or later (patches BNSF-40425 for 9.4.017 and later, BNSF-40430 for older builds). Separate patch IDs for the other five products.
  • Who should care: anyone running an on-premises ESG appliance, physical or virtual, and anyone running the other five products with a management interface that isn’t locked down.

What we know

According to Mandiant’s disclosure timelines, Barracuda reported the timezone injection on October 15, 2026 and the backup-restore bypass on October 22. Mandiant acted as the CVE numbering authority for both and published MNDT-2026-0041 and MNDT-2026-0042 on November 2, the same day Barracuda posted its advisory and patches. Neither Mandiant advisory credits an outside researcher.

At disclosure, nobody was talking about attacks. Field Effect and Beazley Security both wrote on November 3 that no exploitation had been reported, and Beazley noted there was no public proof of concept.

That changed on the evening of November 9, when Barracuda updated its advisory to say it had observed exploitation affecting a small number of organizations. It did not say which of the two CVEs was used, who the attackers were, or how many customers were hit, and it published no indicators of compromise. CISA added both CVEs to KEV on November 10. In its enrichment data for the CVE records, CISA marks exploitation as “active” and technical impact as “total” for both, and rates the ESG bypass as automatable.

Some outside telemetry exists. SecurityWeek reported on November 11 that Previdian, which runs exploitation sensors, saw 17 attempts against CVE-2026-116606 between November 9 and November 11, from 15 IP addresses in three countries. When I checked Previdian’s page on November 14, the count had grown to 18 attempts from 16 IPs in four countries, still all between November 9 and 11. Previdian is explicit that these are attempts seen by its sensors, not confirmed compromises.

Timeline from October 15 to November 13, 2026: both bugs reported, advisories and patches on November 2, auth field corrected November 5, exploitation reported November 9, KEV listing November 10, federal deadline November 13.
From first report to the federal KEV deadline in 29 days. Dates from Mandiant, Barracuda and CISA.

How the chain works

Barracuda and Mandiant describe the bugs only in outline. watchTowr Labs has since published a code review of the patch (its post is dated November 5, 2026), so this picture combines the advisory text with that analysis. It stays at a conceptual level.

The first bug is in configuration import. Mandiant says an unauthenticated remote attacker can invoke the configuration-import function and restore “a crafted, compatible backup archive”, which modifies the appliance’s global configuration. The weakness class is CWE-288, authentication bypass using an alternate path or channel. In plain terms: the front door checks your login, but some route to the restore feature doesn’t.

Restore is about the most dangerous feature an appliance can expose, because a backup is the device’s whole state packaged up for re-import. Whoever controls the restore controls the box. The advisories don’t say exactly what an attacker changes, so the step from “rewrote global configuration” to “has admin” is my inference, not a published detail. Barracuda’s own wording, that the combination lets an attacker “bypass authorization controls and obtain root access”, is consistent with it.

The second bug is older-school. Mandiant describes “improper neutralization of shell metacharacters in the timezone configuration field”: a settings value ends up in a shell command without proper escaping, and that command runs as root. It needs an admin session on its own. Chained behind the bypass, that requirement stops mattering.

watchTowr’s review fills in the mechanics. Both bugs sit behind a single endpoint on the admin UI. The bypass comes from the password-change logic: when a password change fails, the code keeps processing the request, and that lets the same request reach an upload handler that accepts a backup archive. The archive carries configuration that gets restored, including the timezone value, and a helper script running as root then acts on that value. That also sharpens my inference above: in watchTowr’s reading the attacker never has to become an admin first, because the crafted backup itself delivers the value that reaches the root helper.

watchTowr also released a GitHub tool it calls a “Detection Artifact Generator”, which builds a backup archive and uploads it. I have not run it, but I would plan as if working exploit code is public.

Four-step flow: reach the ESG admin UI, restore a crafted backup via CVE-2026-116606, gain admin-level control (inferred step), then run commands as root through the timezone field via CVE-2026-111560.
Conceptual chain from the advisories. Step 3 is my inference; the exact mechanism has not been published.

Mandiant says CVE-2026-111560 lives in code shared across Barracuda appliances, hence six affected products. On the five non-ESG products it is “only” an admin-to-root bug: lower urgency, but a stolen admin password now means root.

The authentication confusion, reconciled

This is where the early coverage got muddled, so here’s the record. Barracuda’s November 2 advisory titled the ESG bug a pre-authentication issue but listed “Yes, administrative access” under authentication required. Mandiant’s CVSS vector for it says PR:N, no privileges. On November 5 at 2:30pm EST, Barracuda changed the field to “No (Administrative UI Access Required)” and spelled out that authentication isn’t needed, only network reach to the admin UI.

So the two sides now agree. What remains is a wording trap: “requires access to the administrative interface” sounds like “requires admin”, and it doesn’t. It means “requires a network path”. Some reporting still mixes the bugs up the other way. BleepingComputer’s November 10 story describes the timezone bug as usable by unauthenticated attackers, which contradicts both Mandiant and Barracuda. On its own it needs an admin; it only becomes unauthenticated when chained.

Table comparing what Barracuda (November 2 and November 5), Mandiant and CISA KEV said about whether each CVE requires authentication.
Barracuda's November 5 correction brought its advisory in line with Mandiant's no-privileges score.

There’s a smaller mismatch too. Barracuda labels both CVEs “High” severity on its advisory, while a CVSS 4.0 score of 9.3 falls in the Critical band. If your patch tooling sorts by vendor severity, the ESG bug may sit lower in the queue than it should.

Who is affected and how badly

The whole risk turns on one question: who can reach your ESG admin UI? If it’s only a dedicated management network or a jump host, an outside attacker first needs a foothold inside, and Barracuda itself says organizations without internet-exposed admin interfaces are less exposed. If the admin UI faces the internet, you were one crafted upload away from a rooted mail gateway for as long as you were unpatched.

I could not find a public count of internet-exposed ESG admin interfaces as of November 14, 2026, so I won’t guess at one. CISA’s KEV entry puts the burden where it belongs, noting that stakeholders are responsible for evaluating each asset’s internet exposure.

Why a mail gateway matters so much: it sits between the internet and your mail server and sees every message in and out. Root on that box means potential mail interception and credential theft, plus a trusted position for moving further in, a point Field Effect also makes.

Version strings are inconsistent across the sources (Mandiant lists ESG “<= 9.4.0.27” for the timezone bug, the bypass is fixed in 9.4.0.030, Barracuda splits its patches at “9.4.017”, and watchTowr’s patch comparison treats build 9.4.0.027 as vulnerable and 9.4.0.029 as fixed). Don’t try to decode those by hand. Check what your appliance reports as the latest firmware and confirm both patch IDs are applied.

What to do now

  1. Get ESG to 9.4.0.030 or later and confirm BNSF-40425 (9.4.017 and later) or BNSF-40430 (older) is installed. Barracuda warns that appliances several versions behind may need more than one update. If automatic patching was off, turn it back on.
  2. Before or while you patch, cut the admin UI off from the internet. Allow it only from a management subnet or jump host via firewall rules or network access controls. This is Barracuda’s own mitigation and it removes the unauthenticated half of the chain.
  3. Patch the other products for CVE-2026-111560: Load Balancer ADC and WAF (BNADC-16586), Message Archiver (BNMA-32468), WAF Control Center (BNWF-60060), Web Security Gateway (BNYF-24789).
  4. If the admin UI was reachable from untrusted networks at any point before you patched, treat the box as a triage case, not just a patch job. That’s exactly what CISA’s KEV entry demands of federal agencies under BOD 26-04: a forensic triage to assess whether the system is compromised.
  5. If you find signs of compromise, rotate every credential and key the appliance held or could reach (Field Effect’s advice too) and open a case with Barracuda support. Barracuda hasn’t said whether it will again recommend replacing compromised hardware, as it did in 2023. Ask.

Detection and monitoring

Most of this chain happens inside a closed appliance, so you can’t watch it the way you’d watch a Linux server you own. One update to the technical picture helps: watchTowr Labs published a code review of the patch (its post is dated November 5, 2026) that puts both bugs behind a single admin endpoint, /cgi-mod/index.cgi, and names the timezone helper script that ends up running as root. That gives the network side something concrete to anchor on. There are still no IOCs from Barracuda, Mandiant, CISA or watchTowr as of November 15, so every rule below is behavioural.

What you can catch depends on what sits around the ESG: HTTP logs from a proxy, WAF or load balancer in front of the admin UI, the appliance’s own web interface syslog (which records logins and configuration changes), and your perimeter firewall. Host-level process telemetry from the ESG itself is rare, so the process rule is mainly for lab and forensic data.

RuleCategoryLog sourceATT&CKLevel
Admin CGI POST from a public IPWeb/Appwebserver (proxy/WAF in front of the admin UI)T1190High
Failed password change audit eventEmailESG web interface syslogT1190Medium
Suspicious child of the timezone helperLinuxprocess_creationT1059.004, T1068High
Appliance outbound on an unusual port (hunting)NetworkfirewallT1071Low

The rule I’d turn on first is the simplest. Alert on any POST to /cgi-mod/index.cgi whose client address is not private, loopback or link-local. Barracuda’s own mitigation is that the admin UI shouldn’t be reachable from untrusted networks, so if this fires, either that mitigation isn’t in place or someone outside is talking to the exact endpoint both bugs live behind. If a proxy sits in front, make sure it logs the real client IP, not its own.

title: Barracuda ESG Admin CGI POST From Public IP - Potential CVE-2026-116606 Exploitation
id: 3a7e544c-c8b8-4c44-8efc-87e545f44760
status: test
description: |
    Detects HTTP POST requests to the Barracuda Email Security Gateway admin CGI endpoint
    (/cgi-mod/index.cgi) from a source outside private address space. watchTowr's analysis places both
    the CVE-2026-116606 authentication bypass and the CVE-2026-111560 timezone injection behind this
    endpoint, and Barracuda's mitigation is to keep the admin UI off untrusted networks.
references:
    - https://trust.barracuda.com/security/pre-authentication-authorization-bypass-command-injection
    - https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0042.md
    - https://labs.watchtowr.com/barracuda-networks-is-your-new-best-friend-barracuda-email-security-gateway-pre-auth-remote-root-rce-cve-2026-116606-cve-2026-111560/
    - https://netsec101.com/?p=241
author: netsec101.com
date: 2026-11-15
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-116606
    - cve.2026-111560
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection_uri:
        cs-uri-stem|endswith: '/cgi-mod/index.cgi'
    selection_method:
        cs-method: 'POST'
    filter_main_private:
        c-ip|cidr:
            - '10.0.0.0/8'
            - '172.16.0.0/12'
            - '192.168.0.0/16'
            - '127.0.0.0/8'
            - '169.254.0.0/16'
            - '::1/128'
            - 'fc00::/7'
            - 'fe80::/10'
    condition: all of selection_* and not 1 of filter_main_*
falsepositives:
    - Administrators who legitimately manage the appliance over the internet (the exposure Barracuda advises against); add their fixed egress IPs as a filter
    - Authorised external vulnerability scanning of the appliance
    - Reverse proxies or load balancers that log their own address as c-ip will hide the real client; log X-Forwarded-For instead
level: high

After patching, keep watching. The patch closes the bugs but doesn’t undo a restore that already happened. Retro-hunt your HTTP, syslog and firewall data at least back to November 2, when the advisory and patches went public, and further if you keep it, since nobody has said when exploitation started. Look for configuration restores nobody on your team remembers and for any timezone value that isn’t a plain timezone name. If Barracuda or CISA publish indicators later, sweep the same window again; until then there is nothing to age out.

I wrote up all four rules, with tuning notes, lab tests and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

I don’t think this one is overhyped. A no-credential path to root on a mail gateway, reported exploited a week after the patch, is about as serious as appliance bugs get. Three things bother me more than the CVSS numbers.

First, the auth field. For three days the vendor advisory said an unauthenticated bug needed admin access. Plenty of teams triage on that field, and “needs admin” gets pushed to next month’s window. That was probably the wrong call for some of them: Barracuda reported exploitation four days after the correction, and we don’t know when the attacks actually began. When a vendor’s title and its own fields disagree, I trust the CVSS vector and assume the worse case.

Second, the bug classes are boringly familiar. The 2023 ESG zero-day, CVE-2023-2868, was a command injection through filenames inside .tar attachments, exploited from at least October 2022. Barracuda ended up telling customers that compromised appliances “must be immediately replaced regardless of patch version level.” Three years later we have another shell injection, in code shared by six products. Mail and edge appliances keep getting root-chained because they are Linux boxes full of glue code passing strings to root shells, with management planes that drift onto the internet.

Third, the silence. “A small number of organizations” with no IOCs and no named CVE leaves defenders hunting blind. Given the 2023 history, I’d want Barracuda to say plainly whether patching is enough for an already-compromised box. Until it does, if your admin UI was exposed, I’d assume patching isn’t enough and do the triage.

The real fix is the dull one. A management interface on the internet is a bet that the vendor’s auth code has no alternate paths. This month, that bet lost.

Sources

UnrealIRCd CVE-2026-114713: a newline in a label tag gives any user server authority

UnrealIRCd CVE-2026-114713: a newline in a label tag gives any user server authority

One line break. That is the whole distance between an anonymous user on your IRC network and a command your servers obey as if it came from one of their own. CVE-2026-114713 lets any ordinary user on an UnrealIRCd network smuggle a newline through the IRCv3 label tag and into the traffic between linked servers, where it turns into a KILL, a GLINE or anything else a server is allowed to do.

The maintainer calls it the most critical UnrealIRCd issue in 15 years. A fix shipped on November 7, 2026, exploitation was reported two days later, and CISA added it to the Known Exploited Vulnerabilities catalog on November 13 with a due date of November 16. Severity: high on paper (CVSS 8.6), but if you run a multi-server network, treat it as an emergency. The good news is that most UnrealIRCd 6 servers can be fixed without a restart.

At a glance

  • CVE: CVE-2026-114713 (CWE-140, improper neutralization of delimiters)
  • CVSS 3.1: 8.6, AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N in the CVE record (VulDB lists 7.3)
  • Affected: UnrealIRCd 6.0.0 through 6.2.7; UnrealIRCd 5 (end of life since July 1, 2023) is also affected; 3.2.x and 4 were not checked
  • Precondition: a network with two or more linked servers; the attacker only needs a normal client connection
  • Exploitation: the project reported active exploitation on November 9, 2026; in CISA KEV since November 13, 2026
  • Fix: 6.2.7.1, or hot-patch bundle-20261107 (no restart, not on Windows); spamfilter workaround for 6.0.4+; module blacklist for v5
  • Who should care: anyone running a linked UnrealIRCd network, which covers a lot of community, open-source and hobby IRC

What we know

On November 4, 2026, UnrealIRCd lead developer Bram Matthys (Syzop) pre-announced a security release for November 7 at 15:00 UTC and asked admins to test the hot-patch mechanism in advance. That is the project’s documented playbook for very grave issues, and it was the right call here. Version 6.2.7.1 landed on schedule and fixes nine security issues, one of them critical.

The advisory posted to oss-security on November 8 describes the critical one plainly: an escaping bug in the implementation of the IRCv3 label message tag lets any user inject newlines and other characters into server-to-server traffic, and execute commands with server authority. The CVE record, published the same day, pins it to the labeled-response module, which does not escape the label when echoing it into replies.

On November 9, the project updated its forum advisory with a short, unambiguous line, as quoted by both SecurityOnline and Daily Security Review:

We are seeing bad guys exploiting this issue on the internet right now.

UnrealIRCd forum advisory, November 9, 2026 (via SecurityOnline)

CISA followed on November 13 (KEV catalog version 2026.11.13), listing it as “UnrealIRCd Improper Neutralization of Delimiters Vulnerability” with a November 16 due date and ransomware use marked unknown. As of November 14, a GitHub repository describing itself as a proof of concept is also indexed by exploit aggregators. I have not reviewed it and won’t link it.

What nobody has published: who is exploiting it, how many networks were hit, what commands were run, or any indicators of compromise. The project found the bug itself during an internal audit done “with the help of AI”, and credits no outside reporter.

Timeline: Nov 4 pre-announcement, Nov 7 release of 6.2.7.1 and hot-patch, Nov 8 advisory and CVE, Nov 9 exploitation reported, Nov 13 added to CISA KEV with Nov 16 due date.
Nine days from pre-announcement to the KEV catalog.

How it works

IRC is a line-based text protocol. Every message ends with CR LF, and the receiver splits the byte stream on those characters before parsing anything. IRCv3 message tags bolt metadata onto the front of a line (@key=value;key2=value2), and because a tag value could contain a semicolon, space or line break, the message-tags spec defines escapes: \: for a semicolon, \s for a space, \r and \n for CR and LF. On input you unescape; on output you must escape again.

The labeled-response extension lets a client tag a command with an opaque label of up to 64 bytes, and the server must echo the same label back on whatever reply that command produces. So the server takes a client-controlled string and writes it back onto the wire. If the echo path skips the re-escaping step, a label that contained an escaped line break comes out the other side as a real one.

On a single server, that would mostly be a client-side annoyance. On a linked network, replies and labeled commands travel between servers, and the CVE record is explicit that two or more linked servers are required. Once a raw newline lands in a server-to-server stream, the receiving server sees two lines. The second line is whatever the attacker wrote, and it arrives over a link that is fully trusted: servers are allowed to kill users, set network-wide bans and change state on behalf of anyone. That is why CVSS marks the scope as changed. The bug lives in one server’s tag handling, but the damage lands on every server that trusts the link.

That is the mechanism at the level the advisory, CVE record and spec support. The exact code path in labeled-response.c isn’t public in detail, and you don’t need it to defend.

Four-step flow: an ordinary user sends a labeled command, the label hides a line break, the server echoes it without re-escaping, and the linked server runs the injected line with server authority.
Conceptual chain based on the advisory, CVE record and IRCv3 specs; exact code path not published.

The bug class is old. CRLF injection (CWE-93) is the same family as HTTP response splitting, SMTP header injection and log forging: a text protocol uses an in-band delimiter, and somewhere a value crosses from “data” to “framing” without being neutralized. What makes this instance nasty is where the line lands. In HTTP, response splitting poisons one response. Here, the split line is executed by a peer whose whole trust model assumes the other end is a fellow server.

The project’s own workaround tells you what the fix looks like. The spamfilter rule blocks any label= value that contains CR, LF, a semicolon or a space after unescaping. Those are exactly the characters the spec says must never appear raw inside a tag value.

Who is affected and how badly

The exposure is narrower than “every UnrealIRCd server” and nastier than an 8.6 suggests. Narrower, because a single standalone server is outside the CVE record’s described scenario. Nastier, because most UnrealIRCd deployments that matter are linked networks, most accept connections from anyone on the internet, and the attacker needs nothing but a client that can send a tag. No account, no oper status, no user interaction.

What an attacker gets is integrity, not code execution on the host, at least as far as anything published says. Server authority on IRC still means a lot: killing users, setting G-lines (network-wide bans) against legitimate people, and generally taking over or wrecking the network’s control plane. Daily Security Review notes it is unknown whether the attacks seen so far were mass disruption or targeted. I’d assume both are possible and plan for the worse one.

UnrealIRCd 5 deserves its own sentence. It reached end of life on July 1, 2023, it is affected, and it gets no patch. The advisory also warns that many of the bugs fixed in 6.2.7.1 probably go back to 3.2.x, which was never checked.

What to do now

Follow the project’s order. It’s built so you are protected within minutes, then fixed properly.

  1. Apply the network-wide spamfilter as an IRCOp. It only protects you if every server is on 6.0.4 or newer, and it does nothing for the other eight issues. The rule from the advisory is below.
  2. Hot-patch every server on 6.0.0 to 6.2.7 with ./unrealircd hot-patch bundle-20261107. Success prints “Patch installed and server rehashed correctly.” (older versions print “Done! All should be good now.”).
  3. If the hot-patch fails, or you run Windows, upgrade to 6.2.7.1 (./unrealircd upgrade on *NIX) and restart.
  4. Verify on every server with ./unrealircd module-status | grep labeled-response (6.0.2 and later) or MODULE -all as an IRCOp. You want 5.0-hot-patch-bundle-20261107 or 6.2.7.1. A bare 5.0 means the patch is not loaded.
  5. On UnrealIRCd 5, add blacklist-module "labeled-response"; on all servers and restart them. A rehash is not enough. Then plan the move to 6.
  6. Every linked server counts. One unpatched leaf is enough for the network to be at risk, so chase down the box a volunteer runs in a closet somewhere.
SPAMFILTER add -regex T block - Invalid_label ^label=(?![^\r\n;\x20]*\z)

If you are a US federal agency running this (unlikely, but KEV applies to you), the due date is November 16, 2026, and CISA’s required action also points at BOD 26-04 forensic triage.

Detection and monitoring

There are no published IOCs, so this is about effects, not signatures. You can catch two moments: the malformed label arriving (only if the spamfilter workaround is loaded, because UnrealIRCd does not log message tags otherwise) and the server-authority actions that follow, such as kills and network bans. Both live in the daemon’s own log. The rules below assume an UnrealIRCd 6 log block writing type json on every server in the network, since the injected line runs on the server that receives it, not the one the attacker connected to.

RuleCategoryLog sourceATT&CKLevel
Label injection blocked by workaround spamfilterEmerging threatUnrealIRCd JSON log, tklT1190High
KILL issued by a server, not a nickGeneric TTPUnrealIRCd JSON log, killT1531Medium
Server link sent malformed protocol commandsGeneric TTPUnrealIRCd JSON log, link/nickT1190Medium
Network ban or shun added (hunting)HuntingUnrealIRCd JSON log, tklT1531Low
Block diagram: four UnrealIRCd JSON log event types feed four Sigma rules (invalid label blocked, high; KILL from a server, medium; malformed server-to-server commands, medium; network ban added, low), mapped to T1190 and T1531, with a gap for unpatched servers without the spamfilter.
The four detection rules for CVE-2026-114713 and what they cover. Rules 2 to 4 are experimental.

The one I’d turn on first is the spamfilter rule. The advisory’s filter blocks any label= value that contains CR, LF, a semicolon or a space after unescaping, and every hit is logged as a SPAMFILTER_MATCH event. No legitimate client needs such a label, so a hit means someone tried. The rule matches either the filter text or its reason (UnrealIRCd turns the underscore in Invalid_label into a space when it logs the reason).

title: UnrealIRCd CVE-2026-114713 Label Injection Blocked by Workaround Spamfilter
id: ec7bc0ea-16eb-4a06-9571-437e3d2859ec
status: test
description: |
    Detects a hit on the vendor-published spamfilter workaround for CVE-2026-114713, which blocks
    IRCv3 label tags that contain CR, LF, a semicolon or a space after unescaping. No legitimate
    client needs such a label, so a hit is a client trying to inject server-to-server commands.
references:
    - https://seclists.org/oss-sec/2026/q4/576
    - https://www.unrealircd.org/docs/List_of_all_log_messages
    - https://www.unrealircd.org/docs/Spamfilter
    - https://netsec101.com/?p=243
author: netsec101.com
date: 2026-11-15
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-114713
    - detection.emerging-threats
logsource:
    product: unrealircd
    category: application
    definition: 'UnrealIRCd 6 log block with type json (fields subsystem, event_id, msg); spamfilter from the advisory applied network-wide'
detection:
    selection_event:
        subsystem: 'tkl'
        event_id: 'SPAMFILTER_MATCH'
    selection_label:
        - msg|contains: "matches filter '^label="
        - msg|contains:
              - '[reason: Invalid label]'
              - '[reason: Invalid_label]'
    condition: all of selection_*
falsepositives:
    - A buggy client or bot library that sends spaces or semicolons in labels without escaping them (rare; check the client version string)
    - IRCOps testing the spamfilter after deploying it
level: high

After patching, keep watching. The fix escapes the label silently, so a patched server without the filter logs nothing about attempts; leave the filter in place as a tripwire. Retro-hunt every KILL, G-Line, Z-Line and shun from November 7, 2026 (when the fix went public) back as far as your logs reach, and treat bans whose set_by nobody on your oper team recognises as suspect. Keep in mind that an injected line can forge that field, so check it against who was actually opered up at the time. There are no IOCs to age out, which also means there is nothing to block on.

I wrote up all four rules, with tuning notes, lab tests and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

This is underrated by anyone who thinks IRC is a museum piece, and correctly rated as a fire by the people who run it. The 8.6 score undersells it for a linked network, because “integrity: high” here means an anonymous stranger can act as your server. I’d have applied the spamfilter within the hour and hot-patched the same evening.

The bigger lesson is about trust between peers in text protocols. Server links, mail relays, message brokers and SIP trunks all accept lines from a “trusted” neighbour and act on them. Each time one of those neighbours echoes user data without re-escaping the delimiter, the trust boundary collapses to a single byte. If you maintain anything that frames messages with in-band delimiters, the cheapest audit you can run this week is to find every place you write a client-controlled value back onto the wire and check that it is escaped there, not only where it came in.

Credit where it’s due: the project handled this well. Pre-announcement with a fixed time, a workaround that protects in minutes, a hot-patch that avoids disconnecting every user, and an explicit verification step. Plenty of commercial vendors with far bigger budgets don’t do half of that.

The part I keep thinking about is the maintainer’s warning: he found this with AI-assisted auditing he has used since February 2026, and he points out that EOL and rarely-updated daemons have not had that scrutiny yet, from defenders or otherwise. That is an argument for retiring UnrealIRCd 5 now, and a hint that the next quiet bug in an old network daemon may be found by someone less friendly.

Sources

N-central 4EverAble2Shell: an EOL Axis bug gave root on patched RMM servers in hours

N-central 4EverAble2Shell: an EOL Axis bug gave root on patched RMM servers in hours

At 12:50 UTC on November 12, 2026, a Monero mining pool listed 21 workers whose names all started with nc_ followed by an IP address. Each one was an N-able N-central server, the box an MSP or IT team uses to push scripts, patches and remote sessions to every endpoint it manages. Nineteen of them were running Hotfix 2, the emergency build N-able had shipped two days earlier.

The chain that got the attackers in, published by researcher Sean Bales as “4EverAble2Shell”, goes from an unauthenticated web request to root. It rides on a bug in Apache Axis 1.x, an end-of-life SOAP library that is still bundled inside N-central, plus a local privilege escalation through one of N-central’s own maintenance helpers. By Huntback’s clock, the first weaponised request arrived a little over five hours after the exploit landed on GitHub.

Severity: critical for on-premises N-central with the Legacy API turned on.

At a glance

  • Product: N-able N-central (on-premises appliance). N-able says hosted N-central is not vulnerable to the new chain.
  • Chain 1 of the week, “Able2Shell” (published late November 8): 33 exploits in four chains. Seven CVEs fixed in N-central 2026.4 HF2, build 2026.4.1.26 (CVE-2026-125883, -125878, -125879, -125880, -125881, -125882, CVE-2026-91000).
  • Chain 2, “4EverAble2Shell” (published November 12): CVE-2026-90436 in Apache Axis 1.x for code execution, then a root escalation that has no CVE yet. Previdian tracks the chain as VULN-2026-0009.
  • CVSS: 9.8 for CVE-2026-90436 (CVSS 3.1, added by CISA’s ADP enrichment on the CVE record). The CNA-supplied CVSS 4.0 scores in NVD for the HF2 bugs I checked run from 8.6 to 9.3 (9.3 for the XXE, CVE-2026-125883). Nothing official exists for the root escalation.
  • Precondition: the Legacy API must be enabled. It is off by default.
  • Exploited: yes. Huntback counted 21 compromised production servers mining Monero; Previdian, watchTowr and Lupovis also reported activity.
  • Patch: none for 4EverAble2Shell as of November 13. Mitigation is to keep the Legacy API disabled; N-able has also switched off its Intune integration as a precaution.
  • CISA: none of the November CVEs is in the KEV catalog as of its November 10 release. N-central already has five KEV entries from 2025 and 2026.

What happened

Late on Sunday, November 8, Bales published a GitHub repository called Able2Shell with proof-of-concept code for 33 N-central flaws, grouped into four chains. He tested against N-central Appliance 2026.4.0.31, a pre-release build, and says most of the bugs should also work on earlier versions. The worst chain used an XXE bug (XML external entity, where the parser fetches attacker-chosen files or URLs) to reach command execution as the nable service account without logging in.

He did not tell N-able first. Bales told BleepingComputer he went public because N-able had left flaws he reported in a different N-able product unpatched for months. N-able calls that inaccurate and says these flaws “were not responsibly disclosed through our established reporting channels.”

N-able’s response was fast and blunt. On November 9 it took hosted N-central offline across the Americas, Europe and Asia-Pacific and told on-premises customers to take their servers offline too. Shadowserver’s count of internet-exposed N-central servers dropped from 1,338 to about 148, according to BleepingComputer. On November 10 N-able shipped 2026.4 Hotfix 2 (build 2026.4.1.26) with seven CVEs and broad hardening. Agents and Probes have to be upgraded too.

Two days later Bales published two more chains against the patched build: 4EverAble2Shell (unauthenticated root on the server) and Agent2Shell (more than ten issues in server-to-agent communication, with two chains that reach SYSTEM on managed Windows endpoints, per Huntress). Huntback timestamps the repository update at 03:58 UTC on November 12; Previdian logs the public PoC at 07:13 UTC. A later README update confirmed 4EverAble2Shell only works when the Legacy API is enabled.

Timeline from November 6 to 12, 2026: Axis CVE published, Able2Shell disclosure, hosted N-central offline, HF2 release, 4EverAble2Shell PoC at 03:58 UTC, first weaponised request at 09:16 UTC and 21 servers mining by 12:50 UTC.
Six days from the Axis CVE to miners on HF2 servers. PoC time is Huntback's repository timestamp; Previdian logs the public PoC at 07:13 UTC.

From there the clock ran quickly. Previdian’s sensors saw attempts at 08:24 UTC. Huntback’s decoys took a harmless check from 157.20.241.16 at 08:30, then the first weaponised request at 09:16, which escalated to root and installed a miner. By 12:50 the operator’s pool showed 21 active N-central rigs: nine in the United States, four each in South Africa and Canada, and one each in the UK, Germany, France and Sweden. Nineteen were on 2026.4.1.26, one on 2025.3.1.9, and one build was not identified.

N-able’s November 12 advisory, as quoted by BleepingComputer, said it was “restricting certain N-central features and integrations”, disabled the Intune integration and said it had seen no signs of compromise from the new flaws. By November 13 that had shifted: SecurityWeek reports N-able saying it has “identified additional indicators of compromise” and is working with affected customers.

How 4EverAble2Shell works

The first half is not an N-central bug at all. CVE-2026-90436, published by Apache on November 6, describes how Axis 1.x handles an incoming SOAP fault. If the fault carries an exceptionName element, Axis loads the named Java class and, if a string data element is present, constructs it before checking that it is actually a fault type. That is unsafe reflection (CWE-470): the attacker picks which class gets built. The fault is parsed while Axis resolves the target service, so per-service authentication handlers never get a say. Apache marked the CVE “unsupported when assigned” and does not plan an Axis 1.x release; the fix is a source patch or a move to another SOAP engine.

Unsafe reflection is only as dangerous as the classes on the classpath. N-central ships one that is useful to an attacker: jline.internal.TerminalLineSettings, a terminal helper whose constructor ends up running a shell command. Point a crafted fault at /dms/services/ServerUI, name that class, and you get commands as nable, the account the web stack runs under.

The second half is classic Unix privilege escalation. N-central has a privileged maintenance helper, nable_wrapper.pl, that nable can call (Previdian, as reported by BleepingComputer, names the abused helper function setLDFileOwner). The attacker’s script plants a symlink named flag_default.json that points at ServerChild.sh, a script that runs as root, uses the helper to change that file’s ownership, writes its own commands into it and lets the helper run it as root. Then it restores the original file and cleans up. This step has no CVE. Worth noting: HF2 fixed a different nable-to-root path (CVE-2026-125879, a syslog-ng config writable by nable), so this is at least the second time this year that the trust boundary between the service account and root has failed on the appliance.

Five-step chain: crafted SOAP fault to the Axis ServerUI endpoint, command execution as nable via a JLine class, symlink abuse of nable_wrapper.pl, root via ServerChild.sh, then an XMRig miner with systemd or cron persistence.
The 4EverAble2Shell chain at a conceptual level, as observed by Huntback and Previdian.

The payload Huntback captured was boring by design. A script called jup.sh, fetched from port 8080 on the attacker host, set up XMRig in /tmp/.xvd or /var/tmp/.xvd, capped it at about half the CPU cores (maximum eight), and installed a watchdog that relaunches the miner every 10 minutes through a systemd unit called xvd.service, a crontab line tagged # xvkeep, or /etc/cron.d/xvd. The same pool had 631 rigs in total, with prefixes pointing to other mass-exploited products, so this looks like an opportunistic mining crew adding N-central to its list, not a targeted MSP operation.

Who is affected and how badly

The Legacy API precondition cuts the exposed population a lot. N-able says it is disabled by default and hosted environments already have protections applied. Bales himself wrote that he had turned it on during earlier testing and left it on. I haven’t seen anyone publish how many internet-facing servers have it enabled, but the 21 mining victims prove the number is not zero, and several of them sat in MSP and cloud address space.

Where the precondition holds, it is as bad as it gets: no credentials, root on the management server, and that server controls agents on customer endpoints. A miner is the mildest thing a root user on an RMM server can do. CSO Online counted this as N-able’s fourth emergency response in 15 months, and CISA has added N-central bugs to KEV in August 2025, August 2026 and September 2026. Ransomware crews know this product.

Agent2Shell is the part I’d watch next. If it holds up and doesn’t need the Legacy API (Huntress hasn’t confirmed either way), it extends the blast radius from the server to every managed Windows machine.

What to do now

  1. Check the Legacy API setting on every on-premises N-central server right now and disable it using N-able’s knowledge base article. If an integration truly needs it, do not expose it to the internet.
  2. Make sure you are on 2026.4 HF2 (build 2026.4.1.26), with Agents upgraded before Probes. HF2 closes the first-wave CVEs; it does not close 4EverAble2Shell.
  3. Put the server’s web interface behind a VPN or reverse proxy you control. Huntress warns that IP allowlisting alone is weak here, because agents and probes check in on the same endpoints the exploits use.
  4. Run the hunting checks below. Any hit means full compromise of the server: rebuild it, rotate every credential it stores, and review what it pushed to endpoints from November 11 onward (new admin accounts, scripts, scheduled tasks, remote sessions).
  5. Follow N-able’s status page for the promised follow-up hotfix and keep Intune integration off until N-able says otherwise.

Detection and monitoring

Every stage of 4EverAble2Shell can be caught, but each one needs telemetry most N-central owners don’t collect. The exploit request is only visible if a WAF or reverse proxy logs request bodies. The nable-to-root step and the miner install show up as process and file events, which means Sysmon for Linux, auditd or an EDR on the appliance itself. The one thing nearly everyone already has is firewall logs, and Huntback’s write-up gives enough infrastructure (157.20.241.16, pools 139.99.69.109:10128 and 79.76.51.56:39100) for a retro-hunt. Keep in mind the exploit tool deletes its temporary files, so a clean disk today proves nothing; creation events from November 12 do.

RuleCategoryLog sourceATT&CKLevel
Axis SOAP fault naming the JLine classWeb/Appwebserver (with body)T1190Critical
Java spawning download tool or non-stty shellLinuxprocess_creationT1059.004Medium
ServerChild backup or result file createdLinuxfile_eventT1068High
XVD miner staging or persistence filesLinuxfile_eventT1543.002, T1053.003High
Traffic with campaign infrastructureNetworkfirewallT1105, T1496.001High

The highest-signal rule is the first one. A legitimate agent or probe has no reason to send a SOAP fault to /dms/services/ServerUI that names jline.internal.TerminalLineSettings, the class Huntress and Huntback both tie to the exploit. So the condition is simple: a POST to that endpoint whose body contains the class name. request_body is not a standard Sigma field, so map it to whatever your proxy or WAF calls the body.

title: N-central Axis SOAP Fault Naming JLine TerminalLineSettings - CVE-2026-90436 (4EverAble2Shell)
id: cd9b774f-9fdd-4533-8134-4d7d7ee541f5
status: test
description: |
    Detects a POST to the N-central Apache Axis 1.x endpoint /dms/services/ServerUI whose body names the
    class jline.internal.TerminalLineSettings, the gadget the 4EverAble2Shell chain asks Axis to instantiate
    through the SOAP fault exceptionName element (CVE-2026-90436). Needs a proxy or WAF that logs request bodies;
    request_body is not a standard webserver field, so map it to your body field (for example http.request.body.content).
references:
    - https://huntress.com/blog/n-able-disables-cloud-services-following-disclosure-of-able2shell-exploit-chains
    - https://huntback.io/blog/ncentral-4everable2shell-miners-on-live-servers
    - https://www.cve.org/CVERecord?id=CVE-2026-90436
    - https://netsec101.com/?p=240
author: netsec101.com
date: 2026-11-15
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-90436
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection_request:
        cs-method: 'POST'
        cs-uri-stem|contains: '/dms/services/ServerUI'
    selection_body:
        request_body|contains: 'jline.internal.TerminalLineSettings'
    condition: all of selection_*
falsepositives:
    - Authorised penetration tests or vulnerability scanners replaying the public PoC
level: critical

There is no fix for this chain yet, so this is not a “patch and forget” case. Keep the web and host rules on until N-able ships a hotfix and, ideally, takes Axis 1.x off reachable paths. Retro-hunt from November 11 onward, as Huntress advises, with most attention on November 12 from 08:00 UTC. Treat the IP rule as a 30-day IOC: mining pools and cheap VPS addresses get reassigned, and the next crew will bring its own. For quick on-box triage, check for a symlink in /var/opt/n-central/flag/, anything under /tmp/.xvd or /var/tmp/.xvd, and crontab lines ending in # xvkeep.

I wrote up all five rules, with tuning notes, lab tests and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

Twenty-one servers and a miner sounds like noise. I think that’s the wrong read. The interesting fact is not the miner, it’s that a crew with a generic toolkit got root on patched RMM servers within about five hours of a PoC, and the bug they used was in a library Apache no longer supports. A miner today is a ransomware affiliate’s access broker listing tomorrow.

For N-able, the uncomfortable part is the dependency, not the disclosure fight. Axis 1.x on a pre-auth path, a service account that can reach root through two separate helpers in one year, and a legacy API that customers can switch back on: that is technical debt sitting directly on the attack surface. HF2 fixed the specific bugs Bales showed. The second chain shows the class of problem is still there. I’d like to see N-able commit to removing Axis 1.x from reachable paths rather than patching around it.

On the disclosure itself: dropping 33 exploits with no warning against software that manages other companies’ machines put a lot of MSPs into a bad week, whatever the history with N-able. Both sides will keep arguing. If I ran N-central on-premises, I’d stop waiting on that argument: Legacy API off tonight, web interface off the open internet this week, and a standing assumption that the RMM server is a tier-zero asset that gets the same monitoring as a domain controller.

Sources

SSH Tunneling Explained: Local, Remote, Dynamic Forwarding and How to Do It Safely

SSH Tunneling Explained: Local, Remote, Dynamic Forwarding and How to Do It Safely

This is Part 1 of a three-part series on SSH tunneling. Part 2 looks at how attackers abuse tunnels in real intrusions, and Part 3 covers how to detect them.

Most people meet SSH as “the thing you use to get a shell on a Linux box.” That’s true, but it undersells it. An SSH connection is really an encrypted pipe that can carry several independent streams at once, and only one of them has to be your shell. The others can carry database connections, web traffic, RDP sessions or almost anything else that speaks TCP.

That feature is called port forwarding, or more casually, SSH tunneling. It’s one of the most useful tools an admin has, and, as we’ll see in Part 2, one of the favorite tools of attackers who have already found a way in. Understanding exactly how it works is the first step to using it well and spotting it when someone else does.

How SSH tunneling works

When you open an SSH connection, the client and server agree on keys and set up one encrypted transport, usually on TCP port 22. Inside that transport, SSH opens channels. Your interactive shell is one channel. A forwarded port is another. Each new TCP connection that goes through a tunnel gets its own channel, and all of them share the same encrypted connection.

Two details matter a lot in practice:

  • Encryption only covers the SSH leg. Traffic is encrypted between the SSH client and the SSH server. Once it leaves the far end of the tunnel and heads to its final destination, it’s whatever protocol it was to begin with, plain text included.
  • The far end makes the final connection. When you forward a port to db.internal:5432, it’s the SSH server that resolves that name and opens the connection. That’s how tunnels reach places your own machine can’t.

The four main ways to tunnel

TypeFlagListener lives onTraffic exits atTypical use
Local forwarding-LSSH clientSSH serverReach an internal service from outside
Remote forwarding-RSSH serverSSH clientExpose a service that sits behind NAT
Dynamic forwarding-DSSH client (SOCKS proxy)SSH serverBrowse or scan many internal hosts
Jump host-Jn/aFinal targetHop through a bastion to an inner server

1. Local port forwarding (-L)

Local forwarding is the one you’ll use most. The SSH client opens a listening port on your machine, and anything that connects to it gets carried through the tunnel and delivered to a host and port from the server’s point of view.

# ssh -L [bind_address:]local_port:target_host:target_port user@ssh_server
ssh -N -L 15432:db.internal:5432 alice@bastion.example.com

# then, in another terminal
psql -h localhost -p 15432 -U app_reader appdb
Diagram of SSH local port forwarding: a laptop reaches db.internal:5432 through an encrypted SSH tunnel to a bastion host.
Local forwarding: the listener is on your laptop, and the bastion makes the final connection to the database.

A few things worth knowing:

  • -N tells SSH not to run a remote command, so you just get the tunnel. Add -f if you want it to go to the background.
  • By default the listener binds to the loopback address only, which is what you want. Don’t use -g or bind to 0.0.0.0 unless you really mean to let other machines on your network use your tunnel.
  • Pick a local port that’s free. Using 15432 instead of 5432 avoids clashing with a local PostgreSQL install.

2. Remote port forwarding (-R)

Remote forwarding flips the direction. You ask the SSH server to open a listening port, and connections to it travel back through the tunnel to something reachable from your side. The key point is that your machine starts the connection. Nothing has to be allowed inbound to reach you, which is why this works from behind NAT, and why it gets abused.

# ssh -R [bind_address:]remote_port:target_host:target_port user@ssh_server
ssh -N -R 9000:localhost:3000 alice@vps.example.com
Diagram of SSH remote port forwarding: a laptop behind NAT opens an outbound tunnel so a VPS can expose its local web app on port 9000.
Remote forwarding: the tunnel is opened outbound, and traffic to the VPS comes back in through it.

On the server, OpenSSH’s GatewayPorts setting decides who can connect to that remote port. With the default (no), it only listens on the server’s loopback interface, so only users already on the VPS can reach it. Since OpenSSH 7.6, giving -R just a port number (for example -R 1080) creates a reverse SOCKS proxy. Keep that one in mind for Part 2.

3. Dynamic port forwarding (-D)

With -L, each tunnel goes to one fixed destination. Dynamic forwarding removes that limit. The client runs a small SOCKS4/SOCKS5 proxy, and the application tells it where each connection should go. The SSH server then connects wherever it’s asked to.

ssh -N -D 1080 alice@bastion.example.com

# use it from a single tool
curl --socks5-hostname 127.0.0.1:1080 https://wiki.internal/

# or route a whole tool through it with proxychains
proxychains4 nmap -sT -Pn -p 443 10.0.5.0/24
Diagram of SSH dynamic port forwarding: a SOCKS proxy on the laptop sends traffic through a bastion to several internal hosts.
Dynamic forwarding: one tunnel, many destinations.

Use --socks5-hostname (or “remote DNS” in your browser’s proxy settings) so that names like wiki.internal are resolved on the far side, not by your local resolver. Also note that SOCKS only carries TCP, so tools that need raw packets, such as an nmap SYN scan, won’t work through it. That’s why the example uses -sT.

4. Jump hosts (-J / ProxyJump)

Sometimes you don’t want a port, you want a shell on a server that’s only reachable from a bastion. The old way was to SSH to the bastion and then SSH again from there, often with agent forwarding (-A) so your key was available on the bastion. ProxyJump, added in OpenSSH 7.3, is cleaner and safer:

ssh -J alice@bastion.example.com alice@app01.internal
Diagram of SSH ProxyJump: the laptop connects through a bastion to app01.internal with an end-to-end encrypted inner session.
ProxyJump: the bastion only relays bytes. The inner session is encrypted all the way to app01.

Your client builds a second SSH session inside the first one. The bastion only relays TCP, and your private key never leaves your laptop. With agent forwarding, by contrast, anyone with root on the bastion can use your agent to log in as you while you’re connected.

Bonus: full VPN with tun devices (-w)

OpenSSH can also create a layer-3 tunnel between two tun interfaces with -w, which effectively gives you a basic VPN. It needs root on both ends and PermitTunnel enabled on the server, so it’s rarely used for day-to-day work. Today WireGuard is the better choice for that job. It’s worth knowing it exists, mainly so you remember to keep it turned off.

Keeping tunnels stable

Typing long -L strings gets old fast. Put them in ~/.ssh/config instead:

Host bastion
    HostName bastion.example.com
    User alice
    IdentityFile ~/.ssh/id_ed25519

Host db-tunnel
    HostName bastion.example.com
    User alice
    IdentityFile ~/.ssh/id_ed25519
    LocalForward 127.0.0.1:15432 db.internal:5432
    ExitOnForwardFailure yes
    ServerAliveInterval 30
    ServerAliveCountMax 3
    SessionType none          # same as -N (OpenSSH 8.7+)

Host app01
    HostName app01.internal
    User alice
    ProxyJump bastion

Now ssh db-tunnel brings up the database tunnel and ssh app01 hops through the bastion automatically. ExitOnForwardFailure is underrated: without it, SSH happily connects even if the port you wanted is already in use, and you spend ten minutes wondering why nothing works. ServerAliveInterval sends keepalives so idle tunnels don’t get silently dropped by firewalls. For tunnels that must survive network blips, tools like autossh or a small systemd unit can restart them.

Real-world use cases

  • Database access for admins. Keep PostgreSQL, MySQL or Redis off the Internet entirely and reach them through a bastion with -L. This is probably the single most common legitimate tunnel.
  • Internal web consoles. Grafana, Kibana, a router’s admin page or a Jenkins instance can stay bound to an internal interface and still be reachable when you need them.
  • Wrapping old, unencrypted protocols. VNC, legacy SCADA web UIs or anything else that was never designed for hostile networks can ride inside SSH instead of being exposed in plain text.
  • Working from untrusted Wi-Fi. A quick -D proxy to a server you trust keeps your browsing off a hotel or café network.
  • Reaching lab gear behind NAT. A Raspberry Pi or test box at home can keep a -R tunnel open to a VPS so you can reach it from anywhere. (It’s convenient, but treat that VPS as part of your attack surface.)
  • Automation through a bastion. Ansible, CI/CD runners and backup jobs can use ProxyJump to reach private servers without each one needing a public IP.
  • Penetration testing (with permission). Red teams pivot through compromised hosts with -D and -R exactly the way real attackers do, which is also why defenders should know these patterns cold.

Best practices: locking tunnels down

Out of the box, OpenSSH allows TCP forwarding for every user who can log in. That’s convenient, but it means every SSH account is also a potential pivot point. The safest approach is to turn forwarding off by default and grant it only where it’s needed, with explicit limits on where tunnels can go.

Server side: sshd_config

# /etc/ssh/sshd_config  (OpenSSH 7.8 or newer)

# --- Authentication ---
PermitRootLogin no
PasswordAuthentication no
KbdInteractiveAuthentication no
PubkeyAuthentication yes

# --- Forwarding: off by default ---
AllowTcpForwarding no
GatewayPorts no
PermitTunnel no
X11Forwarding no
AllowAgentForwarding no

# --- Logging: record which key was used for each login ---
LogLevel VERBOSE

# --- Allow a tightly scoped tunnel for one group only ---
Match Group db-tunnel
    AllowTcpForwarding local          # client-side -L/-D only; no -R listeners
    PermitOpen db.internal:5432       # the only destination they can reach
    PermitTTY no
    ForceCommand /bin/false           # no shell; users connect with -N

After editing, always run sshd -t to check the syntax before reloading, and keep a second session open in case you lock yourself out.

  • AllowTcpForwarding accepts yes, no, local and remote. Use the narrowest value that works.
  • PermitOpen limits where -L tunnels may go. PermitListen (OpenSSH 7.8+) does the same for the ports a -R tunnel may open on the server.
  • DisableForwarding yes is a one-line kill switch for every kind of forwarding. It’s ideal for SFTP-only accounts.
  • Remember that disabling forwarding doesn’t stop a user who has a shell from running their own proxy tools. It removes the easy path, but it isn’t a substitute for network controls.

Per-key restrictions: authorized_keys

For service accounts, you can lock a single key to a single tunnel and nothing else. The restrict option turns everything off, and you add back only what you need:

restrict,port-forwarding,permitopen="db.internal:5432" ssh-ed25519 AAAAC3Nza...  backup-job@ci

Client side habits

  • Bind local listeners to 127.0.0.1 explicitly and avoid -g.
  • Prefer ProxyJump over agent forwarding.
  • Use ExitOnForwardFailure yes so broken tunnels fail loudly.
  • Close tunnels when you’re done. A forgotten tunnel is an open door that nobody is watching.
  • Protect your keys with a passphrase, or better, a hardware key (ed25519-sk).

Network and process

  • Filter outbound SSH. Servers rarely need to start SSH connections to the Internet. Blocking outbound TCP 22 (and watching for SSH on other ports) shuts down the most common reverse-tunnel trick.
  • Funnel access through a bastion. One well-logged, well-patched jump host is much easier to monitor than SSH open everywhere.
  • Keep a list of approved tunnels. If you know which tunnels are supposed to exist, anything else stands out immediately.
  • Log and alert. Ship sshd logs to your SIEM and alert on forwarding from unexpected hosts. Part 3 of this series goes through the detection rules in detail.

Wrapping up

SSH tunneling is one of those features that feels like magic the first time you use it. A single encrypted connection can replace a VPN, keep databases off the Internet, and get you into a lab sitting behind three layers of NAT. The catch is that the same flexibility works for anyone who gets hold of an SSH client and a set of credentials.

In Part 2, we’ll walk through a real intrusion investigated by CISA, where attackers used a renamed copy of PuTTY’s plink to build a hidden, persistent tunnel out of a U.S. federal agency’s network.

References