🇰🇷 한글 설명
PHPGurukul 레스토랑 테이블 예약 시스템 1.0의 /admin/add-table.php 파일에서 tableno 파라미터 조작을 통해 크로스 사이트 스크립팅(XSS) 취약점이 발생합니다. 원격에서 공격 가능하며 이미 공개된 익스플로잇이 존재합니다.
💡 쉬운 설명
관리자 페이지의 테이블 번호 입력창에 악의적인 코드를 삽입하여 다른 사용자 브라우저에서 임의 코드를 실행시킬 수 있는 보안 결함입니다. 입력값 검증이 부족하여 발생합니다.
🇺🇸 원문 (English)
A vulnerability classified as problematic was found in PHPGurukul Restaurant Table Booking System 1.0. Affected by this vulnerability is an unknown functionality of the file /admin/add-table.php. The manipulation of the argument tableno leads to cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
📍 영향받는 시스템
PHPGurukul Restaurant Table Booking System 1.0
⚔️ 공격 벡터
POST/GET 요청의 tableno 파라미터에 JavaScript 코드 삽입 → 관리자 페이지 접근 시 자동 실행
🛡️ 대응 방법
최신 버전으로 업데이트 또는 입력값 검증(htmlspecialchars, strip_tags) 및 CSP 헤더 적용
🔧 검증 코드
파일이 발견되면 vulnerable 상태, 미발견이면 해당 버전 미설치 또는 이미 제거됨을 의미합니다.
find / -path '*/admin/add-table.php' 2>/dev/null | xargs grep -l 'tableno' 2>/dev/null