Skip to content
OpenAdvisories

Weakness (CWE)

CWE-1241: Use of Predictable Algorithm in Random Number Generator

Base Draft

The device uses an algorithm that is predictable and generates a pseudo-random number.

More detail

Pseudo-random number generator algorithms are predictable because their registers have a finite number of possible states, which eventually lead to repeating patterns. As a result, pseudo-random number generators (PRNGs) can compromise their randomness or expose their internal state to various attacks, such as reverse engineering or tampering.

How to prevent it (1 mitigation)
  1. Architecture and Design, Implementation

    It is highly recommended to use a true random number generator (TRNG) to ensure the security of encryption schemes. Hardware-based TRNGs generate unpredictable, unbiased, and independent random numbers because they employ physical phenomena, e.g., electrical noise, as sources to generate random numbers.

Source: MITRE CWE-1241

14 results · Feed

  • Medium 6.3

    Joomla Extension - j2commerce.com - Predictable/forgeable order access token in J2Store 1.0.0-3.3.2, 4.0.0-4.0.22, 4.1.0-4.1.7

    Joomla Extension - j2commerce.com - Predictable/forgeable order access token in J2Store 1.0.0-3.3.2, 4.0.0-4.0.22, 4.1.0-4.1.7 - Anyone who obtains the site's Joomla `secret` can compute a valid access token for *any* order on the site without ever having pla…

  • Medium 5.3

    Joomla Extension - j2commerce.com - Unescaped request data reflected into PayPal notify redirect in J2Store 1.0.0-3.3.2, 4.0.0-4.0.22, 4.1.0-4.1.7

    Joomla Extension - j2commerce.com - Unescaped request data reflected into PayPal notify redirect in J2Store 1.0.0-3.3.2, 4.0.0-4.0.22, 4.1.0-4.1.7 - A crafted link to the paypal notify endpoint, if followed by a victim's browser (or an automated system that f…

  • Medium 6.3

    In Zimbra Collaboration (ZCS) before 10.1.17, weak cryptographic key generation vulnerability exists in the OnlyOffice …

  • High 7.1

    Broken object-level access controls and the use of a deterministic pattern during random ID generation in MicroRealEsta…

  • Medium 6.3

    Keylime: keylime: security bypass due to hardcoded tpm quote nonce

    A flaw was found in Keylime. An attacker with root access on an enrolled monitored machine, where the Keylime agent runs, can exploit a vulnerability in the Keylime verifier. The verifier uses a hardcoded challenge nonce for Trusted Platform Module (TPM) quot…

  • High 7.5

    CoreDNS Loop Detection Denial of Service Vulnerability

    CoreDNS is a DNS server that chains plugins. Prior to version 1.14.2, a denial of service vulnerability exists in CoreDNS's loop detection plugin that allows an attacker to crash the DNS server by sending specially crafted DNS queries. The vulnerability stems…

  • Medium 5.3

    Popup Builder - Create highly converting, mobile friendly marketing popups. <= 4.4.2 - Improper Authorization to Unauthenticated Subscriber Removal via Predictable Tokens

    The Popup Builder – Create highly converting, mobile friendly marketing popups. plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 4.4.2. This is due to the plugin generating predictable unsubscribe tokens using d…

  • Medium 4.0

    Anti-Theft Bypass for Infotainment ECU

    The anti-theft protection mechanism can be bypassed by attackers due to weak response generation algorithms for the head unit. It is possible to reveal all 32 corresponding responses by sniffing CAN traffic or by pre-calculating the values, which allow to byp…

  • Critical 9.6

    Use of Predictable Algorithm in Random Number Generator in pkp/pkp-lib

    Use of Predictable Algorithm in Random Number Generator in GitHub repository pkp/pkp-lib prior to 3.3.0-16.

  • Low 2.6

    phpservermon User.php setUserLoggedIn predictable algorithm in random number generator

    A vulnerability, which was classified as problematic, was found in phpservermon. Affected is the function setUserLoggedIn of the file src/psm/Service/User.php. The manipulation leads to use of predictable algorithm in random number generator. The exploit has …

  • Low 2.6

    phpservermon User.php generatePasswordResetToken predictable algorithm in random number generator

    A vulnerability, which was classified as problematic, was found in phpservermon. This affects the function generatePasswordResetToken of the file src/psm/Service/User.php. The manipulation leads to use of predictable algorithm in random number generator. The …

  • High 8.1

    Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2

    yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator

  • High 8.1

    Use of Predictable Algorithm in Random Number Generator in yiisoft/yii2

    yii2 is vulnerable to Use of Predictable Algorithm in Random Number Generator

  • High 7.5

    An issue was discovered on the D-Link DWR-932B router. WPS PIN generation is based on srand(time(0)) seeding.