对于正在进行有效维护的客户,如果未从受影响版本(2021 年 12 月 15 日之前的任何产品版本)更新,或更新到 2021 年 12 月 15 日产品版本,请更新到以下一个较新的版本:
这些指令将 jndilookup.class 从易受攻击的 jar 中移除。两个组件在移除功能后无法正常工作,我们会使用 2.16 替换这些特定组件 jar。需要 Python,才可以运行脚本。该脚本会确保,我们可以找到 JndiLookup.class 文件的所有实例,即使在嵌入 Java 库中。
如果看到错误“系统策略禁止此安装”,使用右键单击“以管理员身份运行”从下载重新运行
7.在安装结束时,选择“禁用路径长度限制”
8.在本文随附的 remove_jndi.zip 中,下载所需 Python 脚本和适用于 Windows 的 Log4j 版本 2.16 jar,其中包含:
推荐步骤:请确认,产品没有剩余版本 2.16 之前的 JndiLookup.class 文件。
1.使用“--dryrun”标志运行 remove_jndilookup,指示脚本扫描目录,但不对文件执行任何操作:python.exe c:\remove_jndi\remove_jndilookup_win.py --dryrun "C:\Program Files\Tableau\Tableau Server" > verification.txt
python.exe c:\remove_jndi\remove_jndilookup_win.py --dryrun "c:\ProgramData\Tableau\Tableau Server" >> verification.txt
推荐步骤:请确认,产品没有剩余版本 2.16 之前的 JndiLookup.class 文件。
然后,您可以使用 --dryrun 标志运行 remove_jndilookup,指示脚本扫描目录,但不对文件执行任何操作:
1.使用 --dryrun 标志,对安装目录运行 remove_jndilookup.py 脚本,指示脚本扫描目录,但不对文件执行任何操作。
sudo ./remove_jndilookup.py --dryrun /opt/tableau/tableau_server/packages > verification.txt
注意:在 remove_jndilookup.py 脚本完成后,需要对数据目录重新运行脚本,从而验证数据目录。默认是 /var/opt/tableau/tableau_server。
2.首先,将脚本复制到非特权用户的主目录,默认名称是 tableau
sudo cp ./remove_jndilookup.py /var/opt/tableau/tableau_server
3.将脚本的所有权更改为 tableau 用户和组
sudo chown tableau:tableau /var/opt/tableau/tableau_server/remove_jndilookup.py
5.以非特权用户身份启动会话
sudo su -l tableau
6.使用 --dryrun 标志,对数据目录运行remove_jndilookup.py 脚本,指示脚本扫描目录,但不对文件执行任何操作。
./remove_jndilookup.py –dryrun /var/opt/tableau/tableau_server > datadirverification.txt
如果 verification.txt 和 datadirverification.txt 中的试运行输出的“Findings:”部分不包含任何条目,也不会找到更多包含 JndiLookup.class 的 jar
7. 退出 Tableau Shell
退出
001534225
1850 KB
1846 KB

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.