2021/12/15のTableau製品リリースにて、Log4j2のファイルがバージョン2.15に更新されました。まだ付属のコンポーネントが残っている可能性があります。それらのコンポーネントに対して影響を軽減させるためJNDIの機能を無効にする変更をしました。
2021/12/19のTableau製品リリースにて、Log4j 2.16が組み込まれJNDJの機能がデフォルトで無効になりました。これによりCVE-2021-44228 と CVE-2021-45046 に対する対応がされています。
上記2021/12/19の製品リリースにアップグレードすることで、CVE-2021-44228 及び CVE-2021-45046で判明しているセキュリティ問題に対応できます。
1. 7zip をダウンロードして c:\7zip にインストールします。
2. 管理PowerShell ウィンドウを開きます。
3. Tableau Bridge のbin ディレクトリに移動します。デフォルトは C:\Program Files\Tableau\Tableau Bridge\bin です。
cd C:\Program Files\Tableau\Tableau Bridge\bin
4. jdbcserver.jarに対するReadOnlyを無効にします。
Set-ItemProperty jdbcserver.jar -Name IsReadOnly -Value $false
5. oauthservice.jarに対するReadOnlyを無効にします。
Set-ItemProperty oauthservice.jar -Name IsReadOnly -Value $false
6. jdbcserverからJndiLookup.classを削除します。
c:\7zip\7z d jdbcserver.jar org/apache/logging/log4j/core/lookup/JndiLookup.class -r
7. oauthserviceからJndiLookup.classを削除します。
c:\7zip\7z d oauthservice.jar org/apache/logging/log4j/core/lookup/JndiLookup.class -r
8. jdbcserver.jarに対するReadOnlyを有効に設定します。Set-ItemProperty jdbcserver.jar -Name IsReadOnly -Value $true
9. oauthservice.jarに対するReadOnlyを有効に設定します。
Set-ItemProperty oauthservice.jar -Name IsReadOnly -Value $true
10. Tableau Bridge のbin32 ディレクトリに移動します。デフォルトは C:\Program Files\Tableau\Tableau Bridge\bin32 です。
cd C:\Program Files\Tableau\Tableau Bridge\bin32
11. jdbcserver.jarに対するReadOnlyを無効にします。
Set-ItemProperty jdbcserver.jar -Name IsReadOnly -Value $false
12. oauthservice.jarに対するReadOnlyを無効にします。
Set-ItemProperty oauthservice.jar -Name IsReadOnly -Value $false
13. jdbcserverからJndiLookup.classを削除します。
c:\7zip\7z d jdbcserver.jar org/apache/logging/log4j/core/lookup/JndiLookup.class -r
14. oauthserviceからJndiLookup.classを削除します。
c:\7zip\7z d oauthservice.jar org/apache/logging/log4j/core/lookup/JndiLookup.class -r
15. jdbcserver.jarに対するReadOnlyを有効に設定します。
Set-ItemProperty jdbcserver.jar -Name IsReadOnly -Value $true
16. oauthservice.jarに対するReadOnlyを有効に設定します。
Set-ItemProperty oauthservice.jar -Name IsReadOnly -Value $true
ファイルが削除されたことの確認方法:
1) 上記の手順を全て順番通り再実行します。
2) JndiLookuup.classファイルを削除するコマンドの出力(ステップ6, 7, 13, 14)に複数回実行しても“Delete data from archive” の行がない場合は、ファイルは削除済のため改善手順は完了です。
例:
ファイルが初めて削除された場合、"Delete data from archive line item"の行が表示されます。
コマンドが二回目に実行された場合、“Delete data from archive”の行は表示されません。
001534232

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.