🇰🇷 한글 설명
likeadmin-likeshop likeadmin_php 1.9.6 이하 버전의 server\app\adminapi\lists\tools\DataTableLists.php 파일 내 queryResult 함수에서 SQL 인젝션 취약점이 발견되었습니다. 원격에서 공격이 가능하며, 공개된 익스플로잇이 존재하고 개발사는 아직 대응하지 않은 상태입니다.
💡 쉬운 설명
관리자용 데이터 테이블 기능에 입력값 검증이 부족해 외부인이 데이터베이스를 조작할 수 있습니다. 공개된 공격 방법이 있어 악용될 위험이 있습니다.
🇺🇸 원문 (English)
A vulnerability has been found in likeadmin-likeshop likeadmin_php up to 1.9.6. Affected by this issue is the function queryResult of the file server\app\adminapi\lists\tools\DataTableLists.php of the component dataTable Admin API. The manipulation leads to sql injection. The attack is possible to be carried out remotely. The exploit has been disclosed to the public and may be used. The project was informed of the problem early through an issue report but has not responded yet.
📍 영향받는 시스템
likeadmin-likeshop likeadmin_php 1.9.6 이하 버전
⚔️ 공격 벡터
원격에서 DataTable 관리자 API 요청 파라미터에 악성 SQL 구문을 삽입하여 데이터베이스 정보를 조회하거나 변조
🛡️ 대응 방법
공식 패치가 나올 때까지 해당 API 접근을 IP로 제한하고, 쿼리 파라미터에 대한 입력값 검증 및 준비된 구문(Prepared Statement) 적용
🔧 검증 코드
queryResult 함수가 출력되면 해당 코드가 존재하며, 이후 입력값이 바인딩 없이 SQL 문자열에 직접 연결되는지 코드를 검토해 취약 여부를 판단
grep -rn "queryResult" server/app/adminapi/lists/tools/DataTableLists.php 2>/dev/null | head -5