Description
A command injection vulnerability exists in LILIN Digital Video Recorder (DVR) devices prior to firmware version 2.0b60_20200207 via the Server field in the NTPUpdate configuration. The web service at /z/zbin/dvr_box fails to properly sanitize input, allowing remote attackers to inject and execute arbitrary commands as root by supplying specially crafted XML data to the DVRPOST interface.
Problem types
CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CWE-20 Improper Input Validation
Product status
Any version before 2.0b60_20200207
Credits
360 Netlab
References
blog.netlab.360.com/...-are-spreading-using-lilin-dvr-0-day/
www.meritlilin.com/assets/uploads/support/file/M00158-TW.pdf
www.vulncheck.com/...ries/lilin-dvr-multiple-vulnerabilities
ducklingstudio.blog.fc2.com/blog-entry-400.html