kcve.ai취약점 정보 · 내 자산 확인

CVE-2021-29492 Bypass of path matching rules using escaped slash characters

이스케이프된 슬래시 문자를 사용하여 경로 일치 규칙 바이패스

설명

Envoy is a cloud-native edge/middle/service proxy. Envoy does not decode escaped slash sequences `%2F` and `%5C` in HTTP URL paths in versions 1.18.2 and before. A remote attacker may craft a path with escaped slashes, e.g. `/something%2F..%2Fadmin`, to bypass access control, e.g. a block on `/admin`. A backend server could then decode slash sequences and normalize path and provide an attacker access beyond the scope provided for by the access control policy. ### Impact Escalation of Privileges when using RBAC or JWT filters with enforcement based on URL path. Users with back end servers that interpret `%2F` and `/` and `%5C` and `\` interchangeably are impacted. ### Attack Vector URL paths containing escaped slash characters delivered by untrusted client. Patches in versions 1.18.3, 1.17.3, 1.16.4, 1.15.5 contain new path normalization option to decode escaped slash characters. As a workaround, if back end servers treat `%2F` and `/` and `%5C` and `\` interchangeably and a URL path based access control is configured, one may reconfigure the back end server to not treat `%2F` and `/` and `%5C` and `\` interchangeably.

Envoy는 클라우드 네이티브 에지/미들/서비스 프록시입니다. Envoy는 1.18.2 버전 및 그 이전 버전의 HTTP URL 경로에서 이스케이프된 슬래시 시퀀스 `%2F` 및 `%5C`를 디코딩하지 않습니다. 원격 공격자는 접근 제어를 우회하기 위해 이스케이프된 슬래시(예: `/something%2F..%2Fadmin`)를 가진 경로를 만들 수 있습니다(예: `/admin`의 블록). 백엔드 서버는 슬래시 시퀀스를 디코딩하고 경로를 정규화하고 액세스 제어 정책에 의해 제공되는 범위를 넘어 공격자 액세스를 제공할 수 있습니다. ### URL 경로에 따라 집행 RBAC 또는 JWT 필터를 사용할 때 권한의 영향 에스컬레이션. '%2F'와 '/', '%5C'와 '\'를 상호 교환하여 해석하는 백엔드 서버가 있는 사용자는 영향을 받습니다. ### 신뢰할 수 없는 클라이언트가 전달한 이스케이프 슬래시 문자가 포함된 공격 벡터 URL 경로. 버전 1.18.3, 1.17.3, 1.16.4, 1.15.5의 패치는 이스케이프된 슬래시 문자를 디코딩하는 새로운 경로 정규화 옵션을 포함한다. 해결 방법으로 백엔드 서버가 '%2F'와 '/', '%5C'와 '\'을 서로 바꾸어서 처리하고 URL 경로 기반 액세스 제어가 구성되면 백엔드 서버를 '%2F'와 '/'와 '%5C'와 '\'를 서로 바꿔서 처리하지 않도록 재구성할 수 있다.

영향 받는 제품 제품 2개

  • envoyproxy

    envoy

    영향 받는 버전

    • 1.18.2 이하

    해결 버전

    해결된 버전 정보가 없습니다.

  • envoyproxy

    envoy

    NVD 기준 해결 버전 있음

    영향 받는 버전

    • 1.15.5 미만
    • 1.16.0 이상 1.16.4 미만
    • 1.17.0 이상 1.17.3 미만
    • 1.18.0 이상 1.18.3 미만

    해결 버전

    • 1.15.5 이상
    • 1.16.4 이상
    • 1.17.3 이상
    • 1.18.3 이상

참고 자료 1건

‹ 목록

점검 지원 범위 문의

도입 문의