🔍 CVE-2006-6390

6.8
CVSS Score
MEDIUM
2006-12-08
2026-06-16 22:33
✅ 완료

🇰🇷 한글 설명

Open Solution Quick.Cart 2.0에서 설정 오류(register_globals 활성화, magic_quotes_gpc 비활성화) 시 config[db_type] 파라미터에 '../'를 삽입하여 임의의 로컬 파일을 포함 및 실행할 수 있는 디렉토리 트래버설 취약점입니다. 공격자는 Apache 로그 파일에 PHP 코드를 주입한 후 해당 파일을 포함시켜 원격 코드 실행을 달성할 수 있습니다.

💡 쉬운 설명

웹 쇼핑몰 소프트웨어의 설정 문제로 인해 폴더를 넘나들 수 있는 취약점이 생겼습니다. 공격자가 악의적인 명령어를 서버 로그에 숨겨두고 소프트웨어가 그것을 실행하도록 할 수 있습니다.

🇺🇸 원문 (English)

Multiple directory traversal vulnerabilities in Open Solution Quick.Cart 2.0, when register_globals is enabled and magic_quotes_gpc is disabled, allow remote attackers to include and execute arbitrary local files via a .. (dot dot) in the config[db_type] parameter to (1) categories.php, (2) couriers.php, (3) orders.php, and (4) products.php in actions_admin/; and (5) orders.php and (6) products.php in actions_client/; as demonstrated by injecting PHP sequences into an Apache HTTP Server log file, which is then included by one of these PHP scripts.

📍 영향받는 시스템

Open Solution Quick.Cart 2.0 (register_globals=On, magic_quotes_gpc=Off)

⚔️ 공격 벡터

HTTP 요청의 config[db_type] 매개변수에 디렉토리 트래버설 문자열(../) 주입 + Apache 로그 파일 PHP 코드 주입

🛡️ 대응 방법

PHP 설정에서 register_globals 비활성화, magic_quotes_gpc 활성화 및 소프트웨어 패치 적용

🔧 검증 코드

결과에 register_globals=On 또는 magic_quotes_gpc=Off 표시 시 취약한 설정; 두 항목 모두 안전한 값으로 설정되어 있으면 보호됨

Shell / Script
grep -r 'register_globals\|magic_quotes_gpc' /etc/php*/ 2>/dev/null | grep -E 'On|enabled'

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Apache HTTP Server