Article 79VE4 NGINX2Root: Remote Code Execution vulnerabilities in nginx

NGINX2Root: Remote Code Execution vulnerabilities in nginx

by
jzb
from LWN.net on (#79VE4)

Xint is reporting thatit has discovered a collection of fivecritical vulnerabilities in the NGINX webserver. The worst flaw, it says, would allowan unauthenticated attacker to execute commands on an affected nginx server withHTTP/2 enabled. The company also reports a local-privilege escalation (LPE) kernelvulnerability, which was introduced in the 4.15 kernel, in the Stream Control TransmissionProtocol (SCTP) subsystem. If chained with the NGINX vulnerability,it would allow an attacker to gain root privileges on the host. A kernel patch for thisis not yet available.

We also obtained a root shell on the host in a setup where nginx was running ina Docker container. On many Linux distributions, the SCTP module is installed bydefault and the kernel loads it automatically the first time a program opens anSCTP socket. Whether SCTP is reachable on a given host still depends on thekernel, the available modules, and the container's restrictions. Where it isreachable, the attacker can take over the host kernel. Since all containers onthe host share that kernel, this gives the attacker control of the host andevery container on it.

Xint recommends updating to NGINX1.31.9, which was just released, and toblock the SCTP module on hosts that do not need it until a kernel fix isavailable. See the mitigationssection of their report for more information.

External Content
Source RSS or Atom Feed
Feed Location http://lwn.net/headlines/rss
Feed Title LWN.net
Feed Link https://lwn.net/
Reply 0 comments