Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacyΒ© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Explotacion-CVE-2023-32315-Openfire β€” Python exploit for CVE-2023-32315 targeting Openfire servers. Bypasses admin panel authentication via Unicode path traversal to create an administrative user, enabling malicious plugin upload and web shell access. | Kitploit
Tools/GitHubGitHub/pulentoski/explotacion-cve-2023-32315-openfire
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingAuthentication
GitHubpulentoski/explotacion-cve-2023-32315-openfire

Explotacion-CVE-2023-32315-Openfire

Python exploit for CVE-2023-32315 targeting Openfire servers. Bypasses admin panel authentication via Unicode path traversal to create an administrative user, enabling malicious plugin upload and web shell access.

View Repository
1404 months agoNot yet reviewed
Share

πŸ” CVE-2023-32315 Description:

The CVE-2023-32315 vulnerability affects Openfire servers, allowing an attacker to bypass the web admin panel login without valid credentials. The exploit adds an administrative user, allowing the attacker to upload a malicious plugin and obtain a web shell.

βš™οΈ How it works

CVE-2023-32315 is a vulnerability in Openfire that allows access to the JSPs of the initial setup wizard (/setup/setup-s/...) even after it has been completed, exploiting poor path validation via path traversal with Unicode/"best-fit" encoding (%u002e%u002e, equivalent to ../), instead of literal characters. This allows reaching user-groups.jsp and user-create.jsp without authentication, as if the server were freshly installed, and create a new admin user. The script validates the result in two ways: checking if the user appears in user-summary.jsp, and verifying that the created credentials work on login.jsp. Once inside the panel, the next step (outside the scope of this script) would be to upload a malicious plugin to execute arbitrary commands.

πŸ“¦ Environment Setup

git clone https://github.com/pulentoski/Explotacion-CVE-2023-32315-Openfire.git

cd Explotacion-CVE-2023-32315-Openfire

It requires no external dependencies β€” it only uses standard Python 3 libraries (http.client, re, time, urllib.parse).

πŸš€ Exploit Execution

The script is interactive, with no command-line flags:

python3 exploit.py

It will ask you to choose a mode:

[1] Single target       β†’ you enter the URL directly (e.g., http://127.0.0.1:9090)
[2] List of targets   β†’ you enter the path to a .txt with one URL per line

The username/password it creates (pepe2/pepe2) is hardcoded at the beginning of the script β€” change it there if needed.

πŸ“„ Results: confirmed targets are saved in exito.txt; if a target fails verification, the response HTML is saved in debug_<user>.html for manual review.

🎯 FOFA Search

("openfire") && icon_hash=="1211608009"

⚠️ Responsible use

This script is intended for controlled environments and authorized audits. The author is not responsible for misuse.

Download Tool

Most Popular

View all β†’

Discover the most used tools by our community.

No popularity data yet.

Explore all tools

Browse our collection of tools

View all tools β†’