psf-ncentral-legacyapi-check(8)

Script: /opt/psf-security-patches/servers/n-central/ncentral-legacyapi-check.sh. Tool page: N-central and Apache Axis. Script source. With the package installed: man psf-ncentral-legacyapi-check.

Overview

4EverAble2Shell: Apache Axis unsafe reflection via the N-able N-central Legacy API (v1) CVE-2026-90436 (Apache Axis 1.x through 1.4, no fixed release; exploited, CISA KEV 18 November 2026)

Apache Axis 1.x processes attacker-chosen objects while it parses a SOAP request, before any service checks a login. On-premises N-able N-central exposes Axis through its Legacy API (/dms/services/ServerUI); a public chain turns that into root on the server with no login. Huntress found crypto miners on 21 servers within hours; N-able reported attacks on 13 November, and the same Axis flaw was used against Confluence Data Center the same day. N-central 2026.4 HF3 (2026.4.1.39, 16 November) removes the Legacy API; HF2 (2026.4.1.26) does not stop the chain. Axis itself has no fixed release: every 1.x through 1.4 is affected, and products that bundle it need their own vendor fix.

Command reference

The original help text below includes the command syntax, options, environment variables and exit codes supplied with this tool. Review the source and test any change before applying it to a production system.

Original command-line help
4EverAble2Shell: Apache Axis unsafe reflection via the N-able N-central Legacy API (v1)
CVE-2026-90436 (Apache Axis 1.x through 1.4, no fixed release; exploited, CISA KEV 18 November 2026)

If this software is helpful, consider a donation to our 501c3 nonprofit:
https://privacysafe.foundation
Help and documentation: https://privacysafe.app/docs/security-patches/servers/n-central/

Apache Axis 1.x processes attacker-chosen objects while it parses a SOAP request, before any
service checks a login. On-premises N-able N-central exposes Axis through its Legacy API
(/dms/services/ServerUI); a public chain turns that into root on the server with no login.
Huntress found crypto miners on 21 servers within hours; N-able reported attacks on 13
November, and the same Axis flaw was used against Confluence Data Center the same day.
N-central 2026.4 HF3 (2026.4.1.39, 16 November) removes the Legacy API; HF2 (2026.4.1.26)
does not stop the chain. Axis itself has no fixed release: every 1.x through 1.4 is affected,
and products that bundle it need their own vendor fix.

Usage:
  ./ncentral-legacyapi-check.sh [command] [arguments]

  check [HOST...]   Read-only. With hosts: asks each N-central server for the
                   Legacy API's description (GET /dms/services/ServerUI?wsdl)
                   without logging in or sending a payload; an answer means
                   the API is on and reachable from here. On this machine:
                   finds Apache Axis 1.x (axis.jar, axis-1.*.jar, inside web
                   applications and in running Java processes' class paths)
                   under ROOTS. Exit 0 = nothing exposed, 1 = a Legacy API
                   that answers or an Axis 1.x copy, 2 = a host or file
                   could not be read.
  hunt             Read-only. Looks on this machine for what the attacks
                   left: an xvd.service unit, /tmp/.xvd and /var/tmp/.xvd,
                   connections to or log lines naming 157.20.241.16, miner
                   processes, cron entries that start them, and web log
                   requests to /dms/services/ServerUI that carry the
                   jline.internal.TerminalLineSettings gadget. Exit 0 =
                   nothing found, 1 = leads, 2 = nothing could be read.
  version          Prints the script version.

There is nothing to change on the server short of the hotfix: install 2026.4 HF3, and until
then turn LEGACY APIS off (Administration > Mail and Network Settings > Network Security).
The README shows how to refuse /dms/services/ at a reverse proxy in front of it.

Env overrides:
  ROOTS="/opt /srv /var/lib /usr/share /usr/local /home"   where check looks for Axis
  MAX_DEPTH=10
  HTTP_PORT=443      port of each N-central server
  CURL_TIMEOUT=10
  HUNT_DAYS=60
  HUNT_LOG_DIRS="/var/log /opt/nable /var/opt"   where hunt reads logs
  IOC_IP=157.20.241.16
  SCAN_CONTAINERS=1  0 skips running docker and podman containers in check

The Security Patches software and this documentation are dedicated to the public domain under CC0 1.0 Universal. Other pages on privacysafe.app/docs are CC BY-SA 4.0 unless the page says otherwise.