CVE-2015-6360 - Improper Restriction of Operations within the Bounds of a Memory Buffer

Severity

78%

Complexity

99%

Confidentiality

115%

The encryption-processing feature in Cisco libSRTP before 1.5.3 allows remote attackers to cause a denial of service via crafted fields in SRTP packets, aka Bug ID CSCux00686.

The encryption-processing feature in Cisco libSRTP before 1.5.3 allows remote attackers to cause a denial of service via crafted fields in SRTP packets, aka Bug ID CSCux00686.

CVSS 3.0 Base Score 7.5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

CVSS 2.0 Base Score 7.8. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (AV:N/AC:L/Au:N/C:N/I:N/A:C).

Demo Examples

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-119

This example takes an IP address from a user, verifies that it is well formed and then looks up the hostname and copies it into a buffer.


               
}
strcpy(hostname, hp->h_name);/*routine that ensures user_supplied_addr is in the right format for conversion */

This function allocates a buffer of 64 bytes to store the hostname, however there is no guarantee that the hostname will not be larger than 64 bytes. If an attacker specifies an address which resolves to a very large hostname, then we may overwrite sensitive data or even relinquish control flow to the attacker.

Note that this example also contains an unchecked return value (CWE-252) that can lead to a NULL pointer dereference (CWE-476).

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-119

This example applies an encoding procedure to an input string and stores it into a buffer.


               
}
return dst_buf;
die("user string too long, die evil hacker!");
else dst_buf[dst_index++] = user_supplied_string[i];
dst_buf[dst_index++] = ';';
/* encode to < */

The programmer attempts to encode the ampersand character in the user-controlled string, however the length of the string is validated before the encoding procedure is applied. Furthermore, the programmer assumes encoding expansion will only expand a given character by a factor of 4, while the encoding of the ampersand expands by 5. As a result, when the encoding procedure expands the string it is possible to overflow the destination buffer if the attacker provides a string of many ampersands.

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-119

The following example asks a user for an offset into an array to select an item.


               
}
printf("You selected %s\n", items[index-1]);

The programmer allows the user to specify which element in the list to select, however an attacker can provide an out-of-bounds offset, resulting in a buffer over-read (CWE-126).

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-119

In the following code, the method retrieves a value from an array at a specific array index location that is given as an input parameter to the method


               
}
return value;// check that the array index is less than the maximum// length of the array
value = array[index];// get the value at the specified index of the array
// if array index is invalid then output error message// and return value indicating error
value = -1;

However, this method only verifies that the given array index is less than the maximum length of the array but does not check for the minimum value (CWE-839). This will allow a negative value to be accepted as the input array index, which will result in a out of bounds read (CWE-125) and may allow access to sensitive memory. The input array index should be checked to verify that is within the maximum and minimum range required for the array (CWE-129). In this example the if statement should be modified to include a minimum range check, as shown below.


               
...// check that the array index is within the correct// range of values for the array

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-119

Windows provides the _mbs family of functions to perform various operations on multibyte strings. When these functions are passed a malformed multibyte string, such as a string containing a valid leading byte followed by a single null byte, they can read or write past the end of the string buffer causing a buffer overflow. The following functions all pose a risk of buffer overflow: _mbsinc _mbsdec _mbsncat _mbsncpy _mbsnextc _mbsnset _mbsrev _mbsset _mbsstr _mbstok _mbccpy _mbslen

Overview

Type

Cisco

First reported 8 years ago

2016-04-21 10:59:00

Last updated 7 years ago

2017-11-04 01:29:00

Affected Software

Cisco IOS XE 3.10S 3.10.0S

3.10s_3.10.0s

Cisco IOS XE 3.10S 3.10.1S

3.10s_3.10.1s

Cisco IOS XE 3.10S 3.10.1XBS

3.10s_3.10.1xbs

Cisco IOS XE 3.10S 3.10.2S

3.10s_3.10.2s

Cisco IOS XE 3.10S 3.10.2TS

3.10s_3.10.2ts

Cisco IOS XE 3.10S 3.10.4S

