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

目标: 1000 元 · 已筹: 1336

100%

CVE-2023-31702 PoC — MicroWorld eScan Management Console SQL注入漏洞

来源
关联漏洞
标题: MicroWorld eScan Management Console SQL注入漏洞 (CVE-2023-31702)
Description:MicroWorld eScan Management Console是日本MicroWorld公司的一个控制面板。帮助系统管理员远程管理网络中的所有 eScan 客户端计算机。 MicroWorld eScan Management Console 14.0.1400.2281版本存在安全漏洞,该漏洞源于存在SQL注入,允许远程攻击者转储整个数据库并在数据库服务器上执行代码。
介绍
## eScan Management Console 14.0.1400.2281 - SQL Injection (Authenticated) ###

**Description:**
SQL injection in the View User Profile in MicroWorld Technologies eScan Management Console 14.0.1400.2281 allows any remote attacker to dump entire database and gain windows XP command shell to perform code execution on database server via GetUserCurrentPwd?UsrId=1.

**Vulnerable Product Version:**
14.0.1400.2281

**Date:**
16/05/2023

**CVE:** 
CVE-2023-31702

**CVE Author:**
Sahil Ojha

**Vendor Homepage:**
https://www.escanav.com

**Software Link:** 
https://cl.escanav.com/ewconsole.dll

**Tested on:** 
Windows

**Steps to reproduce:**
1. Login into the escan management console with a valid username and password as root user.
2. Navigate to URL: https://cl.escanav.com/ewconsole/ewconsole.dll/GetUserCurrentPwd?UsrId=1&cnt=5493 
![HTML Render](https://github.com/sahiloj/Findings/blob/main/sql%201.png)

3. Inject the payload into the UsrId parameter to confirm the SQL injection as shown below: 
https://cl.escanav.com/ewconsole/ewconsole.dll/GetUserCurrentPwd?UsrId=1;WAITFOR DELAY '0:0:5'--&cnt=4176
![HTML Render](https://github.com/sahiloj/Findings/blob/main/sql%204.png)
4. The time delay of 5 seconds confirmed that "UsrId" parameter was vulnerable to SQL Injection. Furthermore, it was also possible to dump all the databases and inject OS shell directly into the MS SQL Server using SQLMap tool.
![HTML Render](https://github.com/sahiloj/Findings/blob/main/sql%205%20to%20get%20os%20shell.png)
![HTML Render](https://github.com/sahiloj/Findings/blob/main/sql%206%20executing%20%20OS%20command%20on%20sql%20server.png)



文件快照

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

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