Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2019-9053 PoC — CMS Made Simple SQL注入漏洞

Source
Associated Vulnerability
Title:CMS Made Simple SQL注入漏洞 (CVE-2019-9053)
Description:CMS Made Simple(CMSMS)是CMSMS团队的一套开源的内容管理系统(CMS)。该系统支持基于角色的权限管理系统、基于向导的安装与更新机制、智能缓存机制等。 CMSMS 2.2.8版本中存在SQL注入漏洞,该漏洞源于基于数据库的应用缺少对外部输入SQL语句的验证。攻击者可利用该漏洞执行非法SQL命令。
Description
CVE-2019-9054 exploit added support for python3 + bug fixes
Readme
### *The user assumes all responsibility for any action taken using this tool. If these terms are not acceptable to you, please do not use this tool. Use it only in environments where you are permitted to perform pentesting activities*
# Bug fixes for the [CVE-2019-9053 exploit](https://www.exploit-db.com/exploits/46635)
Some bug fixes for the CVE-2019-9053 exploit, affecting CMS Made Simple < 2.2.10 that uses SQL Injection. I found this bug while doing the [Simple CTF at TryHackMe](https://tryhackme.com/r/room/easyctf)

* Link to the original exploit [here](https://www.exploit-db.com/exploits/46635)

<div align="center">

<img src="screenshot.png" />

</div>

## How to fix this bug

1) Clone the repository
```
git clone https://github.com/FedericoTorres233/CVE-2019-9053-Fixed
```

2) Create a file named cve.py and copy the contents of the [raw file](https://www.exploit-db.com/raw/46635) or [download it](https://www.exploit-db.com/exploits/46635)
```
touch cve.py
```

3) Apply the patch
```
patch cve.py < cve.diff
```

4) Execute the command using `python3`
File Snapshot

[4.0K] /data/pocs/344db167d70b7ddb24482bdfe9446b5a29fcdadd ├── [2.1K] cve.diff ├── [1.0K] README.md └── [152K] screenshot.png 0 directories, 3 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.