Wiz가 Google Cloud에 합류: 함께 마법을 만드는 것

CVE-2026-134845: 
Java 취약점 분석 및 완화

개요

CVE-2026-134845 is a TLS enforcement flaw in pgjdbc, the PostgreSQL JDBC Driver, that allows network-positioned attackers to intercept and modify database traffic. The vulnerability stems from multiple misconfigurations where TLS is not properly enforced despite settings that request it: SSL values like 1, on, yes, or verify-full result in sslmode=prefer (or no TLS at all in older versions) rather than requiring encryption; service entries specified via Properties have their pg_service.conf sslmode silently ignored; and BaseDataSource.setUrl() retains previously set sslmode, channelBinding, or gssEncMode values. Affected versions span 9.4.1208 through 42.7.14 (Maven artifact org.postgresql:postgresql), and version 42.7.15 resolves the issue. It carries a CVSS v3.1 base score of 7.4 (High) (GitHub Advisory).

기술적 세부사항

The root cause is classified under CWE-295 (Improper Certificate Validation) and CWE-319 (Cleartext Transmission of Sensitive Information). Three distinct code paths contribute to the flaw: (1) when sslmode is absent, SSL shorthand values (1, on, yes, verify-full) resolve to sslmode=prefer from version 42.2.5 onward, or to no TLS at all in versions 9.4.1208–42.2.4; (2) a PostgreSQL service name passed via Properties to getConnection() is silently ignored, discarding the sslmode from the corresponding pg_service.conf entry; and (3) BaseDataSource.setUrl() does not overwrite properties already set, so a prior sslmode, channelBinding, or gssEncMode persists even after a new URL is supplied. A proof-of-concept connection string demonstrating the issue is jdbc:postgresql://db.example.com/app?ssl=on, which causes the driver to use sslmode=prefer, allowing a network attacker to refuse TLS or present an arbitrary certificate (GitHub Advisory).

영향

An unauthenticated attacker positioned on the network path between a Java application and its PostgreSQL server can intercept all database traffic in cleartext, including credentials (for some authentication methods), SQL queries, and query results, and can also modify commands and responses in transit. Both confidentiality and integrity are rated High, while availability is unaffected. The scope of impact is limited to connections using one of the misconfigured SSL settings, but given the breadth of affected versions (spanning over a decade of releases), the potential exposure across enterprise environments is significant (GitHub Advisory).

악용 가능성

No public proof-of-concept exploit code or in-the-wild exploitation has been confirmed as of the disclosure date, though the GitHub Advisory includes a PoC connection string illustrating the misconfiguration. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation requires an attacker to be positioned on the network path (man-in-the-middle), making it a High attack complexity scenario that is not automatable (GitHub Advisory).

착취 단계

  1. Reconnaissance: Identify Java applications using pgjdbc versions 9.4.1208–42.7.14 that connect to PostgreSQL, particularly those using connection strings with ssl=on, ssl=yes, ssl=1, or ssl=verify-full without an explicit sslmode parameter.
  2. Network Positioning: Gain a man-in-the-middle position on the network path between the application server and the PostgreSQL database server (e.g., via ARP spoofing, rogue Wi-Fi, or compromised network infrastructure).
  3. TLS Downgrade: Because the driver uses sslmode=prefer, intercept the initial connection handshake and refuse the TLS upgrade. The driver will fall back to an unencrypted connection without alerting the application.
  4. Traffic Interception: Capture the now-plaintext PostgreSQL wire protocol traffic to read credentials, SQL queries, and database responses.
  5. Traffic Modification (optional): Inject or alter SQL commands or server responses in transit to manipulate application behavior or exfiltrate additional data (GitHub Advisory).

타협의 징후

  • Network: Unexpected unencrypted PostgreSQL wire protocol traffic (TCP port 5432) on network segments where TLS-encrypted connections are expected; TLS negotiation failures or downgrades observed in network captures between application and database servers.
  • Logs: PostgreSQL server logs showing connections established without SSL (ssl=off) from clients that are configured to request SSL; application logs lacking TLS handshake confirmation messages.
  • Process/Configuration: Connection strings in application configuration files using ssl=on, ssl=yes, ssl=1, or ssl=verify-full without an explicit sslmode=require or sslmode=verify-full parameter; use of pg_service.conf service names passed via Properties rather than the JDBC URL.

완화 및 우회 방법

Upgrade org.postgresql:postgresql (pgjdbc) to version 42.7.15 or later, which is the official fix (GitHub Advisory). As interim mitigations: (1) explicitly set sslmode=require or sslmode=verify-full in JDBC connection URLs rather than relying on the ssl shorthand parameter; (2) pass sslmode directly in the JDBC URL rather than via pg_service.conf service entries in Properties; (3) audit any code using BaseDataSource.setUrl() to ensure TLS-related properties are not inadvertently retained from prior configurations; and (4) implement network segmentation and monitoring to detect unencrypted database connections or anomalous traffic on database network paths.

추가 리소스

리눅스 배포판 수정 현황

주요 리눅스 배포판과 그 릴리스 전반에 걸친 가용성을 수정하세요.

Debian

수정됨

bookworm

libpgjava

영향을 받음

sid

libpgjava: 42.7.15-1

수정됨

trixie

libpgjava

영향을 받음

Ubuntu

알 수 없음

bionic (esm-apps)

libpgjava

알 수 없음

devel

libpgjava

알 수 없음

focal (esm-apps)

libpgjava

알 수 없음

jammy

libpgjava

알 수 없음

jammy (esm-apps)

libpgjava

알 수 없음

noble

libpgjava

알 수 없음

noble (esm-apps)

libpgjava

알 수 없음

resolute

libpgjava

알 수 없음

RHEL / CentOS

영향을 받음

RHEL 9

영향 없음

RHEL 10

영향 없음

소스: 이 보고서는 AI를 사용해 생성되었습니다

관련 Java 취약점:

CVE ID

심각도

점수

기술

구성 요소 이름

CISA KEV 악용

수정 사항이 있습니다

출판일

CVE-2026-134844HIGH7.5
  • Java logoJava
  • keycloak-26.8
아니요네Nov 23, 2026
CVE-2026-134848HIGH7.4
  • Java logoJava
  • org.postgresql:postgresql
아니요네Nov 23, 2026
CVE-2026-134845HIGH7.4
  • Java logoJava
  • flyway
아니요네Nov 23, 2026
CVE-2026-134847MEDIUM6.5
  • Java logoJava
  • flyway
아니요네Nov 23, 2026
CVE-2026-134846MEDIUM6.5
  • Java logoJava
  • libpgjava
아니요네Nov 23, 2026

무료 취약점 평가

클라우드 보안 포세를 벤치마킹하세요

9개 보안 영역에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 파악하세요.

요청 평가

추가 Wiz 리소스

맞춤형 데모를 받아보세요

맞춤형 데모 신청하기

"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
데이비드 에슬릭CISO
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
아담 플레처최고 보안 책임자(CSO)
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."
그렉 포니아토프스키위협 및 취약성 관리 책임자