🇰🇷 한글 설명
AdithyaYelloju 레스토랑 관리 시스템의 admin/add_table.php 파일 내 mysqli_query 함수에서 SQL 인젝션 취약점이 발견되었습니다. table/members/price 인자를 조작하여 원격에서 데이터베이스를 공격할 수 있으며, 관련 익스플로잇이 이미 공개된 상태입니다.
💡 쉬운 설명
레스토랑 관리 프로그램의 특정 입력창에 악의적인 명령어를 입력하여 데이터베이스를 조작할 수 있는 보안 약점입니다. 해커가 원격에서 몰래 정보를 빼가거나 데이터를 수정할 위험이 있습니다.
🇺🇸 원문 (English)
A vulnerability was found in AdithyaYelloju Restaurant Management System up to 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c. This affects the function mysqli_query of the file admin/add_table.php. The manipulation of the argument table/members/price results in sql injection. It is possible to launch the attack remotely. The exploit has been made public and could be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The project was informed of the problem early through an issue report but has not responded yet.
📍 영향받는 시스템
AdithyaYelloju Restaurant Management System (commit 7f0e7e84255e8fcfd488e83f8f91451bbbff6b 포함 이전 버전)
⚔️ 공격 벡터
원격에서 table/members/price 인자에 조작된 SQL 쿼리를 주입하는 방식
🛡️ 대응 방법
mysqli_query 사용 시 Prepared Statements를 사용하여 입력값을 검증하고 SQL 인젝션을 방지해야 합니다.
🔧 검증 코드
출력된 커밋 해시값이 7f0e7e84255e8fcfd488e83f8f91451bbbff6b와 같거나 그 이전이면 취약한 상태입니다.