NGINX2Root: Remote Code Execution vulnerabilities in nginx
Xint is reporting that it has discovered a collection of five critical vulnerabilities in the NGINX web server. The worst flaw, it says, would allow an unauthenticated attacker to execute commands on an affected nginx server with HTTP/2 enabled . The company also reports a local-privilege escalation (LPE) kernel vulnerability , which was introduced in the 4.15 kernel, in the Stream Control…
NGINX security researcher Xint has uncovered five critical vulnerabilities in the popular NGINX web server. The most severe flaw enables an unauthenticated attacker to execute commands on an affected server with HTTP/2 enabled. Additionally, a local-privilege escalation (LPE) kernel vulnerability exists in the Stream Control Transmission Protocol (SCTP) subsystem, introduced in the 4.15 kernel.
If exploited alongside the NGINX flaw, this could grant an attacker root privileges on the host. Currently, no kernel patch is available for this issue. Xint successfully obtained a root shell on the host when NGINX was running within a Docker container. On many Linux distributions, the SCTP module is installed by default and loaded automatically upon opening an SCTP socket for the first time.
The reachability of SCTP on a given host depends on the kernel, available modules, and container restrictions. Controlling the host kernel by exploiting this vulnerability would allow the attacker to gain control over the host and every container running on it. Xint advises updating to NGINX 1.31.9 and blocking the SCTP module on hosts that do not require it until a kernel fix is available. Mitigation strategies are detailed in their comprehensive report.
Written by urgent.news from LWN's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.