The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-0567

CVE-2023-0567: PHP Authentication Bypass Vulnerability

CVE-2023-0567 is an authentication bypass vulnerability in PHP that allows invalid Blowfish hashes to be accepted as valid by password_verify(). This article covers technical details, affected versions, and mitigations.

Published: February 11, 2026

CVE-2023-0567 Overview

CVE-2023-0567 is a Weak Hash Algorithm vulnerability in PHP's password_verify() function that may accept certain invalid Blowfish hashes as valid. This authentication weakness affects PHP versions 8.0.X before 8.0.28, 8.1.X before 8.1.16, and 8.2.X before 8.2.3. If an invalid hash is stored in a password database, the application could incorrectly authenticate any password as valid for that entry, effectively bypassing password authentication entirely.

Critical Impact

Applications using affected PHP versions may allow unauthorized access by accepting any password for entries with malformed Blowfish hashes in the password database.

Affected Products

  • PHP 8.0.X before 8.0.28
  • PHP 8.1.X before 8.1.16
  • PHP 8.2.X before 8.2.3

Discovery Timeline

  • 2023-03-01 - CVE-2023-0567 published to NVD
  • 2024-11-21 - Last updated in NVD database

Technical Details for CVE-2023-0567

Vulnerability Analysis

This vulnerability stems from improper validation within PHP's password_verify() function when processing Blowfish (bcrypt) password hashes. The function fails to properly reject certain malformed Blowfish hash formats, leading to a condition where these invalid hashes will match against any provided password input.

The authentication bypass occurs when a corrupted or intentionally malformed Blowfish hash is stored in the application's password database. Under normal circumstances, password_verify() should reject such hashes and return false. However, due to the validation flaw, the function may return true regardless of the password provided, allowing complete authentication bypass for the affected user account.

This vulnerability is classified under CWE-916 (Use of Password Hash With Insufficient Computational Effort), as the improper hash validation undermines the security guarantees that bcrypt hashing is designed to provide.

Root Cause

The root cause lies in insufficient validation of Blowfish hash format integrity within PHP's password_verify() implementation. The function does not adequately verify that the provided hash conforms to the expected bcrypt structure before performing comparison operations. When processing certain malformed hashes, the validation logic fails silently, leading the function to incorrectly report successful password verification.

Attack Vector

The attack requires local access and depends on a malformed Blowfish hash being present in the password database. This could occur through:

  1. Database corruption or manipulation by an attacker with database access
  2. Application bugs that generate or store improperly formatted hashes
  3. Data migration errors that corrupt hash values
  4. Deliberate insertion of malformed hashes during account creation

Once a malformed hash exists in the database, any authentication attempt against that account using password_verify() will succeed regardless of the password provided. The vulnerability does not require user interaction and can be exploited without any special privileges once the precondition (malformed hash in database) is met.

The vulnerability mechanism involves the hash validation logic within password_verify(). When a specially malformed Blowfish hash is passed to the function, improper boundary checking or format validation allows the comparison to succeed with arbitrary input passwords. For detailed technical analysis, refer to the GitHub Security Advisory GHSA-7fj2-8x79-rjf4.

Detection Methods for CVE-2023-0567

Indicators of Compromise

  • Malformed or unusually short Blowfish hashes in password database tables (valid bcrypt hashes should be 60 characters)
  • Successful authentication events for accounts with invalid or corrupted password hashes
  • Multiple accounts being accessed with different passwords that all succeed
  • Unusual authentication patterns showing accounts accessible with any password input

Detection Strategies

  • Implement database integrity checks to validate bcrypt hash format (should match pattern $2[ayb]$[0-9]{2}$[./A-Za-z0-9]{53})
  • Monitor PHP version across infrastructure and alert on vulnerable versions (8.0.X < 8.0.28, 8.1.X < 8.1.16, 8.2.X < 8.2.3)
  • Audit authentication logs for anomalous successful login patterns
  • Deploy application-level logging around password_verify() calls to capture hash validation results

Monitoring Recommendations

  • Enable verbose authentication logging to capture all password_verify() operations
  • Implement automated scanning for vulnerable PHP versions using SentinelOne Singularity platform
  • Monitor database tables containing password hashes for unexpected modifications or malformed entries
  • Set up alerts for bulk successful authentication events that may indicate exploitation

How to Mitigate CVE-2023-0567

Immediate Actions Required

  • Upgrade PHP to patched versions: 8.0.28+, 8.1.16+, or 8.2.3+
  • Audit password database for any malformed Blowfish hashes and reset affected accounts
  • Implement additional application-level hash format validation before calling password_verify()
  • Review authentication logs for evidence of exploitation prior to patching

Patch Information

PHP has released security updates addressing this vulnerability. Organizations should upgrade to the following minimum versions:

  • PHP 8.0.28 or later for 8.0.X branch
  • PHP 8.1.16 or later for 8.1.X branch
  • PHP 8.2.3 or later for 8.2.X branch

Additional information is available in the PHP Bug Report #81744 and the GitHub Security Advisory GHSA-7fj2-8x79-rjf4. NetApp customers should also review the NetApp Security Advisory ntap-20230331-0008.

Workarounds

  • Add application-level validation to verify bcrypt hash format before passing to password_verify()
  • Implement hash length checks ensuring all bcrypt hashes are exactly 60 characters
  • Consider temporary lockout of accounts with detected malformed password hashes pending hash reset
  • Deploy Web Application Firewall rules to add additional authentication validation layers
bash
# Check PHP version and verify patched status
php -v | grep -E "PHP 8\.(0\.(2[8-9]|[3-9][0-9])|1\.(1[6-9]|[2-9][0-9])|2\.([3-9]|[1-9][0-9]))"

# Audit database for malformed bcrypt hashes (example for MySQL)
# Valid bcrypt hashes should be 60 characters matching expected pattern
mysql -e "SELECT id, username FROM users WHERE LENGTH(password_hash) != 60 OR password_hash NOT REGEXP '^\$2[ayb]\$[0-9]{2}\$';"

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechPhp

  • SeverityMEDIUM

  • CVSS Score6.2

  • EPSS Probability0.04%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-916
  • Technical References
  • NetApp Security Advisory ntap-20230331-0008
  • Vendor Resources
  • PHP Bug Report #81744

  • GitHub Security Advisory GHSA-7fj2-8x79-rjf4
  • Related CVEs
  • CVE-2024-3096: PHP Authentication Bypass Vulnerability

  • CVE-2020-7070: PHP Cookie Authentication Bypass Flaw

  • CVE-2026-22427: GoTravel Path Traversal Vulnerability

  • CVE-2025-69409: PJ Coaching Theme Path Traversal Flaw
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English