3.10s_3.10.4s

Cisco IOS XE 3.10S 3.10.5S

3.10s_3.10.5s

Cisco IOS XE 3.10S 3.10.6S

3.10s_3.10.6s

Cisco IOS XE 3.10S 3.10.7S

3.10s_3.10.7s

Cisco IOS XE 3.11S 3.11.0S

3.11s_3.11.0s

Cisco IOS XE 3.11S 3.11.1S

3.11s_3.11.1s

Cisco IOS XE 3.11S 3.11.2S

3.11s_3.11.2s

Cisco IOS XE 3.11S 3.11.3S

3.11s_3.11.3s

Cisco IOS XE 3.11S 3.11.4S

3.11s_3.11.4s

Cisco IOS XE 3.13S 3.13.0S

3.13s_3.13.0s

Cisco IOS XE 3.13S 3.13.1S

3.13s_3.13.1s

Cisco IOS XE 3.13S 3.13.4S

3.13s_3.13.4s

Cisco IOS XE 3.14S 3.14.0S

3.14s_3.14.0s

Cisco IOS XE 3.15S 3.15.1S

3.15s_3.15.1s

Cisco IOS XE 3.15S 3.15.2S

3.15s_3.15.2s

Cisco Webex Meeting Center BASE

base

Cisco Dx Series Ip Phones Firmware 9.3(2)

9.3\(2\)

Cisco IP Phone 7800 Series Firmware 10.3(1)

10.3\(1\)

Cisco IP Phone 8800 Series Firmware 10.3(2)

10.3\(2\)

Cisco IP Phone 8800 Series Firmware 11.0(1)

11.0\(1\)

Cisco Unified IP Phone 6900 Series Firmware 9.3(2)

9.3\(2\)

Cisco Unified IP Phone 7900 Series Firmware 9.9(9.99001.1)

9.9\(9.99001.1\)

Cisco Unified Ip Phone 7900 Series Firmware 9.9 BASE

9.9_base

Cisco Unified IP Phone 8900 Series Firmware 9.0(1)SR1

9.0\(1\)sr1

Cisco Unified IP Phone 8900 Series Firmware 9.0(3)

9.0\(3\)

Cisco Unified IP Phone 8900 Series Firmware 9.0(4)

9.0\(4\)

Cisco Unified IP Phone 8900 Series Firmware 9.1(1)SR1

9.1\(1\)sr1

Cisco Unified IP Phone 8900 Series Firmware 9.1(2)

9.1\(2\)

Cisco Unified IP Phone 8900 Series Firmware 9.2(1)

9.2\(1\)

Cisco Unified IP Phone 8900 Series Firmware 9.2(2)

9.2\(2\)

Cisco Unified IP Phone 8900 Series Firmware 9.2(2)SR1

9.2\(2\)sr1

Cisco Unified IP Phone 8900 Series Firmware 9.2(3)

9.2\(3\)

Cisco Unified IP Phone 8900 Series Firmware 9.2(4)

9.2\(4\)

Cisco Unified IP Phone 8900 Series Firmware 9.3(1)

9.3\(1\)

Cisco Unified IP Phone 8900 Series Firmware 9.3(2)

9.3\(2\)

Cisco Unified IP Phone 8900 Series Firmware 9.3(2)SR1

9.3\(2\)sr1

Cisco Unified IP Phone 8900 Series Firmware 9.3(4)

9.3\(4\)

Cisco Unified IP Phone 8900 Series Firmware 9.4(1)

9.4\(1\)

Cisco Unified IP Phone 8900 Series Firmware 9.4(1)SR1

9.4\(1\)sr1

Cisco Unified IP Phone 8900 Series Firmware 9.4(2)

9.4\(2\)

Cisco Unified Wireless IP Phone 7920 Firmware 1.0(5)

1.0\(5\)

Cisco Unified Wireless IP Phone 7920 Firmware 1.0(6)

1.0\(6\)

Cisco Unified Wireless IP Phone 7920 Firmware 1.0(7)

1.0\(7\)

Cisco Unified Wireless IP Phone 7920 Firmware 1.0(8)

