Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-5440

Use of cryptographically weak PRNG in the password recovery token generation of Revive Adserver < v4.2.1 causes a potential authentication bypass attack if an attacker exploits the password recovery functionality. In lib/OA/Dal/PasswordRecovery.php, the function generateRecoveryId() generates a password reset token that relies on the PHP uniqid function and consequently depends only on the current server time, which is often visible in an HTTP Date header.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-5440
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 08:00 UTC · Revision 1

Source evidence

CVE-2019-5440

core-osv · Original source

Published 28 May 2019, 19:29 UTC

Use of cryptographically weak PRNG in the password recovery token generation of Revive Adserver < v4.2.1 causes a potential authentication bypass attack if an attacker exploits the password recovery functionality. In lib/OA/Dal/PasswordRecovery.php, the function generateRecoveryId() generates a password reset token that relies on the PHP uniqid function and consequently depends only on the current server time, which is often visible in an HTTP Date header.

osv:CVE-2019-5440
Complete source record
{
  "id": "5adbe15c867e2a535e6cfbd0177e992127fd517d6051384cc2b220a5571c355f",
  "url": "https://osv.dev/vulnerability/CVE-2019-5440",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-5440",
    "summary": "Use of cryptographically weak PRNG in the password recovery token generation of Revive Adserver < v4.2.1 causes a potential authentication bypass attack if an attacker exploits the password recovery functionality. In lib/OA/Dal/PasswordRecovery.php, the function generateRecoveryId() generates a password reset token that relies on the PHP uniqid function and consequently depends only on the current server time, which is often visible in an HTTP Date header.",
    "evidence": "osv:CVE-2019-5440",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-5440",
      "aliases": [
        "CVE-2019-5440"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/revive-adserver/revive-adserver",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "0c98116a29bcb19dccbc8ec49d3cbb9cafd7a17b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:revive-adserver:revive_adserver:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.2.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.2.0",
            "v4.2.0-rc1",
            "v4.1.4",
            "v4.1.3",
            "v4.1.2",
            "v4.1.0",
            "v4.1.0-rc1",
            "v4.0.2",
            "v4.0.1",
            "v4.0.0",
            "v4.0.0-rc1",
            "v3.2.1",
            "v3.2.1-rc1",
            "v3.2.0",
            "v3.2.0-beta",
            "v3.1.0",
            "v3.1.0-beta",
            "v3.0.3",
            "v3.0.2",
            "v3.0.1",
            "v3.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5440.json"
          }
        }
      ],
      "modified": "2026-10-24T10:31:01.475403923Z",
      "provider": "osv",
      "references": [
        "https://hackerone.com/reports/576504"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-5440",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 439801,
  "published_at": "2019-05-28T19:29:06.19+00:00"
}