CVE-2019-10754 - Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

Severity

81%

Complexity

27%

Confidentiality

86%

Multiple classes used within Apereo CAS before release 6.1.0-RC5 makes use of apache commons-lang3 RandomStringUtils for token and ID generation which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong.

Multiple classes used within Apereo CAS before release 6.1.0-RC5 makes use of apache commons-lang3 RandomStringUtils for token and ID generation which makes them predictable due to RandomStringUtils PRNG's algorithm not being cryptographically strong.

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

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

Demo Examples

Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)

CWE-338

Both of these examples use a statistical PRNG to generate a random number:


               
int accountID = random.nextInt();

               
int randNum = rand();

The random number functions used in these examples, rand() and Random.nextInt(), are not considered cryptographically strong. An attacker may be able to predict the random numbers generated by these functions. Note that these example also exhibit CWE-337 (Predictable Seed in PRNG).

Overview

Type

Apereo Central Authentication Service (CAS) 6.1.0 Release Candidate

First reported 5 years ago

2019-09-23 23:15:00

Last updated 5 years ago

2019-09-24 13:59:00

Affected Software

Apereo Central Authentication Service (CAS) 6.1.0 Release Candidate 1

6.1.0

Apereo Central Authentication Service (CAS) 6.1.0 Release Candidate 2

6.1.0

Apereo Central Authentication Service (CAS) 6.1.0 Release Candidate 3

6.1.0

Apereo Central Authentication Service (CAS) 6.1.0 Release Candidate 4

6.1.0

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.