1.0\(8\)

Cisco Unified Wireless IP Phone 7920 Firmware 1.0(9)

1.0\(9\)

Cisco Unified Wireless IP Phone 7920 Firmware 1.0 BASE

1.0_base

Cisco Unified Wireless IP Phone 7920 Firmware 2.0 BASE

2.0_base

Cisco Adaptive Security Appliance (ASA) Software 8.1.0.104

8.1.0.104

Cisco Adaptive Security Appliance (ASA) Software 8.2.1

8.2.1

Cisco Adaptive Security Appliance (ASA) Software 8.2.1.11

8.2.1.11

Cisco Adaptive Security Appliance (ASA) Software 8.2.2

8.2.2

Cisco Adaptive Security Appliance (ASA) Software 8.2.3

8.2.3

Cisco Adaptive Security Appliance (ASA) Software 8.2.5.52

8.2.5.52

Cisco Adaptive Security Appliance (ASA) Software 8.2.5.55

8.2.5.55

Cisco Adaptive Security Appliance (ASA) Software 8.2.5.57

8.2.5.57

Cisco Adaptive Security Appliance (ASA) Software 8.3.1

8.3.1

Cisco Adaptive Security Appliance (ASA) Software 8.3.2

8.3.2

Cisco Adaptive Security Appliance (ASA) Software 8.3.2.44

8.3.2.44

Cisco Adaptive Security Appliance (ASA) Software 8.4.0

8.4.0

Cisco Adaptive Security Appliance (ASA) Software 8.4.1

8.4.1

Cisco Adaptive Security Appliance (ASA) Software 8.4.1.3

8.4.1.3

Cisco Adaptive Security Appliance (ASA) Software 8.4.1.11

8.4.1.11

Cisco Adaptive Security Appliance (ASA) Software 8.4.2

8.4.2

Cisco Adaptive Security Appliance (ASA) Software 8.4.2.1

8.4.2.1

Cisco Adaptive Security Appliance (ASA) Software 8.4.2.8

8.4.2.8

Cisco Adaptive Security Appliance (ASA) Software 8.4.3

8.4.3

Cisco Adaptive Security Appliance (ASA) Software 8.4.3.8

8.4.3.8

Cisco Adaptive Security Appliance (ASA) Software 8.4.3.9

8.4.3.9

Cisco Adaptive Security Appliance (ASA) Software 8.4.4

8.4.4

Cisco Adaptive Security Appliance (ASA) Software 8.4.4.1

8.4.4.1

Cisco Adaptive Security Appliance (ASA) Software 8.4.4.3

8.4.4.3

Cisco Adaptive Security Appliance (ASA) Software 8.4.4.5

8.4.4.5

Cisco Adaptive Security Appliance (ASA) Software 8.4.4.9

8.4.4.9

Cisco Adaptive Security Appliance (ASA) Software 8.4.5

8.4.5

Cisco Adaptive Security Appliance (ASA) Software 8.4.5.6

8.4.5.6

Cisco Adaptive Security Appliance (ASA) Software 8.4.6

8.4.6

Cisco Adaptive Security Appliance (ASA) Software 8.4.7

8.4.7

Cisco Adaptive Security Appliance (ASA) Software 8.4.7.3

8.4.7.3

Cisco Adaptive Security Appliance (ASA) Software 8.4.7.15

8.4.7.15

Cisco Adaptive Security Appliance (ASA) Software 8.4.7.22

8.4.7.22

Cisco Adaptive Security Appliance (ASA) Software 8.4.7.23

8.4.7.23

Cisco Adaptive Security Appliance (ASA) Software 8.4.7.26

8.4.7.26

Cisco Adaptive Security Appliance (ASA) Software 8.4.7.28

8.4.7.28

Cisco Adaptive Security Appliance (ASA) Software 8.4.7.29

8.4.7.29

Cisco Adaptive Security Appliance (ASA) Software 8.7.1

8.7.1

Cisco Adaptive Security Appliance (ASA) Software 8.7.1.1

8.7.1.1

