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

CVE-2022-24112 apisix/batch-requests plugin allows overwriting the X-REAL-IP header

apisix/batch-requests 플러그인은 X-REAL-IP 헤더를 덮어쓸 수 있습니다.

실제 악용 확인(KEV)

설명

An attacker can abuse the batch-requests plugin to send requests to bypass the IP restriction of Admin API. A default configuration of Apache APISIX (with default API key) is vulnerable to remote code execution. When the admin key was changed or the port of Admin API was changed to a port different from the data panel, the impact is lower. But there is still a risk to bypass the IP restriction of Apache APISIX's data panel. There is a check in the batch-requests plugin which overrides the client IP with its real remote IP. But due to a bug in the code, this check can be bypassed.

공격자는 일괄 요청 플러그인을 악용하여 관리자 API의 IP 제한을 우회하기 위해 요청을 보낼 수 있습니다. 아파치 APISIX의 기본 설정(기본 API 키 사용)은 원격 코드 실행에 취약하다. 관리 키가 변경되었거나 Admin API의 포트가 데이터 패널과 다른 포트로 변경되면 영향이 더 낮습니다. 그러나 여전히 Apache APISIX 데이터 패널의 IP 제한을 우회할 위험이 있습니다. 실제 원격 IP로 클라이언트 IP를 재정의하는 batch-requests 플러그인에 체크가 있습니다. 그러나 코드의 버그로 인해이 검사는 우회 될 수 있습니다.

영향 받는 제품 제품 1개

  • Apache Software Foundation

    Apache APISIX

    해결 버전 있음

    영향 받는 버전

    • 2.12 이상 2.12.1 미만
    • 2.10 이상 2.10.4 미만
    • 1.3 이상

    해결 버전

    • 2.12.1 이상
    • 2.10.4 이상

참고 자료 4건

‹ 목록

점검 지원 범위 문의

도입 문의