🔍 CVE-2007-3356

7.8
CVSS Score
HIGH
2007-06-22
2026-04-23 00:35
✅ 완료

🇰🇷 한글 설명

NetClassifieds Premium Edition에서 에러 메시지를 통해 시스템 경로 정보와 데이터베이스 테이블명, SQL 쿼리가 노출되는 정보 공개 취약점입니다. display_errors 설정 오류와 __FILE__ 사용으로 인한 경로 노출, Halt_On_Error 설정의 과도한 에러 상세정보로 인해 공격자가 민감한 정보를 획득할 수 있습니다.

💡 쉬운 설명

웹사이트 에러 메시지가 너무 상세해서 시스템 폴더 경로와 데이터베이스 정보를 공격자에게 노출시키는 문제입니다. 이 정보로 공격자는 더 정교한 공격을 준비할 수 있게 됩니다.

🇺🇸 원문 (English)

NetClassifieds Premium Edition allows remote attackers to obtain sensitive information via certain requests that reveal the path in an error message, related to the display_errors setting in (1) Common.php and (2) imageresizer.php, and (3) the use of __FILE__ in error reporting by imageresizer.php; and (4) via certain requests that reveal the table name and complete query, related to the Halt_On_Error setting in Mysql_db.php.

📍 영향받는 시스템

NetClassifieds Premium Edition (전 버전)

⚔️ 공격 벡터

특정 HTTP 요청을 통해 에러 메시지를 유발하여 파일 경로, 데이터베이스 테이블명, SQL 쿼리 정보 추출

🛡️ 대응 방법

php.ini에서 display_errors 비활성화, Mysql_db.php와 imageresizer.php의 에러 처리 설정 조정, NetClassifieds 최신 버전으로 업그레이드

🔧 검증 코드

응답에 경로, SQL 쿼리, 테이블명 등 민감한 정보가 포함되면 취약점 존재, 없으면 패치됨

Shell / Script
curl -s 'http://target/imageresizer.php?test=1' | grep -iE '(fatal|error|warning|query|database)' && echo 'Vulnerable' || echo 'Info disclosure check'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

MySQL