Juniper Junos up to 13.3 rpd Service BGP UPDATE race condition

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.7$0-$5k0.00

Summaryinfo

A vulnerability classified as problematic was found in Juniper Junos up to 13.3. The impacted element is an unknown function of the component rpd Service. Executing a manipulation as part of BGP UPDATE can lead to race condition. This vulnerability appears as CVE-2014-0616. The attack may be performed from remote. In addition, an exploit is available. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in Juniper Junos up to 13.3 (Router Operating System). It has been declared as critical. This vulnerability affects an unknown function of the component rpd Service. The manipulation as part of a BGP UPDATE leads to a race condition vulnerability. The CWE definition for the vulnerability is CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. As an impact it is known to affect availability. CVE summarizes:

Juniper Junos 10.4 before 10.4R16, 11.4 before 11.4R10, 12.1R before 12.1R8-S2, 12.1X44 before 12.1X44-D30, 12.1X45 before 12.1X45-D20, 12.1X46 before 12.1X46-D10, 12.2 before 12.2R7, 12.3 before 12.3R4-S2, 13.1 before 13.1R3-S1, 13.2 before 13.2R2, and 13.3 before 13.3R1 allows remote attackers to cause a denial of service (rdp crash) via a large BGP UPDATE message which immediately triggers a withdraw message to be sent, as demonstrated by a long AS_PATH and a large number of BGP Communities.

The weakness was presented 01/08/2014 as JSA10609 as confirmed advisory (Website). The advisory is shared for download at kb.juniper.net. This vulnerability was named CVE-2014-0616 since 12/31/2013. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details are unknown but a private exploit is available.

It is declared as proof-of-concept. The vulnerability scanner Nessus provides a plugin with the ID 71998 (Juniper Junos Oversized BGP UPDATE Remote DoS (JSA10609)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Junos Local Security Checks.

Upgrading to version 10.4R16, 11.4R10, 12.1R8-S3, 12.1X44-D30, 12.1X45-D20, 12.1X46-D10, 12.2R7, 12.3R4-S2, 12.3R5, 13.1R3-S1, 13.2R2 or 13.3R1 eliminates this vulnerability. A possible mitigation has been published immediately after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

policy-statement LIMIT-AS_PATH {
  term 10 {
    from {
      protocol bgp;
      as-path MAX-AS_PATH;
    }
    then reject;
  }
}

as-path MAX-AS_PATH ".{41,}"

policy-statement LIMIT-COMMUNITIES {
  term 20 {
    from {
      protocol bgp;
      community-count 50 orhigher;
    }
    then reject;
  }
}
The advisory contains the following remark:
One way to limit AS_PATH length is to create an import policy with an associated as-path filter that will drop updates with AS_PATH longer than a specified number of ASes (eg. 40). The AS_PATH filter can be any length. In the following example, AS_PATHs with more than 40 ASes, which would take 80 bytes with 2-byte AS and 160 bytes with 4-byte AS, are rejected. (…) Note that the 'community-count' match statement is available in Junos OS 10.4 and later releases.

The vulnerability is also documented in the databases at X-Force (90240), Tenable (71998), SecurityFocus (BID 64766†), OSVDB (101868†) and Vulnerability Center (SBV-43008†). See VDB-11787, VDB-11786, VDB-11785 and VDB-11784 for similar entries. Once again VulDB remains the best source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.5
VulDB Meta Temp Score: 6.7

VulDB Base Score: 7.5
VulDB Temp Score: 6.7
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Race condition
CWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Private
Status: Proof-of-Concept

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 71998
Nessus Name: Juniper Junos Oversized BGP UPDATE Remote DoS (JSA10609)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: Junos 10.4R16/11.4R10/12.1R8-S3/12.1X44-D30/12.1X45-D20/12.1X46-D10/12.2R7/12.3R4-S2/12.3R5/13.1R3-S1/13.2R2/13.3R1

Timelineinfo

12/31/2013 🔍
01/08/2014 +8 days 🔍
01/08/2014 +0 days 🔍
01/10/2014 +2 days 🔍
01/10/2014 +0 days 🔍
01/10/2014 +0 days 🔍
01/15/2014 +5 days 🔍
01/16/2014 +1 days 🔍
01/19/2014 +3 days 🔍
06/04/2021 +2693 days 🔍

Sourcesinfo

Vendor: juniper.net

Advisory: JSA10609
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2014-0616 (🔍)
GCVE (CVE): GCVE-0-2014-0616
GCVE (VulDB): GCVE-100-11788

IAVM: 🔍

X-Force: 90240
SecurityFocus: 64766 - Juniper Junos CVE-2014-0616 Denial of Service Vulnerability
OSVDB: 101868
SecurityTracker: 1029582
Vulnerability Center: 43008 - Juniper JunOS Remote DoS Vulnerability via Oversized BGP UPDATE, High

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 01/10/2014 11:29
Updated: 06/04/2021 20:50
Changes: 01/10/2014 11:29 (79), 04/29/2019 07:03 (3), 06/04/2021 20:42 (3), 06/04/2021 20:50 (1)
Complete: 🔍
Cache ID: 216:7C3:103

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!