Niedrig

Use of a Broken or Risky Cryptographic Algorithm

  • Veröffentlicht: 01.09.2021
  • Aktualisiert: 11.10.2026 10:22

✍️ Description

The function mt_rand is used to generate session tokens, this function is cryptographically flawed due to its nature being one pseudorandomness, an attacker can take advantage of the cryptographically insecure nature of this function to enumerate session tokens for accounts that are not under his/her control

🕵️‍♂️ Proof of Concept

Numerous examples and attack implementations can be found in this paper . If you're looking for a practical tool that can crack your mt_rand implementation's seed value, see this project and run the following commands in a console with php5 and OpenWall's tool installed:

root$ php -r 'mt_srand(13333337); echo mt_rand( ), "\n";' After that, copy the output (1863134308) and execute the following commands:

root$ gcc php_mt_seed.c -o php_mt_seedroot$ ./php_mt_seed 1863134308 After waiting ~1 minute you should have a few possible seeds corresponding to their PHP versions, next to your installed PHP version you should see something akin to:

seed = 0x00cb7359 = 13333337 (PHP 7.1.0+) Hey, that's your seed!

💥 Impact

An attacker could takeover accounts at random by enumerating and using access tokens.

📝 References

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Composer-Paket mautic/core < 3.3.4, >= 4.0.0-alpha1, < 4.0.0 3.3.4, 4.0.0

Verweise

CVSS-Wert 3.5/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
Schwäche (CWE)
CWE-327
Plattform
Composer
Paket
mautic/core
Veröffentlicht
01.09.2021
Aktualisiert
11.10.2026 10:22

Quellen und Lizenzen

OSV / GitHub Advisory Database - GHSA-x7g2-wrrp-r6h3 - CC BY 4.0

Schwachstellenhistorie: mautic/core

Alle veröffentlichten Schwachstellen dieses Pakets (Composer-Paket), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Alle (57) im Archiv
Einträge insgesamt
57
Erste → letzte
01.2021 07.2026
Ohne Fix
1
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Kritisch 9
  • Hoch 17
  • Mittel 29
  • Niedrig 2

Veröffentlichungen pro Jahr

  1. 2021: 16
  2. 2022: 7
  3. 2023: 0
  4. 2024: 13
  5. 2025: 13
  6. 2026: 8
Schweregrad:
  1. Hoch · 7.6 CVE-2026-9809 >= 7.0.0, < 7.1.2 7.1.2
  2. Hoch · 7.1 CVE-2026-9808 >= 7.0.0, < 7.1.2 7.1.2
  3. Kritisch · 9.9 CVE-2026-9559 >= 7.0.0, < 7.1.2 7.1.2
  4. Kritisch · 9.9 CVE-2026-9558 >= 1.3.0, >= 5.0.0, < 5.2.11, >= 6.0.0, < 6.0.9, >= 7.0.0, < 7.1.2 5.2.11, 6.0.9, 7.1.2
  5. Hoch · 7.1 CVE-2026-4776 >= 2.6.0, <= 4.4.13, >= 5.0.0, < 5.2.11, >= 6.0.0, < 6.0.9, >= 7.0.0, < 7.1.2 5.2.11, 6.0.9, 7.1.2
  6. Hoch · 7.6 CVE-2026-3105 >= 2.10.0, < 5.2.10, >= 6.0.0-alpha, < 6.0.8, >= 7.0.0-alpha, < 7.0.1 5.2.10, 6.0.8, 7.0.1
  7. Kritisch CVE-2025-13828 >= 4.0.0, < 4.4.18, >= 5.0.0, < 5.2.9, >= 6.0.0, < 6.0.7 4.4.18, 5.2.9, 6.0.7
  8. Hoch · 7.7 CVE-2024-47053 >= 1.0.1, < 5.2.3 5.2.3
  9. Kritisch · 9.1 CVE-2024-47051 < 5.2.3 5.2.3
  10. Hoch · 7.0 CVE-2022-25768 >= 1.1.3, < 4.4.13, >= 5.0.0-alpha, < 5.1.1 4.4.13, 5.1.1
  11. Kritisch · 9.6 CVE-2020-35125 < 2.16.5, >= 3.0.0, < 3.2.4 2.16.5, 3.2.4
  12. Hoch · 8.3 CVE-2022-25776 >= 1.0.2, < 4.4.12, >= 5.0.0-alpha, < 5.0.4 4.4.12, 5.0.4
  13. Hoch · 8.1 CVE-2021-27916 >= 3.3.0, < 4.4.12, >= 5.0.0-alpha, < 5.0.4 4.4.12, 5.0.4
  14. Hoch · 7.6 CVE-2021-27915 >= 1.0.0-beta2, < 4.4.12 4.4.12
  15. Kritisch · 9.0 CVE-2020-35129 < 3.2.4 3.2.4
  16. Kritisch · 9.0 CVE-2020-35128 >= 3.2.0, < 3.2.4, >= 2.0.0, < 2.16.5 3.2.4, 2.16.5
  17. Hoch · 7.5 CVE-2017-1000046 < 2.1.1 2.1.1
  18. Hoch · 8.8 CVE-2017-8874 = 1.4.1 keine Korrektur
  19. Use of a Broken or Risky Cryptographic Algorithm dieser Eintrag
    Niedrig · 3.5 CVE-2021-27913 < 3.3.4, >= 4.0.0-alpha1, < 4.0.0 3.3.4, 4.0.0
Mehr anzeigen (7) 20 von 27 angezeigt

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.