copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
Search this site

On this site

 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login


ESB-2015.2603 - [Juniper] Juniper QFabric 3100 Director: Cross-site scripting - Remote with user interaction

Date: 15 October 2015

Click here for printable version
Click here for PGP verifiable version
Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

  2015-10 Security Bulletin: QFabric 3100 Director: CUPS printing system
 Improper Update of Reference Count leads to remote chained vulnerability
 attack via XSS against authenticated users (CVE-2015-1158, CVE-2015-1159)
                              15 October 2015


        AusCERT Security Bulletin Summary

Product:           Juniper QFabric 3100 Director
Publisher:         Juniper Networks
Operating System:  Juniper
Impact/Access:     Cross-site Scripting -- Remote with User Interaction
Resolution:        Patch/Upgrade
CVE Names:         CVE-2015-1159 CVE-2015-1158 

Original Bulletin:

- --------------------------BEGIN INCLUDED TEXT--------------------

2015-10 Security Bulletin: QFabric 3100 Director: CUPS printing system 
Improper Update of Reference Count leads to remote chained vulnerability 
attack via XSS against authenticated users (CVE-2015-1158, CVE-2015-1159)



    Switch Products

    QFX Series


    SIRT Advisory

Security Advisories ID: JSA10702

Last Updated: 14 Oct 2015

Version: 2.0

Product Affected:

QFabric 3100 Director version 12.x and earlier.


A remote attacker can carry out a chained XSS attack against the QFabric 3100
Director version(s) 12.x and lower through an authenticated user's web browser
and subsequently gain complete control of the QFabric 3100 Director host-OS.

This issue is assigned CVE-2015-1158 and CVE-2015-1159.


The following software releases have been updated to resolve this specific 
issue: This issue is resolved in Junos OS higher than 12.x on the QFabric 3100
Director. 12.x and prior versions should manually remove the CUPS system by 
following the workaround section.

Juniper SIRT is not aware of any malicious exploitation of this vulnerability.

This issue is being tracked as PR 1086957 and is visible on the Customer 
Support website.

KB16765 - "In which releases are vulnerabilities fixed?" describes which 
release vulnerabilities are fixed as per our End of Engineering and End of 
Life support policies.


In order to stop CUPS, execute the following from the linux shell of the 
QFabric 3100 Director in each QFabric 3100 Director node for each Director 
Group in a deployment.

1. service cups stop

2. chkconfig del cups

3. rm -rf /etc/init.d/cups

Additionally, administrative systems used to authenticate to the QFabric 3100
Director should be protected from casual web browsing to sites that could 
inject XSS/XEE/CSRF attacks against administrative systems.


How to obtain fixed software:

Security vulnerabilities in Junos are fixed in the next available Maintenance
Release of each supported Junos version. In some cases, a Maintenance Release
is not planned to be available in an appropriate time-frame. For these cases,
Service Releases are made available in order to be more timely. Security 
Advisory and Security Notices will indicate which Maintenance and Service 
Releases contain fixes for the issues described. Upon request to JTAC, 
customers will be provided download instructions for a Service Release. 
Although Juniper does not provide formal Release Note documentation for a 
Service Release, a list of "PRs fixed" can be provided on request.

Modification History:

2015-10-14: Initial publication

Related Links:

    KB16613: Overview of the Juniper Networks SIRT Quarterly Security Bulletin
    Publication Process

    KB16765: In which releases are vulnerabilities fixed?

    KB16446: Common Vulnerability Scoring System (CVSS) and Juniper's Security

    Report a Vulnerability - How to Contact the Juniper Networks Security 
    Incident Response Team

    CVE-2015-1158: The add_job function in scheduler/ipp.c in cupsd in CUPS 
    before 2.0.3 performs incorrect free operations for multiple-value 
    job-originating-host-name attributes, which allows remote attackers to trigger
    data corruption for reference-counted strings via a crafted (1) IPP_CREATE_JOB
    or (2) IPP_PRINT_JOB request, as demonstrated by replacing the configuration 
    file and consequently executing arbitrary code.

    CVE-2015-1159: Cross-site scripting (XSS) vulnerability in the cgi_puts 
    function in cgi-bin/template.c in the template engine in CUPS before 2.0.3 
    allows remote attackers to inject arbitrary web script or HTML via the QUERY 
    parameter to help/.

CVSS Score: 7.6 (CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H)

Risk Level: High

Risk Assessment: Information for how Juniper Networks uses CVSS can be found 
at KB16446 "Common Vulnerability Scoring System (CVSS) and Juniper's Security

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email:
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.