概要
同じ機器の低権限ユーザーが置いた不正な DLL を、アプリが読み込んで実行するおそれ。
元の説明(英語)を読む
psqlODBC uses pgenlist.dll, which is installed with the driver, for MSDTC enlistment. It loads the DLL the first time an application enlists. On builds made with Visual C++ 14 or later, it loaded the DLL by name, not by its path. Windows then searched the application's directory, the current directory and the directories on PATH, and none of them is where the driver installs pgenlist.dll. So another local user who could write to one of those directories could put their own pgenlist.dll there. The next time the application enlisted in MSDTC, that DLL's code ran in the application, under the application's account. On a server, that account can have more privileges than the attacker's own. An application that never sets SQL_ATTR_ENLIST_IN_DTC does not load pgenlist.dll and is unaffected. Only the Windows builds of the driver use pgenlist.dll. Versions up to and including psqlODBC 18.00.0007 are affected.
影響を受ける人
Windows で psqlODBC を使い MSDTC 連携するアプリの管理者
対策
- ベンダーの告知を確認する。対象は psqlODBC 18.00.0007 以前。
- 修正されるまでは、アプリのフォルダーやカレントディレクトリ、PATH 上のフォルダーに一般ユーザーが書き込めないようにする。
国内の動き
本文に同じ CVE 番号のある国内の注意喚起・報道は、まだ無い。
海外の動き
本文に同じ CVE 番号のある海外の注意喚起・報道は、まだ無い。
PoC
公開されている PoC は、まだ見つかっていない。