Nginx Plus < R24 P1 1-Byte Memory Overwrite RCE

high Nessus Plugin ID 161698

Synopsis

The remote web server is affected by a remote code execution vulnerability.

Description

According to it's self reported version, the installed version of Nginx Plus prior to R24 P1. It is, therefore, affected by a remote code execution vulnerability. A security issue in nginx resolver was identified, which might allow an unauthenticated remote attacker to cause 1-byte memory overwrite by using a specially crafted DNS response, resulting in worker process crash or, potentially, in arbitrary code execution.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Nginx Plus R25 or later.

See Also

https://docs.nginx.com/nginx/releases/

https://nginx.org/en/security_advisories.html

http://mailman.nginx.org/pipermail/nginx-announce/2021/000300.html

http://nginx.org/download/patch.2021.resolver.txt

Plugin Details

Severity: High

ID: 161698

File Name: nginx_plus_r25.nasl

Version: 1.4

Type: local

Agent: unix

Family: Web Servers

Published: 5/31/2022

Updated: 3/23/2023

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.3

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-23017

CVSS v3

Risk Factor: High

Base Score: 7.7

Temporal Score: 6.9

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:nginx:nginx

Required KB Items: installed_sw/Nginx Plus

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/25/2021

Vulnerability Publication Date: 5/25/2021

Reference Information

CVE: CVE-2021-23017

CWE: 193

IAVB: 2021-B-0031