🔍 CVE-2006-1395

7.5
CVSS Score
HIGH
2006-03-26
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

Cholod MySQL Based Message Board의 mb.cgi에 존재하는 SQL injection 취약점입니다. showmessage 액션의 username 파라미터를 통해 원격 공격자가 인증 없이 임의의 SQL 명령을 실행할 수 있습니다.

💡 쉬운 설명

메시지 게시판 프로그램에서 사용자 입력을 제대로 검증하지 않아서 해커가 데이터베이스에 직접 명령을 보낼 수 있습니다. 이를 통해 민감한 정보를 빼내거나 데이터를 삭제할 수 있습니다.

🇺🇸 원문 (English)

SQL injection vulnerability in mb.cgi in Cholod MySQL Based Message Board allows remote attackers to execute arbitrary SQL commands via unspecified vectors in a showmessage action, possibly the username parameter. NOTE: the provenance of this information is unknown; the details are obtained from third party information.

📍 영향받는 시스템

Cholod MySQL Based Message Board (모든 버전, 패치되지 않은 상태)

⚔️ 공격 벡터

HTTP GET/POST 요청의 showmessage action 파라미터에 SQL 명령어 삽입

🛡️ 대응 방법

mb.cgi 업데이트 또는 입력값 검증 강화, 준비된 구문(prepared statements) 사용, SQL 메타문자 이스케이프 처리

🔧 검증 코드

SQL 에러 메시지나 비정상적인 응답이 나타나면 취약점이 존재합니다. 정상 응답이면 패치되었거나 이미 수정된 것입니다.

Shell / Script
curl -s 'http://target/mb.cgi?action=showmessage&username=test' 2>/dev/null | grep -i 'error\|sql\|syntax'

📊 CVSS Vector String

CVSS Vector
AV:N/AC:L/Au:N/C:P/I:P/A:P

💻 영향받는 소프트웨어

MySQL