Authentication Bypass Affecting expressjs-ip-control package, versions <1.0.7


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    Exploit Maturity Proof of concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-JS-EXPRESSJSIPCONTROL-1024442
  • published 16 Nov 2020
  • disclosed 29 Oct 2020
  • credit mik317

Introduced: 29 Oct 2020

CVE NOT AVAILABLE CWE-287 Open this link in a new tab

How to fix?

Upgrade expressjs-ip-control to version 1.0.7 or higher.

Overview

expressjs-ip-control is a package to whitelist IP addresses also support for X-Forwarded-For ip addresses.

Affected versions of this package are vulnerable to Authentication Bypass. The IP whitelisting check can be passed by manipulating the X-Forwarded-For header.

References