Support Support Downloads Knowledge Base Juniper Support Portal Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

2017-07 Security Bulletin: Junos OS: J-Web: Multiple Vulnerabilities in PHP software



Article ID: JSA10804 SECURITY_ADVISORIES Last Updated: 12 Jul 2017Version: 2.0
Product Affected:
This issue affects Junos OS 12.1X46, 12.1X47, 12.3, 12.3X48, 14.2, 15.1, 15.1X49.

PHP software included with Junos OS J-Web is updated to resolve the following issues:

CVE CVSS v2 base score Summary
CVE-2013-6420 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P) The asn1_time_to_time_t function in ext/openssl/openssl.c in PHP does not properly parse (1) notBefore and (2) notAfter timestamps in X.509 certificates, which allows remote attackers to execute arbitrary code or cause a denial of service (memory corruption) via a crafted certificate that is not properly handled by the openssl_x509_parse function.
CVE-2014-9425 7.5 (AV:N/AC:L/Au:N/C:P/I:P/A:P) Double free vulnerability in the zend_ts_hash_graceful_destroy function in zend_ts_hash.c in the Zend Engine in PHP allows remote attackers to cause a denial of service or possibly have unspecified other impact via unknown vectors.
CVE-2013-4113 6.8 (AV:N/AC:M/Au:N/C:P/I:P/A:P) ext/xml/xml.c in PHP does not properly consider parsing depth, which allows remote attackers to cause a denial of service (heap memory corruption) or possibly have unspecified other impact via a crafted document that is processed by the xml_parse_into_struct function.
CVE-2012-3365 5 (AV:N/AC:L/Au:N/C:N/I:P/A:N) The SQLite functionality in PHP allows remote attackers to bypass the open_basedir protection mechanism via unspecified vectors.

Affected releases are Juniper Networks Junos OS 12.1X46 prior to 12.1X46-D65, 12.1X47 prior to 12.1X47-D40, 12.1X47-D45; 12.3 prior to 12.3R12-S5; 12.3X48 prior to 12.3X48-D35; 14.2 prior to 14.2R8; 15.1 prior to 15.1R4; 15.1X49 prior to 15.1X49-D50.

These issues affect devices with J-Web enabled.

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


The following software releases have been updated to resolve this specific issue: 12.1X46-D65, 12.1X47-D40, 12.1X47-D45, 12.3R12-S5, 12.3X48-D35, 14.2R8, 15.1R4, 15.1X49-D50, 16.1R1, 16.1R1, 16.1R2, and all subsequent releases.

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


Methods which may reduce, but not eliminate, the risk for exploitation of this problem, and which does not mitigate or resolve the underlying problem include:

• Using access lists or firewall filters to limit access to the device only from trusted hosts.

• Disabling J-Web

• Limit access to J-Web from only trusted networks

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.
CVSS Score:
7.3 (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Severity Level:
Severity Assessment:
Information for how Juniper Networks uses CVSS can be found at KB 16446 "Common Vulnerability Scoring System (CVSS) and Juniper's Security Advisories."

Related Links

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search