CVE-2024-20436 - NULL Pointer Dereference

Severity

75%

Complexity

39%

Confidentiality

60%

A vulnerability in the HTTP Server feature of Cisco IOS XE Software when the Telephony Service feature is enabled could allow an unauthenticated, remote attacker to cause a denial of service (DoS) condition on an affected device. This vulnerability is due to a null pointer dereference when accessing specific URLs. An attacker could exploit this vulnerability by sending crafted HTTP traffic to an affected device. A successful exploit could allow the attacker to cause the affected device to reload, causing a DoS condition on the affected device.

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

Demo Examples

NULL Pointer Dereference

CWE-476

While there are no complete fixes aside from conscientious programming, the following steps will go a long way to ensure that NULL pointer dereferences do not occur.


               
}
/* make use of pointer1 *//* ... */

If you are working with a multithreaded or otherwise asynchronous environment, ensure that proper locking APIs are used to lock before the if statement; and unlock when it has finished.

NULL Pointer Dereference

CWE-476

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 */

If an attacker provides an address that appears to be well-formed, but the address does not resolve to a hostname, then the call to gethostbyaddr() will return NULL. Since the code does not check the return value from gethostbyaddr (CWE-252), a NULL pointer dereference would then occur in the call to strcpy().

Note that this example is also vulnerable to a buffer overflow (see CWE-119).

NULL Pointer Dereference

CWE-476

In the following code, the programmer assumes that the system always has a property named "cmd" defined. If an attacker can control the program's environment so that "cmd" is not defined, the program throws a NULL pointer exception when it attempts to call the trim() method.


               
cmd = cmd.trim();

NULL Pointer Dereference

CWE-476

This application has registered to handle a URL when sent an intent:


               
}......
}
}
int length = URL.length();
...

The application assumes the URL will always be included in the intent. When the URL is not present, the call to getStringExtra() will return null, thus causing a null pointer exception when length() is called.

Overview

Type

Cisco IOS

First reported 4 months ago

2024-09-25 17:15:00

Last updated 4 months ago

2024-10-08 21:00:00

Affected Software

Cisco IOS XE 3.10.6S

3.10.6s

Cisco IOS XE 3.14.4S

3.14.4s

Cisco IOS XE 3.15.1cS

3.15.1cs

Cisco IOS XE 3.14.1S

3.14.1s

Cisco IOS XE 3.10.5S

3.10.5s

Cisco IOS XE 3.9.0AS

3.9.0as

Cisco IOS XE 3.10.1S

3.10.1s

Cisco IOS XE 3.10.2S

3.10.2s

Cisco IOS XE 3.9.2S

3.9.2s

Cisco IOS XE 3.16.0cS

3.16.0cs

Cisco IOS XE 3.11.2S

3.11.2s

Cisco IOS XE 3.14.3S

3.14.3s

Cisco IOS XE 3.17.2S

3.17.2s

Cisco IOS XE 3.10.3S

3.10.3s

Cisco IOS XE 3.14.0S

3.14.0s

Cisco IOS XE 3.10.7S

3.10.7s

Cisco IOS XE 3.11.0S

3.11.0s

Cisco IOS XE 3.9.1s

3.9.1s

Cisco IOS XE 3.10.0S

3.10.0s

Cisco IOS XE 3.14.2S

3.14.2s

Cisco IOS XE 3.15.4S

3.15.4s

Cisco IOS XE 3.16.1AS

3.16.1as

Cisco IOS XE 3.13.3S

3.13.3s

Cisco IOS XE 3.11.1S

3.11.1s

Cisco IOS XE 16.5.1

16.5.1

Cisco IOS XE 16.3.4

16.3.4

Cisco IOS XE 16.5.1B

16.5.1b

Cisco IOS XE 16.4.2

16.4.2

Cisco IOS XE16.9.1

16.9.1

Cisco IOS XE 16.3.5

16.3.5

Cisco IOS XE 16.5.2

16.5.2

Cisco IOS XE 16.8.1S

16.8.1s

Cisco IOS XE 16.8.2

16.8.2

Cisco IOS XE 16.7.3

16.7.3

Cisco IOS XE 16.4.3

16.4.3

Cisco IOS XE 16.9.1S

16.9.1s

Cisco IOS XE 3.16.7AS

3.16.7as

Cisco IOS XE 3.16.7BS

3.16.7bs

Cisco IOS XE 16.5.3

16.5.3

Cisco IOS XE 16.3.7

16.3.7

Cisco IOS XE 16.3.8

16.3.8

Cisco IOS XE 3.13.10S

3.13.10s

Cisco IOS XE 3.10.10S

3.10.10s

Cisco IOS XE 16.6.4

16.6.4

Cisco IOS XE 3.16.8S

3.16.8s

Cisco IOS XE 16.10.1

16.10.1

Cisco IOS XE 16.9.2

16.9.2

Cisco IOS XE 3.16.10S

3.16.10s

Cisco IOS XE 16.12.1

16.12.1

Cisco IOS XE 16.11.1

16.11.1

Cisco IOS XE 17.1.1

17.1.1

Cisco IOS XE 16.10.1S

16.10.1s

Cisco IOS XE 3.16.9S

3.16.9s

Cisco IOS XE 16.6.6

16.6.6

Cisco IOS XE 16.10.1A

16.10.1a

Cisco IOS XE 16.10.2

16.10.2

Cisco IOS XE 16.9.3

16.9.3

Cisco IOS XE 16.10.1E

16.10.1e

Cisco IOS XE 16.10.1B

16.10.1b

Cisco IOS XE 16.8.3

16.8.3

Cisco IOS XE 16.12.2

16.12.2

Cisco IOS XE 16.10.3

16.10.3

Cisco IOS XE 16.12.4

16.12.4

Cisco IOS XE 16.12.8

16.12.8

Cisco IOS XE 16.9.5

16.9.5

Cisco IOS XE 16.6.8

16.6.8

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.