🇰🇷 한글 설명
MariaDB Connector/C 3.4.1부터 3.4.10 버전 사이의 Zero-Configuration SSL 인증 전환 로직에서 TLS 호스트 이름 검증 불일치를 처리하지 못하는 취약점이 발견되었습니다. 공격자가 유효한 다른 호스트의 인증서를 사용하여 중간자 공격(MITM)을 수행할 경우, 데이터베이스 비밀번호가 노출될 수 있습니다.
💡 쉬운 설명
데이터베이스에 연결할 때 보안 연결이 올바른 서버인지 확인하는 과정에 허점이 있습니다. 해커가 중간에서 가짜 연결을 만들어 사용자의 데이터베이스 비밀번호를 훔쳐갈 수 있습니다.
🇺🇸 원문 (English)
MariaDB Connector/C is a C and C++ client library for connecting applications to MariaDB and MySQL databases. From 3.4.1 until 3.4.10, the MariaDB Connector/C libmariadb Zero-Configuration SSL authentication-switch logic checked certificate trust failure but did not reject a TLS hostname verification mismatch before selecting a non-hashing authentication plugin. An active man-in-the-middle attacker with a valid certificate for another hostname could request mysql_clear_password and obtain the database password inside the attacker-controlled TLS connection. Other MariaDB connectors are not affected. This issue is fixed in version 3.4.10.
📍 영향받는 시스템
MariaDB Connector/C 3.4.1 ~ 3.4.10
⚔️ 공격 벡터
중간자 공격(Man-in-the-Middle)을 통한 TLS 호스트 이름 검증 우회 및 비밀번호 탈취
🛡️ 대응 방법
MariaDB Connector/C를 3.4.10 이상의 버전으로 업데이트하십시오.
🔧 검증 코드
출력된 라이브러리 버전이 3.4.10 미만인지 확인하여 취약 여부를 판단합니다.
ldconfig -p | grep libmariadb 2>/dev/null || dpkg -l | grep libmariadb