🇰🇷 한글 설명
Asterisk는 오픈소스 사설 교환기(PBX) 및 텔레포니 툴킷입니다. 영향받는 배포판에서 인증된 공격자가 조작된 패킷으로 T.140 RED 세대 누적 과정 중 범위를 벗어난 쓰기를 유발할 수 있으며, 이로 인해 원격 코드 실행 또는 서비스 충돌이 발생할 수 있습니다. 이 취약점은 chan_sip 드라이버가 설치되고 textsupport 옵션이 활성화된 경우에만 해당하며, chan_sip은 Asterisk 20에서 deprecated되고 이후 버전에서 제거되었습니다.
💡 쉬운 설명
전화 교환 시스템 소프트웨어의 오래된 SIP 채널 기능에 메모리 쓰기 오류가 있어, 로그인된 공격자가 특수하게 만든 데이터로 시스템을 멈추게 하거나 악성 코드를 실행할 수 있습니다. 이 기능은 기본적으로 꺼져 있고, 구버전에서만 문제가 됩니다.
🇺🇸 원문 (English)
Asterisk is an open source private branch exchange and telephony toolkit. In affected deployments, an authenticated attacker may cause a `T.140 RED` out-of-bounds write during `generation accumulation` using carefully crafted packets, potentially allowing remote code execution or causing Asterisk to crash. The `chan_sip` channel driver must be installed and configured, and its `textsupport` option must be enabled; `textsupport` defaults to no. `The chan_sip driver was deprecated in Asterisk 20 and completely removed in all later versions.` Repository comparisons verify patch containment in Asterisk 20.20.1, 21.12.3, 22.10.1 and 23.4.1, and Certified Asterisk 20.7-cert11 and 22.8-cert3. The affected release-track scope remains unresolved: structured metadata includes later release tracks even though the advisory says the required `chan_sip` driver was removed there.
📍 영향받는 시스템
chan_sip 드라이버를 설치하고 textsupport를 켠 Asterisk 배포판 (advisory상 Asterisk 20.20.1 이전 20.x, 21.12.3 이전 21.x, 22.10.1 이전 22.x, 23.4.1 이전 23.x 및 Certified Asterisk 해당 버전; 범위 일부는 미확정)
⚔️ 공격 벡터
인증된 사용자가 chan_sip의 textsupport 기능을 통해 조작된 T.140 패킷을 전송하여 세대 누적 과정에서 범위를 벗어난 메모리 쓰기를 유발
🛡️ 대응 방법
Asterisk를 패치된 버전(20.20.1, 21.12.3, 22.10.1, 23.4.1 또는 Certified 20.7-cert11, 22.8-cert3 이상)으로 업데이트하고, chan_sip을 사용 중이라면 textsupport를 비활성화하거나 chan_pjsip으로 전환
🔧 검증 코드
버전 번호가 패치된 버전 이상이면 안전하며, chan_sip 모듈이 'Not Found' 또는 결과가 없으면 드라이버가 제거되어 취약하지 않고, 모듈이 로드되어 있다면 textsupport 설정과 버전을 확인해야 합니다.
asterisk -V 2>/dev/null; asterisk -rx 'module show like chan_sip' 2>/dev/null