Juniper JunOS JWeb (Juniper Web Management) XSS

Vulnerability found:
25 June 2009


Vendor informed:
31 July 2009


Severity level:
Medium


Credits:
Amir Azam of ProCheckUp Ltd (www.procheckup.com)


Description:
There is a Cross-site Scripting vulnerability on Junipers, JUNOS web interface. JwWeb provides a webinterface which allows JUNOS to be controlled by a webinterface.
Procheckup has found by making a malformed request to the JWeb interface, that vanilla cross site scripting (XSS) attacks are possible.

Consequences

An attacker may be able to cause execution of malicious scripting code in the browser of a user who clicks on a link or visits a malicious webpage. The malicious code would run in the security context of the vulnerable website.

This type of attack can result in non-persistent defacement of the target site, or the redirection of confidential information (i.e.: passwords or session IDs) to unauthorised third parties.

Successfully tested on

Juniper Networks Juniper Web Management Version: 8.5R1.14
Juniper Networks Juniper Web Management Version: 9.0R1.1


Proof of concept:
http://target-domain.foo/"<script>alert(1)</script>

Note: the previous examples were tested on IE7 and FF2.


References:
ProCheckUp Vulnerabilities
http://www.procheckup.com/vulnerability_manager


Legal:
Copyright 2009 Procheckup Ltd. All rights reserved.

Permission is granted for copying and circulating this Bulletin to the Internet community for the purpose of alerting them to problems, if and only if, the Bulletin is not edited or changed in any way, is attributed to Procheckup, and provided such reproduction and/or distribution is performed for non-commercial purposes.

Any other use of this information is prohibited. Procheckup is not liable for any misuse of this information by any third party.