2016-07 Security Bulletin: SRX Series: Upgrades using ‘partition’ option may allow unauthenticated root login (CVE-2016-1278)Product Affected:This issue can affect SRX Branch Series devices upgraded using the ‘partition’ option.
Problem:Using the ‘request system software‘ command with the ‘partition‘ option on an SRX Branch Series device upgrading to Junos versions 12.1X46-D35, 12.1X46-D40, 12.1X46-D45 can leave the system in a state where root CLI login is allowed without a password due to the system reverting to a “safe mode” authentication. Additionally, valid authentication credentials fail to work for non-root logins due to the same issue. Only root with no password will work.This issue can affect SRX Series devices upgraded to the above listed versions. No other platform or version of Junos OS is affected by this vulnerability, and no other Juniper Networks products or platforms are affected by this issue.Note: Upgrading from an affected release to a non-affected release will not encounter this issue.Juniper SIRT is not aware of any malicious exploitation of this vulnerability.This issue has been assigned CVE-2016-1278.
Solution:The following software releases have been updated to resolve this specific upgrade issue: Junos OS 12.1X46-D50 and all subsequent releases. Upgrading to these releases will no longer exhibit the vulnerability.This issue is being tracked as PRs 1118748 and 1153914 which 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:Avoid using the ‘partition‘ option when upgrading an SRX Series device to Junos OS 12.1X46-D35, 12.1X46-D40, or 12.1X46-D45.Note that the symptoms are immediately obvious after an affected upgrade and may be remediated by rebooting the device post-upgrade.
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:
2016-07-13: Initial publication2016-08-17: Clarified that upgrading from an affected release to a non-affected release will not encounter this issue.2017-01-09: Updated fixed release from 12.1X46-D50 to 12.1X46-D65 which contains a more complete solution.2017-01-17: Previous update conflated two similar, but distinct issues. Reverted back to previous version of JSA.
Related Links:CVSS Score:7.8 (CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
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.”