🇰🇷 한글 설명
WordPress용 WP Hotel Booking 플러그인 2.1.0 이하 버전에서 SQL 인젝션 취약점이 발견되었습니다. /wphb/v1/rooms/search-rooms REST API 엔드포인트의 'room_type' 파라미터에 대한 검증 미흡으로 인해 발생합니다. 인증되지 않은 공격자가 데이터베이스에서 민감한 정보를 추출할 수 있습니다.
💡 쉬운 설명
호텔 예약 플러그인의 특정 입력창에 악의적인 명령어를 입력하여 데이터베이스를 조작할 수 있는 보안 결함입니다. 해커가 로그인 없이도 웹사이트의 중요한 정보를 몰래 빼낼 수 있어 매우 위험합니다.
🇺🇸 원문 (English)
The WP Hotel Booking plugin for WordPress is vulnerable to SQL Injection via the 'room_type' parameter of the /wphb/v1/rooms/search-rooms REST API endpoint in all versions up to, and including, 2.1.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
📍 영향받는 시스템
WP Hotel Booking plugin (WordPress) version 2.1.0 and below
⚔️ 공격 벡터
인증되지 않은 공격자가 REST API의 'room_type' 파라미터에 조작된 SQL 쿼리를 전송
🛡️ 대응 방법
WP Hotel Booking 플러그인을 최신 버전으로 업데이트하거나 해당 API 엔드포인트에 대한 접근을 제한하십시오.
🔧 검증 코드
출력된 결과에서 플러그인 이름과 현재 설치된 버전을 확인하여 2.1.0 이하인지 체크합니다.
wp plugin list --allow-root | grep -i 'wp-hotel-booking'