#VU59319 Origin validation error in nginx


Published: 2022-01-09

Vulnerability identifier: #VU59319

Vulnerability risk: Medium

CVSSv3.1: 6.4 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-3618

CWE-ID: CWE-346

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
nginx
Server applications / Web servers

Vendor: NGINX

Description

The vulnerability allows a remote attacker to bypass implemented security restrictions.

The vulnerability exists due to a logic error in TLS implementation when handling different protocols but using compatible certificates, such as multi-domain or wildcard certificates. A remote attacker with ability to perform TCP/IP layer MitM attack can redirect traffic from one subdomain to another, resulting in a valid TLS session. This breaks the authentication of TLS and cross-protocol attacks may be possible where the behavior of one protocol service may compromise the other at the application layer.

This attack technique was dubbed ALPACA (application layer protocol content confusion attack).

Mitigation
Install updates from vendor's website.

Vulnerable software versions

nginx: 1.20.0, 1.19.0 - 1.19.10, 1.18.0, 1.17.0 - 1.17.10, 1.16.0 - 1.16.1, 1.15.0 - 1.15.12, 1.14.0 - 1.14.2, 1.12.0 - 1.12.2, 1.11.0 - 1.11.13, 1.13.0 - 1.13.12, 1.10.0 - 1.10.3, 1.0.0 - 1.0.15, 1.2.0 - 1.2.9, 1.4.0 - 1.4.7, 1.6.0 - 1.6.3, 1.8.0 - 1.8.1, 1.9.0 - 1.9.15, 1.7.0 - 1.7.12, 1.5.0 - 1.5.13, 1.3.0 - 1.3.16, 1.1.0 - 1.1.19


External links
http://alpaca-attack.com/
http://bugzilla.redhat.com/show_bug.cgi?id=1975623
http://hg.nginx.org/nginx/rev/ec1071830799


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability