Caphyon Ltd Advanced Installer 19.3 の「CustomDetection」アップデートチェックにおけるリモートコード実行の脆弱性。
使用方法: python3 cve-2022-27438_poc.py
詳細はレポートを参照: gerr.re.
その他の影響を受ける製品については、アップデートサーバーとアップデート設定ファイル名を変更する必要があります。これらは多くの場合、アプリケーションのインストールディレクトリにあるアップデータの .ini ファイルにあります。
www.advancedinstaller.com を攻撃者のIPアドレスに設定する;
c:\windows\system32\drivers\etc\hosts を編集するのが最も簡単です。
openssl req -new -x509 -keyout www.advancedinstaller.com.pem -out www.advancedinstaller.com.pem -days 365 -nodes -subj "/CN=www.advancedinstaller.com" を使用C:\Program Files (x86)\Caphyon\Advanced Installer 19.3\bin\x86\updater.exe から起動して手動で更新をトリガーする;その結果、CustomDetection で指定されたバイナリが、CustomDetectionParameters で指定されたパラメータと共に、現在のユーザーのコンテキストで実行されます。