BugTraq
- Cisco IOS HTTP Server code injection/execution vulnerability- Nov 28 2005 04:39PM
picardos terra es (2 replies)
It has been identified a vulnerability in the Cisco IOS Web Server. An attacker can inject
arbitrary code in some of the dynamically generated web pages. To succesfully exploit the vulnerability the attacker only needs to know the IP of the Cisco. THERE'S NO NEED TO HAVE ACCESS TO THE WEB SERVER! Once the code has been inyected, attacker must wait until the admin browses some of the affected web pages.

There is a URL in the IOS Web Server:

/level/15/exec/-/show/buffers

where administrators can view the content of memory buffers. There are many options, but we are
interested in:
"all" --> all buffers
and,
"assigned" --> Buffers in use

Following those links will show you those options:

"dump" --> Show buffer header and all data
"header" --> Show buffer headder only
"packet" --> Show buffer header and packet data

The "dump" and "packet" options are clearly affected by the code inyection.

An attacker can buid a packet with HTML code in the payload field. When admin access some of the dump options in the show buffers page of the Cisco, the code is executed in his browser.

Full advisory and P.o.C. exploit that changes the "enable" password at:

http://www.infohacking.com

[ reply ]
Re: - Cisco IOS HTTP Server code injection/execution vulnerability- Dec 02 2005 04:36PM
Mike Caudill (mcaudill cisco com)
Re: - Cisco IOS HTTP Server code injection/execution vulnerability- Nov 28 2005 09:55PM
Florian Weimer (fw deneb enyo de)


 

Privacy Statement
Copyright 2010, SecurityFocus