D-Link router DSL-2750B firmware 1.01 to 1.03 – remote command execution no auth required

Details of BNVL-2018-0034

What does the BNVL label mean?

BitNinja Server Security’s BNVL identifiers are intended for use to identify publicly known information security vulnerabilities in publicly released software packages. This project was designed to collect and analyze attack information from the BitNinja network after cluster analysis by the AI-powered Attack Vector Miner. More than 100 vulnerability types have been discovered with this project so far, so we decided to publish this platform to help to keep Linux server owners up-to-date.

Important! All listed BNVL vulnerabilities are protected by BitNinja PRO, so please check your configurations if your infrastructure is affected by any of them.

Syntax for BNVL labels:

BNVL prefix + Year + Arbitrary Digits


Name :
D-Link router DSL-2750B firmware 1.01 to 1.03 – remote command execution no auth required
Related Links: http://seclists.org/fulldisclosure/2016/Feb/53
                         https://www.geekzone.co.nz/forums.asp?forumid=46&topicid=237757
                         https://www.exploit-db.com/exploits/44760/ 

CVE ID: Na

Description: 

Arguments of “cli” parameter are passed directly to a binary that will
execute that particular given command; the complete list of commands
available are inside “/etc/ayecli/ayecli.cli” file. (among them there’s
a creepy “system halt” that will shutdown the router no matter what).

Arguments are passed in a way that

ayecli -c ‘command-here’ so

the way to escape is to close, add a command and close again to
neutralize “$” substitution with ‘ :

ayecli -c ‘command’;injection”

Pattern: /login.cgi?cli=