Authorization Bypass Through User-Controlled Key Affecting envoyproxy/envoy package, versions [,1.28.7) [1.29.0,1.29.9) [1.30.0,1.30.6) [1.31.0,1.31.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (19th percentile)

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-UNMANAGED-ENVOYPROXYENVOY-8062353
  • published 20 Sep 2024
  • disclosed 19 Sep 2024
  • credit James Force, Mike Whale

How to fix?

Upgrade envoyproxy/envoy to version 1.28.7, 1.29.9, 1.30.6, 1.31.2 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key due to the default configuration of internal trust boundaries. An attacker can bypass security controls and access sensitive data or disrupt services within the mesh by manipulating x-envoy headers from external sources. This is only exploitable if the internal_address_config is empty or improperly configured.

PoC

  1. With a default edge ingress Envoy configured.

  2. $ curl -k -H "X-ENVOY-ORIGINAL-PATH: /foobar" https://bookinfo-bookinfo.apps.test.cluster.net/productpage

  3. X-ENVOY-ORIGINAL-PATH is trusted.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.9 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None