🔍 CVE-2026-41042

9.1
CVSS Score
CRITICAL
2026-07-08
2026-10-25 20:10
✅ 완료

🇰🇷 한글 설명

인증되지 않은 사용자가 testConnection API를 통해 악의적인 H2 JDBC URL을 전달할 수 있으며, H2의 INIT 파라미터를 통해 서버에서 임의의 Java 코드가 실행될 수 있습니다. 이 취약점은 Apache Gravitino 1.2.1 이전 버전에 영향을 미칩니다. H2 사용 환경에서만 발생하며, 내부망 배포가 일반적이므로 실제 위험도는 낮은 편입니다.

💡 쉬운 설명

로그인 없이도 공격자가 특정 연결 설정을 조작해 서버에서 원하는 프로그램을 실행할 수 있는 문제입니다. 다만 H2 데이터베이스를 쓰는 경우에만 해당하며, 주로 테스트 환경에서 쓰이는 만큼 1.2.1 버전으로 업그레이드하면 해결됩니다.

🇺🇸 원문 (English)

Unauthenticated callers can supply a malicious H2 JDBC URL through the testConnection API, which executes arbitrary Java code on the server via H2's INIT parameter. Vulnerability in Apache Gravitino. This issue affects Apache Gravitino: before 1.2.1. Users are recommended to upgrade to version 1.2.1, which fixes the issue. This issue only happens when using H2, and H2 is mainly used for testing and local development. Also, Gravitino is typically deployed in the internal environment, so the severity is low.

📍 영향받는 시스템

Apache Gravitino 1.2.1 미만 버전 (H2 데이터베이스 사용 시)

⚔️ 공격 벡터

인증 없이 testConnection API에 악성 H2 JDBC URL(INIT 파라미터 포함)을 전송하여 서버에서 임의 Java 코드 실행

🛡️ 대응 방법

Apache Gravitino를 1.2.1 이상으로 업그레이드하고, 가능하면 H2 대신 운영 환경에 적합한 데이터베이스를 사용

🔧 검증 코드

설치된 jar 파일명에서 버전 번호를 확인하여 1.2.1 미만이면 취약하며, 아무 결과도 없으면 Gravitino가 설치되지 않은 것입니다.

Shell / Script
ls /opt/gravitino 2>/dev/null; find / -name 'gravitino*.jar' 2>/dev/null | head -5

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

💻 영향받는 소프트웨어

Oracle Java SE