Cisco Adaptive Security Appliance (ASA) Software 8.7.1.8

8.7.1.8

Cisco Adaptive Security Appliance (ASA) Software 8.7.1.17

8.7.1.17

Cisco Adaptive Security Appliance (ASA) Software 9.0.4.24

9.0.4.24

Cisco Adaptive Security Appliance (ASA) Software 9.0.4.26

9.0.4.26

Cisco Adaptive Security Appliance (ASA) Software 9.0.4.29

9.0.4.29

Cisco Adaptive Security Appliance (ASA) Software 9.0.4.37

9.0.4.37

Cisco Adaptive Security Appliance (ASA) Software 9.1.1

9.1.1

Cisco Adaptive Security Appliance (ASA) Software 9.1.4.5

9.1.4.5

Cisco Adaptive Security Appliance (ASA) Software 9.1.5.12

9.1.5.12

Cisco Adaptive Security Appliance (ASA) Software 9.1.5.21

9.1.5.21

Cisco Adaptive Security Appliance (ASA) Software 9.1.6

9.1.6

Cisco Adaptive Security Appliance (ASA) Software 9.1.6.8

9.1.6.8

Cisco Adaptive Security Appliance (ASA) Software 9.1.6.10

9.1.6.10

Cisco Adaptive Security Appliance (ASA) Software 9.2\(0.0\)

9.2\(0.0\)

Cisco Adaptive Security Appliance (ASA) Software 9.2\(0.104\)

9.2\(0.104\)

Cisco Adaptive Security Appliance (ASA) Software 9.2(3.1)

9.2\(3.1\)

Cisco Adaptive Security Appliance (ASA) Software 9.2.2.7

9.2.2.7

Cisco Adaptive Security Appliance (ASA) Software 9.2.2.8

9.2.2.8

Cisco Adaptive Security Appliance (ASA) Software 9.2.3.3

9.2.3.3

Cisco Adaptive Security Appliance (ASA) Software 9.2.4

9.2.4

Cisco Adaptive Security Appliance (ASA) Software 9.3(1.50)

9.3\(1.50\)

Cisco Adaptive Security Appliance (ASA) Software 9.3(2.243)

9.3\(2.243\)

Cisco Adaptive Security Appliance (ASA) Software 9.3.1.1

9.3.1.1

Cisco Adaptive Security Appliance (ASA) Software 9.3.2

9.3.2

Cisco Adaptive Security Appliance (ASA) Software 9.3.2.2

9.3.2.2

Cisco Adaptive Security Appliance (ASA) Software 9.3.3.5

9.3.3.5

Cisco Adaptive Security Appliance (ASA) Software 9.3.5

9.3.5

Cisco Unity Connection Software 1.1(1)

1.1\(1\)

Cisco Unity Connection 1.2 BASE

1.2_base

Cisco Unity Connection Software 2.0(1)

2.0\(1\)

Cisco Unity Connection 2.0 BASE

2.0_base

Cisco Unity Connection 2.1 BASE

2.1_base

Cisco Unity Connection 7.0 BASE

7.0_base

Cisco Unity Connection 7.1(1)

7.1\(1\)

Cisco Unity Connection Software 7.1(2)

7.1\(2\)

Cisco Unity Connection Software 7.1(2a)

7.1\(2a\)

Cisco Unity Connection Software 7.1(2a)su1

7.1\(2a\)su1

Cisco Unity Connection Software 7.1(2b)

7.1\(2b\)

Cisco Unity Connection Software 7.1(2b)su1

7.1\(2b\)su1

Cisco Unity Connection Software 7.1(3)

7.1\(3\)

Cisco Unity Connection Software 7.1(3a)

7.1\(3a\)

Cisco Unity Connection Software 7.1(3a)su1

7.1\(3a\)su1

Cisco Unity Connection Software 7.1(3a)su1a

7.1\(3a\)su1a

Cisco Unity Connection Software 7.1(3b)

7.1\(3b\)

Cisco Unity Connection Software 7.1(3b)su1

7.1\(3b\)su1

