CVE-2022-25838
PHP vulnerability analysis and mitigation

Overview

Laravel Fortify before version 1.11.1 contains a vulnerability in its Time-based One-Time Password (TOTP) implementation. The vulnerability allows for the reuse of TOTP codes within a short time window, which fundamentally contradicts the 'one-time' aspect of TOTP security mechanism (NVD).

Technical details

The vulnerability has been assigned a CVSS v3.1 Base Score of 8.1 (HIGH) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H. The issue is classified under CWE-294 (Authentication Bypass by Capture-replay), indicating that the vulnerability allows for replay attacks against the authentication mechanism (NVD).

Impact

The vulnerability compromises the security of two-factor authentication by allowing attackers to reuse TOTP codes that should be valid only once. This undermines the fundamental security principle of one-time passwords and could lead to unauthorized access to protected accounts (NVD).

Mitigation and workarounds

The vulnerability has been fixed in Laravel Fortify version 1.11.1. Users are advised to upgrade to this version or later to address the security issue (NVD).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management