Vulnerability in Atlassian Confluence Server and Data Center allows attackers to remotely execute commands on the server

There are reports of massive attacks on Confluence Server using the CVE-2022-26134 vulnerability, which is used by hackers to install web shells (for example, Behinder).
According to bulletin Atlassian issue – non-authentication RCE vulnerability in Confluence Server and Data Center.
Confluence Server 7.18.0, Confluence Server and Data Center 7.4.0 and above can be considered vulnerable to attacks. Organizations using Atlassian Cloud are not affected. The maximum number of intrusions is now fixed for version 7.18.0.
The company recognized the level of vulnerability as critical. Information about it was received by the developers on May 31st.
During the attack, the attackers install their Java Server Pages web shell, which allows them to execute arbitrary code on the server, load the web shell, and then gain full access to the attacked resource.
At the moment, Atlassian has released updates 7.4.17, 7.13.7, 7.14.3, 7.15.2, 7.16.4, 7.17.4 and 7.18.1 which fix the problem.
If the update cannot be installed for one reason or another, the company offers a temporary workaround:
If the system is clustered, you need to execute the instructions on each server in the cluster!
For Confluence versions 7.15.0 – 7.18.0:
Stop Confluence
Download file: xwork-1.0.3-atlassian-10.jar
Delete or move a file to another directory
<confluence-install>/confluence/WEB-INF/lib/xwork-1.0.3-atlassian-8.jar
Copy the xwork-1.0.3-atlassian-10.jar file to the
/confluence/WEB-INF/lib/ directory Check permissions and owner on it
Launch Confluence
For versions Confluence 7.0.0 – Confluence 7.14.2:
Stop Confluence
Download the following three files: xwork-1.0.3-atlassian-10.jar, webwork-2.1.5-atlassian-4.jar, CachedConfigurationProvider.class
Delete or move files to another directory
<confluence-install>/confluence/WEB-INF/lib/xwork-1.0.3.6.jar и <confluence-install>/confluence/WEB-INF/lib/webwork-2.1.5-atlassian-3.jar
Copy the xwork-1.0.3-atlassian-10.jar file to the
/confluence/WEB-INF/lib/ directory Copy file webwork-2.1.5-atlassian-4.jar into
<confluence-install>/confluence/WEB-INF/lib/
Check the permissions and ownership of these new files and make sure they match the permissions of other files in this folder
Go to folder
<confluence-install>/confluence/WEB-INF/classes/com/atlassian/confluence/setup
Create a webwork folder in it
Copy the CachedConfigurationProvider.class file into it
Check permissions and owner on files
/confluence/WEB-INF/classes/com/atlassian/confluence/setup/webwork и /confluence/WEB-INF/classes/com/atlassian/confluence/setup/webwork/CachedConfigurationProvider.class
Launch Confluence