MitM attack in node-XMLHttpRequest



Published: 2021-04-23 | Updated: 2023-05-16
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-31597
CWE-ID CWE-295
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
node-XMLHttpRequest
Web applications / JS libraries

Vendor Michael de Wit

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Improper Certificate Validation

EUVDB-ID: #VU76190

Risk: Medium

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

CVE-ID: CVE-2021-31597

CWE-ID: CWE-295 - Improper Certificate Validation

Exploit availability: No

Description

The vulnerability allows a remote attacker to perform MitM attacks.

The vulnerability exists due to improper certificate validation caused by an error interpreting the rejectUnauthorized value. A remote attacker can perform a man-in-the-middle (MitM) attack.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

node-XMLHttpRequest: 1.3.0 - 1.6.0

CPE2.3 External links

http://people.kingsds.network/wesgarland/xmlhttprequest-ssl-vuln.txt
http://github.com/mjwwit/node-XMLHttpRequest/commit/bf53329b61ca6afc5d28f6b8d2dc2e3ca740a9b2
http://github.com/mjwwit/node-XMLHttpRequest/compare/v1.6.0...1.6.1
http://security.netapp.com/advisory/ntap-20210618-0004/


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.



###SIDEBAR###