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


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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 Learn

Learn about Authentication Bypass vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-EXPRESSJSIPCONTROL-1024442
  • published16 Nov 2020
  • disclosed29 Oct 2020
  • creditmik317

Introduced: 29 Oct 2020

CVE NOT AVAILABLE CWE-287  (opens 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

CVSS Scores

version 3.1