🇰🇷 한글 설명
Simple Machines Forum의 변수 정리 불완전성으로 인한 취약점입니다. 숫자 파라미터가 영숫자 파라미터의 해시값과 일치할 때 정상적으로 정리되지 않아 디렉토리 순회 공격 및 임의 파일 읽기가 가능합니다.
💡 쉬운 설명
포럼 소프트웨어의 요청 처리 과정에서 특정 입력값이 제대로 제거되지 않는 결함입니다. 공격자가 조작된 요청을 보내 서버의 임의 파일을 접근하거나 시스템을 제어할 수 있습니다.
🇺🇸 원문 (English)
Simple Machines Forum (SMF) 1.1RCx before 1.1RC3, and 1.0.x before 1.0.8, does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to perform directory traversal attacks to read arbitrary local files, lock topics, and possibly have other security impacts. NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in Simple Machines Forum.
📍 영향받는 시스템
SMF 1.0.x before 1.0.8, SMF 1.1RCx before 1.1RC3
⚔️ 공격 벡터
숫자 파라미터와 영숫자 파라미터의 해시값을 일치시켜 디렉토리 순회 공격 수행
🛡️ 대응 방법
SMF를 1.0.8 이상 또는 1.1RC3 이상으로 업그레이드
🔧 검증 코드
SMF 버전을 확인하여 1.0.8 미만 또는 1.1RC3 미만이면 취약
grep -r "\$forum_version" /path/to/smf/Settings.php 2>/dev/null | head -1