目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2022-23046 PoC — phpIPAM SQL注入漏洞

来源
关联漏洞
标题: phpIPAM SQL注入漏洞 (CVE-2022-23046)
Description:phpIPAM是一套开源的基于PHP和MySQL的IP地址管理应用程序(IPAM)。 PhpIPAM v1.4.4版本存在SQL注入漏洞,该漏洞源于经过身份验证的管理员用户在通过app/admin/routing/edit bgp mapping search搜索子网时,可在subnet参数中插入SQL语句。
Description
CVE-2022-23046 phpIPAM 1.4.4
介绍
# CVE-2022-23046 phpIPAM 1.4.4 - SQL Injection

phpIPAM v1.4.4 allows an authenticated admin user to inject SQL sentences in the subnet parameter while searching a subnet via app/admin/routing/edit-bgp-mapping-search.php. This project currently prints out database information and host version information. It can also attempt to read files and write to the server as well.

## Getting Started

### Executing program

* To check if it is vulnerable.
```
python3 phpipam_1.4.4.py -t http://phpipam.com/ -u username -p password
```
* For test for file read
```
python3 phpipam_1.4.4.py -t http://phpipam.com/ -u username -p password -f /etc/passwd
```
* For test for file write
```
python3 phpipam_1.4.4.py -t http://phpipam.com/ -u username -p password -w /var/www/html/cmd.php
```

## Help

For Help Menu
```
python3 phpipam_1.4.4.py -h
```

## Acknowledgments

* [FluidAttacks](https://fluidattacks.com/advisories/mercury/)

## Disclaimer
All the code provided on this repository is for educational/research purposes only. Any actions and/or activities related to the material contained within this repository is solely your responsibility. The misuse of the code in this repository can result in criminal charges brought against the persons in question. Author will not be held responsible in the event any criminal charges be brought against any individuals misusing the code in this repository to break the law.
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →