🇰🇷 한글 설명
phpx 3.5.15의 여러 SQL injection 취약점으로, 원격 공격자가 image_id, cat_id, news_id, topic_id, post_id, user_id 등의 파라미터를 통해 임의의 SQL 명령어를 실행할 수 있습니다. gallery.php, news.php, print.php, forums.php, users.php 등 여러 페이지가 영향을 받습니다.
💡 쉬운 설명
phpx 웹 애플리케이션의 입력값 검증 부족으로 인해 악의적인 사용자가 데이터베이스에 무단으로 접근하거나 정보를 탈취/변조할 수 있는 취약점입니다. 갤러리, 뉴스, 포럼, 사용자 관리 등 여러 기능이 영향을 받습니다.
🇺🇸 원문 (English)
Multiple SQL injection vulnerabilities in phpx 3.5.15 allow remote attackers to execute arbitrary SQL commands via the (1) image_id or (2) cat_id parameter to (a) gallery.php; the (3) news_id parameter to (b) news.php or (c) print.php; (4) the news_cat_id parameter to news.php; the (5) cat_id, (6) topic_id, or (7) post_id parameter to (d) forums.php; or (8) the user_id parameter to (e) users.php.
📍 영향받는 시스템
phpx 3.5.15 이하 버전
⚔️ 공격 벡터
URL 파라미터 기반 SQL injection - gallery.php, news.php, forums.php, users.php 등에서 image_id, cat_id, news_id, topic_id, post_id, user_id 파라미터에 SQL 구문 주입
🛡️ 대응 방법
phpx를 최신 버전으로 업그레이드하거나 Input validation 및 prepared statement 구현으로 SQL injection 방어
🔧 검증 코드
phpx 패키지 설치 여부 및 버전을 확인하여 3.5.15 이하인지 판단하고, gallery.php 등 취약한 파일 존재 여부로 영향도 확인
dpkg -l 2>/dev/null | grep -i phpx || find /var/www -name 'gallery.php' 2>/dev/null | head -1