CVE-2022-35258 - Incorrect Calculation

Severity

75%

Complexity

39%

Confidentiality

60%

An unauthenticated attacker can cause a denial-of-service to the following products: Ivanti Connect Secure (ICS) in versions prior to 9.1R14.3, 9.1R15.2, 9.1R16.2, and 22.2R4, Ivanti Policy Secure (IPS) in versions prior to 9.1R17 and 22.3R1, and Ivanti Neurons for Zero-Trust Access in versions prior to 22.3R1.

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

Incorrect Calculation

CWE-682

The following image processing code allocates a table for images.


               
...

This code intends to allocate a table of size num_imgs, however as num_imgs grows large, the calculation determining the size of the list will eventually overflow (CWE-190). This will result in a very small list to be allocated instead. If the subsequent code operates on the list as if it were num_imgs long, it may result in many types of out-of-bounds problems (CWE-119).

Incorrect Calculation

CWE-682

This code attempts to calculate a football team's average number of yards gained per touchdown.


               
...

The code does not consider the event that the team they are querying has not scored a touchdown, but has gained yardage. In that case, we should expect an ArithmeticException to be thrown by the JVM. This could lead to a loss of availability if our error handling code is not set up correctly.

Incorrect Calculation

CWE-682

This example attempts to calculate the position of the second byte of a pointer.


               
char * second_char = (char *)(p + 1);

In this example, second_char is intended to point to the second byte of p. But, adding 1 to p actually adds sizeof(int) to p, giving a result that is incorrect (3 bytes off on 32-bit platforms). If the resulting memory address is read, this could potentially be an information leak. If it is a write, it could be a security-critical write to unauthorized memory-- whether or not it is a buffer overflow. Note that the above code may also be wrong in other ways, particularly in a little endian environment.

Overview

First reported 2 years ago

2022-12-05 22:15:00

Last updated 2 years ago

2022-12-09 00:33:00

Affected Software

PulseSecure Pulse Connect Secure 9.1

9.1

PulseSecure Pulse Connect Secure 9.1 R1

9.1

PulseSecure Pulse Connect Secure 9.1 R2

9.1

PulseSecure Pulse Connect Secure 9.1 R3

9.1

PulseSecure Pulse Connect Secure 9.1 R4

9.1

PulseSecure Pulse Connect Secure 9.1 R4.1

9.1

PulseSecure Pulse Connect Secure 9.1 R4.2

9.1

PulseSecure Pulse Connect Secure 9.1 R4.3

9.1

Pulse Secure Pulse Policy Secure 9.1 R1

9.1

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.