🔍 CVE-2006-0369

2.1
CVSS Score
LOW
2006-01-22
2026-04-16 00:27
✅ 완료

🇰🇷 한글 설명

MySQL 5.0.18에서 VIEW 접근 권한이 있는 로컬 사용자가 information_schema.views를 조회하여 VIEW 정의 쿼리를 볼 수 있는 정보 노출 취약점입니다. VIEW 생성 시 사용된 WHERE 절이나 JOIN 조건 등 민감한 정보가 공개될 수 있습니다.

💡 쉬운 설명

MySQL에서 사용자가 만든 보기(VIEW)의 원본 질의문이 다른 사용자에게 노출됩니다. 보기에 숨겨야 할 조건(예: 급여 기준)이 포함되면 그 조건이 그대로 드러납니다.

🇺🇸 원문 (English)

MySQL 5.0.18 allows local users with access to a VIEW to obtain sensitive information via the "SELECT * FROM information_schema.views;" query, which returns the query that created the VIEW. NOTE: this issue has been disputed by third parties, saying that the availability of the schema is a normal and sometimes desired aspect of database access

📍 영향받는 시스템

MySQL 5.0.18 (로컬 접근 권한 있는 사용자)

⚔️ 공격 벡터

로컬 사용자가 SELECT * FROM information_schema.views 명령으로 모든 VIEW 정의 조회

🛡️ 대응 방법

MySQL을 5.0.19 이상으로 업그레이드 또는 information_schema 접근 제한

🔧 검증 코드

버전이 5.0.18이면 취약, 5.0.19 이상이면 패치됨

Shell / Script
mysql -u root -e "SELECT VERSION();" 2>/dev/null | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

MySQL