WBCE CMS
CVE-2025-67504
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessTrigger password reset for target account
-
ExploitPredict rand()-seeded temporary password
-
ExecutionAuthenticate as victim user
-
ImpactTake over account or escalate to admin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V11 - Cryptography Entropy requirements
|
| Exploitation Conditions | Exploitation requires that GenerateRandomPassword() output is actually used and reachable - specifically the admin 'forgot password' reset flow (wbce/admin/login/forgot/index.php) or server-side generation of passwords for new accounts - and that the attacker can predict or brute-force the PHP rand() sequence by recovering the PRNG seed/state (feasible due to rand() being non-cryptographic and the pre-patch 10-character length). LIMITING FACTORS: the predictable password must be the credential delivered to or set for the account (deployments that force user-chosen passwords are less affected); the attacker must observe/guess timing to narrow the seed; and affected installs are WBCE CMS 1.6.4 and below. No authentication is required to initiate a password-reset request (CVSS PR:N), but successful takeover depends on the above prediction succeeding. |
| Impact | Signals conflict and point to a lower real-world priority than the headline score suggests. The NVD CVSS is 9.8 (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H), but AC:L appears optimistic: exploitation requires predicting or brute-forcing a PHP rand()-seeded sequence, which in practice demands favorable timing/seed-recovery conditions rather than a trivially crafted single request - I assess AC:H instead. EPSS is low (0.52%, 42nd percentile) and the CVE is NOT in CISA KEV, indicating no evidence of widespread or active exploitation. A public advisory/exploit reference exists (GitHub GHSA-76gj-pmvx-jcc6), so exploit knowledge is available, but POC availability is not active exploitation. The vendor patch and root cause are well confirmed by the source diff (rand() → random_int()), so the weakness itself is real (CWE-331, insufficient entropy). Net: a genuine cryptographic weakness in a low-footprint CMS that is a real-but-not-urgent priority - patch on normal cycle, not an emergency, absent KEV listing or an active exploitation report. Note the A:H component is questionable: the direct consequence is account compromise/privilege escalation (confidentiality and integrity), with availability only indirect via admin takeover. |
| Exploit ScenarioDerived | An attacker triggers the 'forgot password' reset flow (or waits for new-account provisioning) for a targeted WBCE CMS user, then predicts the temporary password because it is built from PHP's non-cryptographic rand(). By recovering or guessing the PRNG state and reconstructing the 10-character sequence, the attacker logs in as the victim - and if that account is an administrator, escalates to full CMS control. A public advisory (GHSA-76gj-pmvx-jcc6) documents the weakness, though no automated weaponized exploit is confirmed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Predictable account password generation in WBCE CMS 1.6.4 and earlier lets unauthenticated remote attackers recover or brute-force passwords produced by the PHP rand()-backed GenerateRandomPassword() routine, which feeds the admin 'forgot password' reset flow and other server-side password creation paths, potentially yielding account takeover and privilege escalation. The reset endpoint is reachable without authentication (CVSS PR:N), but successful compromise depends on the attacker recovering the weak PRNG seed/state, on timing observation to narrow that seed, and on the generated password actually being the credential delivered to the target account; the independent assessment accordingly rates this CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N rather than the published 9.8 base score. Publicly available exploit code exists (GitHub security advisory GHSA-76gj-pmvx-jcc6), no CISA KEV listing is present, and EPSS is low at 0.52% (42nd percentile), with a vendor fix released in version 1.6.5.
RemediationAI
Upgrade to WBCE CMS 1.6.5, which replaces PHP rand() with random_int(), lengthens generated passwords, and raises the minimum password length to 12; the vendor fix is the upstream commit 5d59fe021a5c6e469b1bf192b72ca652e54278f6 and the release is at https://github.com/WBCE/WBCE_CMS/releases/tag/1.6.5, with the advisory at https://github.com/WBCE/WBCE_CMS/security/advisories/GHSA-76gj-pmvx-jcc6. If immediate upgrade is not possible, change the policy so account creation and password resets require an administrator- or user-supplied password rather than an automatically generated one, reset any passwords that may have been issued by the vulnerable routine (since they remain guessable until rotated), and rate-limit or restrict network access to the wbce/admin/login/forgot endpoint so an attacker cannot harvest and correlate multiple generated values; note that restricting that endpoint will degrade or disable self-service password recovery for legitimate administrators. Because exploitation hinges on predicting a rand()-derived value, any credential that was ever produced by GenerateRandomPassword(), including stale admin passwords set through the reset flow, should be treated as compromised and rotated after the upgrade.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is insufficient entropy in credential generation, mapped to CWE-331 (Insufficient Entropy) and referenced against CWE-338 (Use of a Cryptographically Weak PRNG). WBCE CMS's GenerateRandomPassword() in wbce/framework/Accounts.php built passwords from PHP's rand() over a small index range (rand(0,70) inside a loop terminating at i<=10, i.e. roughly 10 characters), and the same weak construction was used in wbce/admin/login/forgot/index.php for the admin password-reset flow. PHP's rand() is not a cryptographically secure pseudo-random number generator: its output stream is deterministic and, once an attacker recovers or narrows the seed/state (for example by observing reset timing or requesting multiple resets), subsequent passwords become predictable and enumerable, especially given the short pre-patch minimum password length of 6. The upstream fix (commit 5d59fe021a5c6e469b1bf192b72ca652e54278f6) replaces rand() with random_int(), extends the generation loop from i<=10 to i<=12, and raises iPassMinLength from 6 to 12, moving the application onto PHP's CSPRNG. Affected deployments are captured by the wildcard CPE cpe:2.3:a:wbce:wbce_cms:*:*:*:*:*:*:*:* for versions up to and including 1.6.4.
Know when Wbce Cms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Remote unauthenticated reset trigger (AV:N/PR:N), but predicting rand() needs seed recovery/timing so AC:H; account/admin takeover yields C:H/I:H while availability impact is only indirect (A:N).
Primary rating from NVD.
CVSS VectorNVD
DescriptionNVD
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.
Executive ViewAI
WBCE CMS versions 1.6.4 and earlier contain a critical password-generation flaw that can let unauthenticated remote attackers recover or brute-force credentials produced by the admin password-reset flow, potentially leading to administrative account takeover and privilege escalation. Publicly available exploit code exists, though exploitation requires high complexity and current EPSS is low; nevertheless, a compromised CMS can affect website integrity, customer trust, and connected systems. Leadership should treat this as a high-priority patching and exposure-reduction issue for any internet-facing WBCE CMS deployment.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Affected Products (CPE)NVD
SQL injection vulnerability in the miniform module in WBCE CMS v.1.6.0 allows remote unauthenticated attacker to execute
WBCE CMS v1.5.4 can implement getshell by modifying the upload file type. Rated critical severity (CVSS 9.8), this vulne
wbce_cms is vulnerable to Improper Neutralization of Special Elements used in an SQL Command. Rated critical severity (C
SQL injection in WBCE CMS 1.6.4 and earlier lets an authenticated user who already holds the 'modify users' permission e
Wbce Cms versions up to 1.5.2 is affected by unrestricted upload of file with dangerous type (CVSS 8.8).
Authenticated remote code execution in WBCE CMS 1.6.3 and earlier allows an attacker holding an administrator account to
WBCE CMS is a content management system. Rated high severity (CVSS 8.7), this vulnerability is remotely exploitable, low
A vulnerability in the component /templates/install.php of WBCE CMS v1.5.2 allows attackers to execute arbitrary code vi
A vulnerability in the component /languages/index.php of WBCE CMS v1.5.2 allows attackers to execute arbitrary code via
A vulnerability, which was classified as problematic, has been found in WBCE CMS. Rated high severity (CVSS 7.5), this v
An arbitrary file upload vulnerability in the /languages/install.php component of WBCE CMS v1.6.1 allows attackers to ex
WBCE CMS 1.5.3 has a command execution vulnerability via admin/languages/install.php. Rated high severity (CVSS 7.2), th
NVD
CVE.org
EPSS
GitHub
Exploit-DB