🇰🇷 한글 설명
FantasticLBP Hotels Server의 특정 버전에서 /controller/api/hotelList.php 파일 내의 pickedHotelName/type 인자 조작을 통한 SQL 인젝션 취약점이 발견되었습니다. 이 취약점은 원격 공격자가 데이터베이스를 조작할 수 있게 하며, 현재 익스플로잇이 공개되어 실제 공격에 사용될 위험이 있습니다.
💡 쉬운 설명
호텔 예약 서버의 특정 입력창에 악의적인 명령어를 입력하여 데이터베이스를 마음대로 조작할 수 있는 보안 결함입니다. 해커가 멀리 떨어진 곳에서도 서버의 정보를 훔치거나 변경할 수 있어 매우 위험합니다.
🇺🇸 원문 (English)
A flaw has been found in FantasticLBP Hotels Server up to 67b44df162fab26df209bd5d5d542875fcbec1d0. This vulnerability affects unknown code of the file /controller/api/hotelList.php. This manipulation of the argument pickedHotelName/type causes sql injection. The attack is possible to be carried out remotely. The exploit has been published and may be used. This product adopts a rolling release strategy to maintain continuous delivery The vendor was contacted early about this disclosure but did not respond in any way.
📍 영향받는 시스템
FantasticLBP Hotels Server (commit hash 67b44df162fab26df209bd5d5d542875fcbec1d0 포함 이전 버전)
⚔️ 공격 벡터
원격에서 /controller/api/hotelList.php 경로의 pickedHotelName 또는 type 인자에 SQL 인젝션 페이로드를 전송
🛡️ 대응 방법
해당 취약점이 해결된 최신 버전으로 업데이트하거나, 입력값 검증 로직을 적용하여 SQL 인젝션을 방어해야 합니다.
🔧 검증 코드
명령어 실행 결과 SQL 문법 오류나 비정상적인 데이터가 반환된다면 해당 취약점에 노출된 상태입니다.
curl -s -X GET 'http://<target_ip>/controller/api/hotelList.php?pickedHotelName=%27%20OR%201%3D1%20--' | grep -i 'error'