ESB-2017.1742 - [Juniper] Juniper SRX Series: Multiple vulnerabilities 2017-07-13

Printable version
PGP/GPG verifiable version

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

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

                               ESB-2017.1742
Multiple vulnerabilities have been identified in Juniper SRX Series devices
                               13 July 2017

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

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

Product:           Juniper SRX Series
Publisher:         Juniper Networks
Operating System:  Juniper
Impact/Access:     Root Compromise   -- Remote/Unauthenticated
                   Denial of Service -- Remote/Unauthenticated
Resolution:        Patch/Upgrade
CVE Names:         CVE-2017-2346 CVE-2017-2343 

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

Comment: This bulletin contains two (2) Juniper Networks security advisories.

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

2017-07 Security Bulletin: SRX Series: Hardcoded credentials in Integrated 
UserFW feature. (CVE-2017-2343)

PRODUCT AFFECTED:

This issue affects Junos OS 12.3X48, 15.1X49. Affected platforms: SRX series.

PROBLEM:

The Integrated User Firewall (UserFW) feature was introduced in Junos OS 
version 12.1X47-D10 on the Juniper SRX Series devices to provide simple 
integration of user profiles on top of the existing firewall polices.

As part of an internal security review of the UserFW services authentication 
API, hardcoded credentials were identified and removed which can impact both 
the SRX Series device, and potentially LDAP and Active Directory integrated 
points.

These credentials may be passed in clear text, or passed in an encrypted 
format. It may also be possible for a skilled attacker to illicitly decompile
the system software to gain access to these credentials and form additional 
attacks.

Credentials may be taken from the network via man-in-the-middle attacks, or 
other attack vectors, as above, or others not listed.

An attacker may be able to completely compromise both the SRX Series device 
without authentication, other SRX Series devices deployed in the same 
environment running vulnerable versions of Junos OS, as well as Active 
Directory servers and service, including but not limited to, user accounts, 
workstations, servers performing other functions such as email, database, etc.
which are also tied to the Active Directory deployment. Inter-Forest Active 
Directory deployments may also be at risk as the attacker may gain full 
administrative control over one or more Active Directories depending on the 
credentials supplied by the administrator of the AD domains and SRX devices 
performing integrated authentication of users, groups and devices.

To identify if your device is potentially vulnerable to exploitation, check to
see if the service is operating; from CLI review the following output:

root@SRX-Firewall# run show services user-identification 
active-directory-access domain-controller status extensive

A result of "Status: Connected" will indicate that the service is active on 
the device.

To evaluate if user authentication is occurring through the device:

root@SRX-Firewall# run show services user-identification 
active-directory-access active-directory-authentication-table all

Next review the results to see if valid users and groups are returned. e.g.

Domain: juniperlab.com

Total entries: 3

Source IP Username groups state

172.16.26.1 administrator Valid

192.168.26.2 engg01 engineers Valid

192.168.26.3 guest01 guests Valid

Domain: NULL

Total entries: 8

Source IP Username groups state

192.168.26.4 Invalid

192.168.26.5 Invalid

This will also indicate that Valid users and groups are authenticating through
the device.

Affected releases are Juniper Networks Junos OS 12.3X48 from 12.3X48-D30 and 
prior to 12.3X48-D35 on SRX series; 15.1X49 from 15.1X49-D40 and prior to 
15.1X49-D50 on SRX series.

Devices on any version of Junos OS 12.1X46, or 12.1X47 are unaffected by this
issue.

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

This issue has been assigned CVE-2017-2343.

SOLUTION:

The following software releases have been updated to resolve this specific 
issue: 12.3X48-D35, 15.1X49-D50, and all subsequent releases.

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

WORKAROUND:

There is no workaround to completely mitigate the risk of this issue.

Customers may reduce the risk of exploitation of this issue by disabling the 
UserFW service on devices running the service until such time that a fix can 
be taken.

