🇰🇷 한글 설명
Firebird는 오픈소스 관계형 데이터베이스 관리 시스템입니다. 5.0.4, 4.0.7, 3.0.14 이전 버전에서는 op_response 패킷을 디코딩할 때 xdr_status_vector() 함수가 isc_arg_cstring 타입을 처리하지 못해, 상태 벡터에 해당 타입이 포함되면 서버가 충돌합니다. 인증되지 않은 공격자도 조작된 op_response 패킷을 보내 이 취약점을 악용할 수 있습니다.
💡 쉬운 설명
데이터베이스 서버가 특정 방식으로 조작된 데이터를 받으면 멈춰버리는 문제입니다. 로그인하지 않은 외부 공격자도 이를 이용해 서비스를 중단시킬 수 있습니다.
🇺🇸 원문 (English)
Firebird is an open-source relational database management system. In versions prior to 5.0.4, 4.0.7 and 3.0.14, the xdr_status_vector() function does not handle the isc_arg_cstring type when decoding an op_response packet, causing a server crash when one is encountered in the status vector. An unauthenticated attacker can exploit this by sending a crafted op_response packet to the server. This issue has been fixed in versions 5.0.4, 4.0.7 and 3.0.14.
📍 영향받는 시스템
Firebird 3.0.14, 4.0.7, 5.0.4 미만 버전
⚔️ 공격 벡터
인증 없이 조작된 op_response 패킷을 서버로 전송하여 서버 충돌(DoS)을 유발
🛡️ 대응 방법
Firebird를 5.0.4, 4.0.7, 3.0.14 이상 버전으로 업데이트
🔧 검증 코드
출력된 버전이 3.0.14, 4.0.7, 5.0.4 미만이면 취약하므로 패치가 필요하며, 명령어가 결과를 출력하지 않으면 Firebird가 설치되지 않은 것입니다.
firebird -z 2>/dev/null | head -n 1 || isql -z 2>/dev/null | head -n 1