🔍 CVE-2026-115644

0.0
CVSS Score
UNKNOWN
2026-10-28
2026-10-29 15:04
✅ 완료

🇰🇷 한글 설명

Apache Kafka Connect에서 admin.listeners를 별도로 설정할 경우, rest.extension.classes로 지정한 보안 확장(BasicAuthSecurityRestExtension 등)이 admin REST API에 적용되지 않아 인증 없이 /admin/loggers 엔드포인트에 접근할 수 있습니다. 공격자는 로거 정보를 조회하고 클러스터 전체의 로그 레벨을 변경할 수 있습니다.

💡 쉬운 설명

Kafka 관리용 별도 포트를 분리해 두었다면, 메인 포트에 걸어둔 로그인 보호가 그 관리 포트에는 적용되지 않습니다. 누구나 로그 설정을 읽고 바꿀 수 있어 로그를 끄거나 과도하게 생성시킬 위험이 있습니다.

🇺🇸 원문 (English)

Apache Kafka Connect contains an authentication bypass vulnerability affecting the admin REST API when admin.listeners is configured with a separate listener from the main listeners property. When operators isolate the admin REST API by explicitly configuring the "admin.listeners" property, REST extensions specified via rest.extension.classes (such as BasicAuthSecurityRestExtension) are not registered or applied to the admin resource configuration. While the primary REST API listener (configured via listeners) enforces configured authentication and authorization filters, endpoints mounted under the separate admin listener (/admin/loggers) fail to inherit or instantiate these extension filters. As a result, the admin logger endpoint accepts unauthenticated read and write requests even when security extensions are active on the main listener. Impact: An unauthenticated attacker with network access to the admin listener can: 1. Read the complete set of logger names and levels, disclosing loaded class names and which security extensions are in use. 2. Write logger levels, including with scope=cluster which propagates the change to all workers in the Connect cluster. This can be used to suppress logging (setting root to OFF) or generate excessive log output (setting root to TRACE), potentially impacting availability and observability. Mitigation: Users who cannot upgrade immediately can remove the admin.listeners configuration (or leave it unset). When unset, admin resources share the regular listener and inherit its security extensions. Resolution: From Apache Kafka 4.2.2, 4.3.2, and 4.4.0, we make sure the REST extensions specified via "rest.extension.classes" will also apply to "admin.listeners".

📍 영향받는 시스템

Apache Kafka Connect에서 admin.listeners를 설정한 버전(4.2.2, 4.3.2, 4.4.0 이전 버전)

⚔️ 공격 벡터

admin.listeners 포트에 네트워크 접근이 가능한 공격자가 인증 없이 /admin/loggers에 읽기/쓰기 요청을 보내 로그 레벨을 변경

🛡️ 대응 방법

Apache Kafka 4.2.2, 4.3.2, 4.4.0 이상으로 업그레이드하거나, 임시로 admin.listeners 설정을 제거

🔧 검증 코드

admin.listeners 설정이 출력되면 별도 관리 리스너를 사용 중이므로 Kafka 버전을 확인해 패치 대상인지 판단하고, 아무것도 출력되지 않으면 이 설정으로 인한 영향은 없습니다.

Shell / Script
grep -rE 'admin.listeners' $KAFKA_HOME/config/ 2>/dev/null

💻 영향받는 소프트웨어

Spring for Apache Kafka