IMPLEMENTATION:

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 Monthly 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

CVSS SCORE:

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

RISK LEVEL:

Critical

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."

- ----------

2017-07 Security Bulletin: MS-MPC or MS-MIC crash when passing large 
fragmented traffic through an ALG (CVE-2017-2346)

PRODUCT AFFECTED:

This issue affects Junos OS 14.1X55, 14.2R, 15.1R, and 16.1R running on MX 
Series.

PROBLEM:

An MS-MPC or MS-MIC Service PIC may crash when large fragmented packets are 
passed through an Application Layer Gateway (ALG). Repeated crashes of the 
Service PC can result in an extended denial of service condition. The issue 
can be seen only if NAT or stateful-firewall rules are configured with ALGs 
enabled.

This issue was caused by the code change for PR 1182910 in Junos OS 
14.1X55-D30, 14.1X55-D35, 14.2R7, 15.1R5, and 16.1R2. No other versions of 
Junos OS and no other Juniper Networks products or platforms are affected by 
this issue.

Affected releases are Juniper Networks Junos OS on MX platforms running:

14.1X55 from 14.1X55-D30 to releases prior to 14.1X55-D35;

14.2R from 14.2R7 to releases prior to 14.2R7-S4, 14.2R8;

15.1R from 15.1R5 to releases prior to 15.1R5-S2, 15.1R6;

16.1R from 16.1R2 to releases prior to 16.1R3-S2, 16.1R4.

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

This issue has been assigned CVE-2017-2346.

SOLUTION:

The following software releases have been updated to resolve this specific 
issue: 14.1X55-D35, 14.2R7-S4, 14.2R8, 15.1R5-S2, 15.1R6, 16.1R3-S2, 16.1R4, 
and all subsequent releases.

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

WORKAROUND:

No known workaround exists for this issue.

If NAT and stateful-firewall are not required, disabling them in the [edit 
applications] stanza will mitigate this issue.

IMPLEMENTATION:

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

CVE-2017-2346: MS-MPC or MS-MIC crash when passing large fragmented traffic 
through an ALG

CVSS SCORE:

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

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+zYx+lLeg9Ub1AQjs+xAAqYE+RqaqOFr/SbcZ9S8ouhE5Te3okfVo
mJa8yQ0IqcJhQpMHBb1ripYvAG9wH266pUClaJ45GksOg1Hv9JiRd07g1hlZjuvu
JMoMthmul2zeer6k9QG9WuRFyUH23ohytIG7DRXBDUylslbV142GmmKJ72PWgX9b
HVRf3Wc8fv577mQhf//V6Zsp0aglUY0llq5O+iGPAImwnFSUkHmuG8OzTz3ncOW3
gqd0KricaJO9s1ZyxkPw0ACilsDd83Loxd+4p/MZOkdXmTtTKBejLLgDJ1/1fpwh
xECdYPBbnX6qT/SDqf9c6xJ9ljrKyHAh6sxuGsPsU+ZwuokSLC8/DiZsQR3ZyYws
unHvc7tQlaHBizXJ0/8tQpgkKGp6kIk8ec+L275b7iQlM9Ul1ZApdduffETrJheC
ako/Hkr10VQkTvMqzm+NaVgLgy6wcs8Ulpdsf9XQCPQBKVupgGKaOKbyutOqIFLv
AKfxImh09kOC09CORNxeLSsRFr3t4JVVB6VchRLWPBqLUv8J2M8KB1mwtt5ug9ut
EzwuwU7cfYbGLMD1IkNO8f9LtoChd2Yk7kx1u4jism5Qbgc/9uuJXxaP4mukQQMh
tbIHyTiYNBuhnMcBjpy5pKqNO2Wgj8YE+CNp8hwDJyujFaFV1sfXjRv+akBIp4tx
Y8BcQJ0OtSw=
=1l5O
-----END PGP SIGNATURE-----

« Back to bulletins