critical CVSS 9.1

CVE-2025-67504·PHP vulnerability

WBCE CMS is a content management system. Versions 1.6.4 and below use function GenerateRandomPassword() to create passwords using PHP's rand(). rand() is not cryptographically secure, which allows password sequences to be predicted or brute-forced. This can lead to user account compromise or privilege escalation if these passwords are used for new accounts or password resets. The vulnerability is fixed in version 1.6.5.

Severity
critical
Software
PHP
Fixed in
1.6.5
Published
2025-12-09

Affected versions

Until: 1.6.5

Fixed in: 1.6.5

How to fix this CVE

WBCE CMS versions 1.6.4 and earlier use a weak password generation function that relies on PHP's non-cryptographic rand() function, allowing attackers to predict generated passwords for new accounts or password resets. Upgrade WBCE CMS to version 1.6.5 or later, which replaces the vulnerable password generation logic with cryptographically secure alternatives. Immediately force password resets for all user accounts that may have been created or reset using the vulnerable function.

sudo dnf upgrade php

Defensia detects this vulnerability

How to check if you are affected

  1. Run `php -v` to confirm the installed PHP version and check if WBCE CMS is deployed on the system.
  2. Navigate to your WBCE CMS installation directory and check the version number in `version.php` or admin panel; versions 1.6.4 and below are vulnerable.
  3. Search your application logs for calls to GenerateRandomPassword() function: `grep -r 'GenerateRandomPassword' /path/to/wbce/cms/`
  4. Verify the patch by checking the WBCE CMS release notes and confirming version 1.6.5+ is installed: `cat /path/to/wbce/cms/version.php | grep VERSION`

FAQ

What is CVE-2025-67504?

This vulnerability affects WBCE CMS where the password generation mechanism uses PHP's rand() function instead of cryptographically secure alternatives, making generated passwords predictable and susceptible to brute-force or sequence-based attacks.

Is CVE-2025-67504 being actively exploited?

No, this vulnerability is not currently tracked on the CISA KEV list and no public exploits are available, though the weakness in password generation presents a real risk if attackers obtain access to the password generation process.

What versions of WBCE CMS are affected by CVE-2025-67504?

WBCE CMS versions 1.6.4 and all earlier versions are affected; version 1.6.5 and later include the security fix.

How do I check if my WBCE CMS installation is vulnerable to CVE-2025-67504?

Check your WBCE CMS version by navigating to the admin panel or running `grep -i 'version' /path/to/wbce/cms/version.php`; if the version is 1.6.4 or below, your installation is vulnerable.

Does Defensia detect CVE-2025-67504?

Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If PHP and WBCE CMS are installed on a monitored server, CVE-2025-67504 will appear in your dashboard with remediation steps.

Related PHP CVEs

CVE-2026-28289CVSS 10FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. A patch bypass vulnerability for CVE-2026-27636 in FreeScout 1.8.206 and earlier allows any authenticated user with file upload permissions to achieve Remote Code Execution (RCE) on the server by uploading a malicious .htaccess file using a zero-width space character prefix to bypass the security check. The vulnerability exists in the sanitizeUploadedFileName() function in app/Http/Helper.php. The function contains a Time-of-Check to Time-of-Use (TOCTOU) flaw where the dot-prefix check occurs before sanitization removes invisible characters. This vulnerability is fixed in 1.8.207.
CVE-2025-46348CVSS 10YesWiki is a wiki system written in PHP. Prior to version 4.5.4, the request to commence a site backup can be performed and downloaded without authentication. The archives are created with a predictable filename, so a malicious user could create and download an archive without being authenticated. This could result in a malicious attacker making numerous requests to create archives and fill up the file system, or by downloading the archive which contains sensitive site information. This issue has been patched in version 4.5.4.
CVE-2025-47916CVSS 10Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named customCss can be invoked by unauthenticated users. This method passes the value of the content parameter to the Theme::makeProcessFunction() method; hence it is evaluated by the template engine. Accordingly, this can be exploited by unauthenticated attackers to inject and execute arbitrary PHP code by providing crafted template strings.
CVE-2025-25174CVSS 10Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in beeteam368 BeeTeam368 Extensions beeteam368-extensions allows PHP Local File Inclusion.This issue affects BeeTeam368 Extensions: from n/a through <= 1.9.4.
CVE-2025-62521CVSS 10ChurchCRM is an open-source church management system. Prior to version 5.21.0, a pre-authentication remote code execution vulnerability in ChurchCRM's setup wizard allows unauthenticated attackers to inject arbitrary PHP code during the initial installation process, leading to complete server compromise. The vulnerability exists in `setup/routes/setup.php` where user input from the setup form is directly concatenated into a PHP configuration template without any validation or sanitization. Any parameter in the setup form can be used to inject PHP code that gets written to `Include/Config.php`, which is then executed on every page load. This is more severe than typical authenticated RCE vulnerabilities because it requires no credentials and affects the installation process that administrators must complete. Version 5.21.0 patches the issue.

References

Track CVEs across your fleet automatically

Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-67504. Free for 1 server.

Get started free