🇰🇷 한글 설명
phpMySport 1.4의 index.php에서 magic_quotes_gpc가 비활성화된 경우, member/news/information/team/club/matches 액션의 파라미터를 통해 SQL 주입 취약점이 발생합니다. 원격 공격자가 임의의 SQL 명령을 실행할 수 있습니다.
💡 쉬운 설명
phpMySport라는 웹 애플리케이션의 여러 기능에서 사용자 입력을 제대로 검증하지 않아 악의적인 SQL 명령을 실행할 수 있습니다. 공격자가 데이터베이스에 직접 접근하여 데이터를 탈취하거나 조작할 수 있습니다.
🇺🇸 원문 (English)
Multiple SQL injection vulnerabilities in index.php in phpMySport 1.4, when magic_quotes_gpc is disabled, allow remote attackers to execute arbitrary SQL commands via the (1) v2 parameter in a member view action, (2) v1 parameter in a news action, (3) v1 parameter in an information action, (4) v2 parameter in a team view action, (5) v2 parameter in a club view action, or (6) v2 parameter in a matches view action.
📍 영향받는 시스템
phpMySport 1.4 (magic_quotes_gpc 비활성화 상태)
⚔️ 공격 벡터
GET 파라미터 (v1, v2)를 통해 URL에 SQL 구문을 직접 삽입하여 공격
🛡️ 대응 방법
phpMySport를 최신 버전으로 업그레이드하고 입력값 검증 및 prepared statement 사용
🔧 검증 코드
phpMySport 설치 위치가 나타나면 영향받는 버전이 설치된 것입니다. 해당 디렉토리의 버전을 확인하세요.
find / -name 'phpMySport' -o -name 'index.php' 2>/dev/null | xargs grep -l 'magic_quotes_gpc\|\$_GET.*v[12]' 2>/dev/null