Cisco Unity Connection Software 7.1(3b)su2

7.1\(3b\)su2

Cisco Unity Connection Software 7.1(5)

7.1\(5\)

Cisco Unity Connection Software 7.1(5)su1a

7.1\(5\)su1a

Cisco Unity Connection Software 7.1(5a)

7.1\(5a\)

Cisco Unity Connection Software 7.1(5b)

7.1\(5b\)

Cisco Unity Connection Software 7.1(5b)su2

7.1\(5b\)su2

Cisco Unity Connection Software 7.1(5b)su3

7.1\(5b\)su3

Cisco Unity Connection Software 7.1(5b)su4

7.1\(5b\)su4

Cisco Unity Connection Software 7.1(5b)su5

7.1\(5b\)su5

Cisco Unity Connection 7.1(5b)SU6

7.1\(5b\)su6

Cisco Unity Connection 7.1(5B)SU6A

7.1\(5b\)su6a

Cisco Unity Connection 7.1.5ES33.32900-33

7.1.5es33.32900-33

Cisco Unity Connection 7.1 BASE

7.1_base

Cisco Unity Connection 8.0 BASE

8.0_base

Cisco Unity Connection Software 8.5(1)

8.5\(1\)

Cisco Unity Connection Software 8.5(1)su1

8.5\(1\)su1

Cisco Unity Connection Software 8.5(1)su2

8.5\(1\)su2

Cisco Unity Connection Software 8.5(1)su3

8.5\(1\)su3

Cisco Unity Connection Software 8.5(1)su6

8.5\(1\)su6

Cisco Unity Connection 8.5 BASE

8.5_base

Cisco Unity Connection Software 8.6(1a)

8.6\(1a\)

Cisco Unity Connection Software 8.6(2a)

8.6\(2a\)

Cisco Unity Connection 8.6 BASE

8.6_base

Cisco Unity Connection Software 9.1(1.10)

9.1\(1.10\)

Cisco Unity Connection Software 10.0.0

10.0.0

Cisco Unity Connection Software 10.0.5

10.0.5

Cisco Unity Connection 10.5(2)

10.5\(2\)

Cisco Unity Connection 10.5(2.3009)

10.5\(2.3009\)

Cisco Unity Connection 10.5 BASE

10.5_base

Cisco Unity Connection Software 11.0(0.98000.225)

11.0\(0.98000.225\)

Cisco Unity Connection Software 11.0(0.98000.332)

11.0\(0.98000.332\)

Cisco Unity Connection 11.0 0

11.0_0

Cisco Unity Connection 11.5(0.98)

11.5\(0.98\)

Cisco Unity Connection 11.5(0.199)

11.5\(0.199\)

Cisco Unity Connection 11.5 BASE

11.5_base

Cisco Jabber Software Development Kit (SDK) 8.6(1)

8.6\(1\)

Cisco Jabber Software Development Kit (SDK) 9.0(1)

9.0\(1\)

Cisco Jabber Software Development Kit (SDK) 9.2(0)

9.2\(0\)

Cisco Jabber Software Development Kit (SDK) 9.2(1)

9.2\(1\)

Cisco Jabber Software Development Kit (SDK) 9.2(2)

9.2\(2\)

Cisco Jabber Software Development Kit (SDK) 9.2(3)

9.2\(3\)

Cisco Jabber Software Development Kit (SDK) 9.2(4)

9.2\(4\)

Cisco Jabber Software Development Kit (SDK) 9.2(5)

9.2\(5\)

Cisco Jabber Software Development Kit (SDK) 9.2(6)

9.2\(6\)

Cisco Jabber Software Development Kit (SDK) 9.2(7)

9.2\(7\)

Cisco Jabber Software Development Kit (SDK) 9.3(0)

9.3\(0\)

Cisco Jabber Software Development Kit (SDK) 9.3(1)

9.3\(1\)

Cisco Jabber Software Development Kit (SDK) 9.3(2)

9.3\(2\)

Cisco Unified Communications Manager 9.9(9)ST1.9

9.9\(9\)st1.9

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.