-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2017.1743
           2017-07 Security Bulletin: OpenSSL Security Advisory
                               13 July 2017

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Juniper Junos OS
                   Juniper CTPOS
                   Juniper CTPView
Publisher:         Juniper Networks
Operating System:  Juniper
Impact/Access:     Access Privileged Data -- Remote/Unauthenticated
                   Denial of Service      -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-3732 CVE-2017-3731 CVE-2016-7055

Reference:         ESB-2017.1663

Original Bulletin: 
   https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10775

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

2017-07 Security Bulletin: OpenSSL Security Advisory [26 Jan 2017]

PRODUCT AFFECTED:

This issue affects Junos OS 14.1, 14.1X53, 14.2, 15.1, 15.1X49, 15.1X53, 
15.1X56, 16.1, 16.2, 17.1. This issue affects CTPOS 7.0, 7.1, 7.2, 7.3. This 
issue affects CTPView 7.1, 7.2, 7.3.

PROBLEM:

The OpenSSL project has published a security advisory for vulnerabilities 
resolved in the OpenSSL library on January 26, 2017. The following is a 
summary of these vulnerabilities and their status with respect to Juniper 
products:

CVE CVSSv3 Base Score Summary

CVE-2017-3731 5.3 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)

If an SSL/TLS server or client is running on a 32-bit host, and a specific 
cipher is being used, then a truncated packet can cause that server or client
to perform an out-of-bounds read, usually resulting in a crash.

CVE-2017-3732 3.7 (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N)

There is a carry propagating bug in the x86_64 Montgomery squaring procedure.
No EC algorithms are affected. Analysis suggests that attacks against RSA and
DSA as a result of this defect would be very difficult to perform and are not
believed likely.

CVE-2016-7055 3.7 (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L)

There is a carry propagating bug in the Broadwell-specific Montgomery 
multiplication procedure that handles input lengths divisible by, but longer 
than 256 bits. Analysis suggests that attacks against RSA, DSA and DH private
keys are impossible. This is because the subroutine in question is not used in
operations with the private key itself and an input of the attacker's direct 
choice. Otherwise the bug can manifest itself as transient authentication and
key negotiation failures or reproducible erroneous outcome of public-key 
operations with specially crafted input. Among EC algorithms only Brainpool 
P-512 curves are affected and one presumably can attack ECDH key negotiation.

Affected Products

Junos OS, CTPView, and CTPOS are potentially affected by one or more of these
issues.

Juniper Secure Analytics (JSA, STRM) and ScreenOS are confirmed to not be 
vulnerable to any of these issues.

This advisory will be updated as additional products are analyzed and fixes 
become available.

SOLUTION:

Junos OS:

The following software releases have been updated to OpenSSL 1.0.2k to resolve
these specific issues: 14.1R8-S3, 14.1R9, 14.1X53-D43, 14.1X53-D50, 14.2R4-S7,
14.2R7-S6, 14.2R8, 15.1F5-S7, 15.1F6-S6, 15.1R5-S2, 15.1R6, 15.1X49-D100, 
15.1X53-D230, 15.1X53-D47, 15.1X53-D57, 15.1X53-D63, 15.1X53-D70, 15.1X56-D62,
16.1R3-S3, 16.1R4-S1, 16.1R5, 16.2R1-S3, 16.2R2, 17.1R2, 17.2R1, and all 
subsequent releases.

CTPOS:

The following software releases have been updated to OpenSSL 1.0.2k to resolve
these specific issues: 7.0R7, 7.1R3, 7.2R2, 7.3R2, 7.4R1, and all subsequent 
releases.

CTPView:

The following software releases have been updated to OpenSSL 1.0.2k to resolve
these specific issues: 7.1R4, 7.2R2, 7.3R3, 7.4R1, and all subsequent 
releases.

These issues are being tracked as PRs 1249517 (Junos OS), 1249823 (CTP), and 
1249814 (CTPView), and are 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.

WORKAROUND:

Standard security best current practices (control plane firewall filters, edge
filtering, access lists, etc.) may protect against any remote malicious 
attacks.

Junos OS:

Since SSL is used for remote network configuration and management applications
such as J-Web and SSL Service for JUNOScript (XNM-SSL), viable workarounds for
this issue in Junos may include:

Disabling J-Web

Disable SSL service for JUNOScript and only use Netconf, which makes use of 
SSH, to make configuration changes

Limit access to J-Web and XNM-SSL from only trusted networks

General Mitigation (CTP, CTPView)

It is good security practice to limit the exploitable attack surface of 
critical infrastructure networking equipment. Use access lists or firewall 
filters to limit access to the HTTPS or SSL/TLS services only from trusted, 
administrative networks or hosts.

IMPLEMENTATION:

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:

2017-07-12: 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 
Advisories

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

OpenSSL Security Advisory [26 Jan 2017]

CVSS SCORE:

5.3 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)

RISK LEVEL:

Medium

RISK ASSESSMENT:

Information for how Juniper Networks uses CVSS can be found at KB 16446 
"Common Vulnerability Scoring System (CVSS) and Juniper's Security 
Advisories."

- --------------------------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 auscert@auscert.org.au
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:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
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.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBWWb/34x+lLeg9Ub1AQhl7Q/8DL2vw9mQxSsk3/Sv/zqKRdxozWSTQex5
32EYwW3ZRcILVUUZr403xav0f//HIqtDyzZqC3Ja/wEi74E5SkPPf5sYKfzQjjl2
qtP4d1/1bXAy+zUj3uXIUp9KTpeYH/xa7UcXvloJR3cFb43TcYW4NLlcG6nPruEe
bHmmoA6EGCmm91xPeFO0fRCpA/p7HR8K43IVaMfPgvn9oYe1nKKP96s6iBfdMhbe
88jDOyKwfN0iZA32uzxmYVEEo9eWf5VlsS7OPQGisU4mIJaBS/bU5NPm9n3U5eu8
CH86Z/5UFx49rAuDrujSKDDwLsCiXzO5CmsjQSFs6YgUBtp2tUwRoBrZF+2EjFv7
KZa8CMrDNzZsM7N5n1qK3PH9fDprIWqNxCmmNJfmKZZ7ZvPTnqOTZvMjROJyfIwL
IqfPreZVgg3GdIPu0ErBWxnBcEYL+wnocqt3nOnuZGQcNw6hp7n/zqTdYC7TgjFW
+n2HuOQbzoB8UUjhM9IHSyhWIT8Q0ubvgw61aiUJPUvv4Iy3rSncw0KD6fq0nex0
IRB7ypihHtNqIdPCrZ4xgna1kyefCXlPIXGv8NhLr50sICoxgP+e8JqJKZtqAsbK
kzA9pmejbfYsUTVR09Yr1nOhitNKG9lzRN3LIXusHvFrALQMYZwQseMYEHWltig7
KNJYsVU8HI4=
=KHuF
-----END PGP SIGNATURE-----