🇰🇷 한글 설명
AdithyaYelloju Restaurant-Management-System의 특정 버전에서 mysqli_query 함수를 통한 SQL 인젝션 취약점이 발견되었습니다. 공격자가 admin/delete1.php 파일의 ID 인자를 조작하여 원격에서 데이터베이스를 공격할 수 있습니다. 해당 취약점은 이미 공개되었으며 악용될 가능성이 높습니다.
💡 쉬운 설명
식당 관리 프로그램의 특정 페이지에서 데이터베이스를 조작할 수 있는 보안 구멍이 발견되었습니다. 해커가 원격에서 이 구멍을 통해 식당의 중요한 정보를 훔치거나 삭제할 수 있습니다.
🇺🇸 원문 (English)
A vulnerability was found in AdithyaYelloju Restaurant-Management-System up to 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c. This issue affects the function mysqli_query of the file admin/delete1.php of the component Unauthenticated Action Script. Performing a manipulation of the argument ID results in sql injection. The attack can be initiated remotely. The exploit has been made public and could be used. Continious delivery with rolling releases is used by this product. Therefore, no version details of affected nor updated releases are available. The project was informed of the problem early through an issue report but has not responded yet.
📍 영향받는 시스템
AdithyaYelloju Restaurant-Management-System (commit 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c 이하 버전)
⚔️ 공격 벡터
원격에서 admin/delete1.php의 ID 매개변수를 조작하는 SQL 인젝션 공격
🛡️ 대응 방법
입력값 검증 로직을 적용하여 SQL 인젝션을 방지하고, Prepared Statements를 사용하여 데이터베이스 쿼리를 실행해야 합니다.
🔧 검증 코드
출력된 커밋 해시값이 7f0e7e84255e8fcfd488e83f8f91451bbbff6b9c와 같거나 그 이전 단계라면 취약한 상태입니다.