PhpIPAM v1.4.4 允许已验证的管理员用户在通过 app/admin/routing/edit-bgp-mapping-search.php 搜索子网时,向 "subnet" 参数注入 SQL 语句。
git clone https://github.com/dnr6419/CVE-2022-23046.git
cd CVE-2022-23046 && docker-compose up -d
pip3(or pip) install -r requirements.txt
python3(or python) CVE-2022-23046.py -h
2-2. 选择 [Automatic database installation]。
2-3. MySQL 用户名和密码为 "root"/"my_secret_mysql_root_pass"。
2-4. 设置密码并登录以确认安装完成。

python3 CVE-2022-23046.py --url http://localhost --user admin
# 并输入你的密码
https://github.com/jcarabantes/CVE-2022-23046.git
https://hub.docker.com/r/phpipam/phpipam-www