nuclei-templates/http/vulnerabilities/weaver/weaver-mysql-config-info-le...

28 lines
921 B
YAML

id: weaver-mysql-config-exposure
info:
name: OA E-Office mysql_config.ini - Information Disclosure
author: SleepingBag945
severity: high
description: |
E-Office mysql_config.ini file can be directly accessed, leaking database account password and other information
reference:
- https://github.com/Threekiii/Awesome-POC/blob/master/OA%E4%BA%A7%E5%93%81%E6%BC%8F%E6%B4%9E/%E6%B3%9B%E5%BE%AEOA%20E-Office%20mysql_config.ini%20%E6%95%B0%E6%8D%AE%E5%BA%93%E4%BF%A1%E6%81%AF%E6%B3%84%E6%BC%8F%E6%BC%8F%E6%B4%9E.md
metadata:
max-request: 1
fofa-query: app="泛微-EOffice"
verified: true
tags: ecology,weaver,oa,lfi
http:
- method: GET
path:
- "{{BaseURL}}/mysql_config.ini"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(header,"text/plain")'
- 'contains_all(body,"datapassword", "datauser")'
condition: and