🇰🇷 한글 설명
oretnom23 php-travel-agency-system의 Contact Form Handler 구성요소인 contact_insert.php 파일에서 취약점이 발견되었습니다. name, company, email, topic, phone, comments 인자 처리 과정에서 SQL 인젝션이 발생하며, 원격에서 공격이 가능합니다. 공개된 익스플로잇이 존재하지만 개발팀은 아직 응답하지 않았습니다.
💡 쉬운 설명
여행사 웹사이트의 문의 양식에 악의적인 데이터를 입력하면 데이터베이스가 조작될 수 있습니다. 공격자가 고객 정보나 관리자 계정 정보를 훔칠 수 있으므로 즉시 확인이 필요합니다.
🇺🇸 원문 (English)
A weakness has been identified in oretnom23 php-travel-agency-system. The affected element is an unknown function of the file contact_insert.php of the component Contact Form Handler. This manipulation of the argument name/company/email/topic/phone/comments causes sql injection. The attack can be initiated remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
📍 영향받는 시스템
oretnom23 php-travel-agency-system (contact_insert.php 포함 버전, 정확한 버전 정보 미확인)
⚔️ 공격 벡터
문의 양식(contact_insert.php)의 name, company, email, topic, phone, comments 파라미터에 조작된 SQL 구문을 삽입하여 원격으로 공격
🛡️ 대응 방법
입력값에 대해 Prepared Statement(매개변수화된 쿼리)를 적용하고, 개발사 패치가 나올 때까지 해당 파일 접근을 차단하거나 WAF 규칙을 적용
🔧 검증 코드
결과에 contact_insert.php 경로가 출력되면 해당 파일이 존재하는 것이므로 취약 가능성이 있어 입력값 처리 코드를 추가 점검해야 하며, 출력이 없으면 해당 파일이 설치되지 않은 것입니다.
grep -rn "contact_insert" /var/www/html 2>/dev/null | head -n 5