CVE-2022-26134
Mitigation
Download these files and transfer them to /tmp on the AWS Confluence Node
7.4.17 (LTS)
7.13.7 (LTS)
7.14.3
7.15.2
7.16.4
7.17.4
7.18.1
Logged in to AWS Confluence Node (as ec2-user)...
sudo su - root
systemctl stop confluence
mv /opt/atlassian/confluence/current/confluence/WEB-INF/lib/xwork-1.0.3.6.jar/tmp
mv /opt/atlassian/confluence/current/confluence/WEB-INF/lib/webwork-2.1.5-atlassian-3.jar /tmp
mv /tmp/xwork-1.0.3-atlassian-10.jar /opt/atlassian/confluence/current/confluence/WEB-INF/lib
mv /tmp/webwork-2.1.5-atlassian-4.jar /opt/atlassian/confluence/current/confluence/WEB-INF/lib
mkdir /opt/atlassian/confluence/current/confluence/WEB-INF/classes/com/atlassian/confluence/setup/webwork
mv /tmp/CachedConfigurationProvider.class /opt/atlassian/confluence/current/confluence/WEB-INF/classes/com/atlassian/confluence/setup/webwork
systemctl start confluence
Once you are happy that the Change is successful...
rm /tmp/xwork-1.0.3.6.jar
rm /tmp/webwork-2.1.5-atlassian-3.jar
If you need to backout after the vulnerable jar files are deleted you should terminate the AWS instance, which should restart without this mitigation in place.
Note that you will also need to perform any other manual configuration changes you may have deployed for other issues.