🇰🇷 한글 설명
Emlog Pro 2.6.23 이하 버전의 include/service/ai.php 파일에서 TLS 인증서 검증이 비활성화되어 있습니다. 이로 인해 네트워크 인접 공격자가 중간자 공격(MitM)을 수행하여 LLM 제공업체로 전송되는 API 키를 탈취하거나 조작된 AI 응답을 주입할 수 있습니다.
💡 쉬운 설명
프로그램이 외부 AI 서비스와 통신할 때 보안 인증서를 확인하지 않는 결함이 있습니다. 해커가 중간에서 통신 내용을 가로채 비밀번호를 훔치거나 가짜 답변을 보낼 수 있습니다.
🇺🇸 원문 (English)
Emlog Pro through 2.6.23 contains a disabled TLS certificate validation vulnerability in include/service/ai.php that allows network-adjacent attackers to intercept outbound HTTPS requests to configured LLM providers by presenting arbitrary TLS certificates, as CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST are unconditionally disabled across sendStream(), sendImageRequest(), send(), and fetchSearchHtml() with no option to re-enable verification. Attackers can perform man-in-the-middle interception to extract Authorization Bearer API keys from every AI request and inject crafted AI responses that may be acted upon by the tool-call execution pipeline, including the query_database and update_config tool handlers.
📍 영향받는 시스템
Emlog Pro 2.6.23 이하 버전
⚔️ 공격 벡터
네트워크 인접 공격자가 중간자 공격(MitM)을 통해 TLS 인증서를 위조하여 통신 가로채기
🛡️ 대응 방법
TLS 인증서 검증(CURLOPT_SSL_VERIFYPEER, CURLOPT_SSL_VERIFYHOST)을 활성화하도록 소스 코드를 수정하거나 최신 보안 패치를 적용하십시오.
🔧 검증 코드
명령어 결과에서 해당 옵션이 false로 설정되어 있거나 주석 처리되어 있다면 취약한 상태입니다.
grep -E 'CURLOPT_SSL_VERIFYPEER|CURLOPT_SSL_VERIFYHOST' include/service/ai.php