🔍 CVE-2017-6089

9.8
CVSS Score
CRITICAL
2017-10-03
2026-05-13 00:24
✅ 완료

🇰🇷 한글 설명

PhpCollab 2.5.1 이하 버전의 topics/deletetopics.php, bookmarks/deletebookmarks.php, calendar/deletecalendar.php 파일에서 ID 파라미터에 대한 SQL injection 취약점으로, 인증 없는 원격 공격자가 임의의 SQL 명령을 실행할 수 있습니다. 이를 통해 데이터베이스 조작, 데이터 탈취, 또는 시스템 장애를 야기할 수 있는 극도로 심각한 결함입니다.

💡 쉬운 설명

PhpCollab의 파일 삭제 기능이 사용자 입력을 제대로 검증하지 않아서, 공격자가 특수 문자를 삽입하여 데이터베이스에 직접 명령을 실행할 수 있습니다. 이를 이용해 데이터베이스의 모든 정보를 빼가거나 지울 수 있습니다.

🇺🇸 원문 (English)

SQL injection vulnerability in PhpCollab 2.5.1 and earlier allows remote attackers to execute arbitrary SQL commands via the (1) project or id parameters to topics/deletetopics.php; the (2) id parameter to bookmarks/deletebookmarks.php; or the (3) id parameter to calendar/deletecalendar.php.

📍 영향받는 시스템

PhpCollab 2.5.1 이하 모든 버전 (topics/deletetopics.php, bookmarks/deletebookmarks.php, calendar/deletecalendar.php)

⚔️ 공격 벡터

HTTP GET 요청의 id 또는 project 파라미터에 SQL injection 페이로드 삽입 (예: id=1' OR '1'='1)

🛡️ 대응 방법

PhpCollab을 최신 보안 패치가 적용된 버전으로 긴급 업그레이드하고, parameterized queries 또는 prepared statements로 모든 사용자 입력 필터링

🔧 검증 코드

SQL 에러 메시지나 예상치 못한 응답이 나타나면 SQL injection 취약점이 존재하며, 확인되면 즉시 보안 패치 적용 필요

Shell / Script
curl -s 'http://target-ip/topics/deletetopics.php?id=1%27%20OR%20%271%27=%271' 2>&1 | grep -iE 'error|exception|sql|syntax'

📊 CVSS Vector String

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

PHP