🇰🇷 한글 설명
phpok3w 프로젝트의 show.php 파일에서 ID 매개변수 조작을 통한 SQL injection 취약점이 발견되었습니다. 원격 공격자가 이를 악용하여 데이터베이스에 비정상적인 쿼리를 실행할 수 있으며, 공개된 익스플로잇이 존재합니다.
💡 쉬운 설명
phpok3w 웹 애플리케이션의 show.php 페이지에서 사용자 입력을 제대로 검증하지 않아 공격자가 데이터베이스를 조작할 수 있는 문제입니다. 인터넷을 통해 누구나 공격할 수 있고 이미 공격 방법이 공개되어 있습니다.
🇺🇸 원문 (English)
A vulnerability was identified in 9786 phpok3w up to 901d96a06809fb28b17f3a4362c59e70411c933c. Impacted is an unknown function of the file show.php. The manipulation of the argument ID leads to sql injection. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available. The project was informed of the problem early through an issue report but has not responded yet.
📍 영향받는 시스템
phpok3w (최소 커밋 901d96a06809fb28b17f3a4362c59e70411c933c까지), Rolling release 사용 중으로 특정 버전 미지정
⚔️ 공격 벡터
show.php의 ID 매개변수에 SQL injection 페이로드를 입력하여 원격에서 데이터베이스 공격
🛡️ 대응 방법
phpok3w를 최신 버전으로 업그레이드하거나 ID 매개변수에 대한 입력 검증 및 prepared statement 사용으로 SQL injection 차단
🔧 검증 코드
show.php 페이지에 접근할 수 있는지 확인하고, phpok이 감지되면 취약한 시스템으로 판단. 실제 SQL injection 테스트는 권한 있는 환경에서만 수행 필요
curl -s 'http://target-host/show.php' 2>/dev/null | grep -i 'phpok' || echo 'phpok not detected'