🇰🇷 한글 설명
PHP Melody 버전 3.0에서 원격 SQL 인젝션 취약점이 발견되었습니다. 인증된 공격자가 비디오 편집 모듈에서 악의적인 SQL 명령을 삽입할 수 있습니다. 공격자는 검증되지 않은 'vid' 파라미터를 악용하여 임의의 데이터베이스 쿼리를 실행하고 웹 애플리케이션 및 데이터베이스 관리 시스템을 손상시킬 수 있습니다.
💡 쉬운 설명
PHP Melody 3.0 버전에서 인증된 공격자가 악의적인 SQL 명령을 삽입할 수 있는 취약점이 있습니다. 이는 데이터베이스 및 웹 애플리케이션을 손상시킬 수 있습니다. 최신 버전으로 업데이트하거나 보안 패치를 적용하여 취약점을 해결해야 합니다.
🇺🇸 원문 (English)
PHP Melody version 3.0 contains a remote SQL injection vulnerability in the video edit module that allows authenticated attackers to inject malicious SQL commands. Attackers can exploit the unvalidated 'vid' parameter to execute arbitrary database queries and potentially compromise the web application and database management system.
📍 영향받는 시스템
PHP Melody 버전 3.0
🛡️ 대응 방법
최신 버전으로 업데이트하거나 보안 패치를 적용하세요.
🔧 검증 코드
로컬 시스템에서 Python을 실행하고, requests 라이브러리가 설치되어 있는지 확인하세요. 또한, verification_code의 URL을 실제 PHP Melody 설치 경로로 변경해야 합니다. 코드를 실행하면 SQL 인젝션 취약점의 존재 여부를 확인할 수 있습니다.
import requests
response = requests.get('https://example.com/your-php-melody-installation/video-edit.php?vid=1%27+OR+1%3D1--')
if 'SQL' in response.text:
print({"result": "취약", "reason": "SQL 인젝션 취약점"})
else:
print({"result": "양호", "reason": "SQL 인젝션 취약점 없음"})