Skip to main content

WBCE CMS CVE-2025-67504

CRITICAL
Insufficient Entropy (CWE-331)
2025-12-09 security-advisories@github.com
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Trigger password reset for target account
  2. Exploit
    Predict rand()-seeded temporary password
  3. Execution
    Authenticate as victim user
  4. Impact
    Take 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.4 HIGH

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).

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
niche open-source CMS (WebsiteBaker fork), small real-world deployment footprint
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

70
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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

cpe:2.3:a:wbce:wbce_cms:*:*:*:*:*:*:*:*
CVE-2023-39796 CRITICAL POC
9.8 Nov 10

SQL injection vulnerability in the miniform module in WBCE CMS v.1.6.0 allows remote unauthenticated attacker to execute

CVE-2022-46020 CRITICAL POC
9.8 Dec 20

WBCE CMS v1.5.4 can implement getshell by modifying the upload file type. Rated critical severity (CVSS 9.8), this vulne

CVE-2021-3817 CRITICAL POC
9.8 Dec 09

wbce_cms is vulnerable to Improper Neutralization of Special Elements used in an SQL Command. Rated critical severity (C

CVE-2025-65950 CRITICAL POC
9.4 Dec 10

SQL injection in WBCE CMS 1.6.4 and earlier lets an authenticated user who already holds the 'modify users' permission e

CVE-2022-50936 HIGH POC
8.8 Jan 13

Wbce Cms versions up to 1.5.2 is affected by unrestricted upload of file with dangerous type (CVSS 8.8).

CVE-2025-34506 HIGH POC
8.6 Dec 11

Authenticated remote code execution in WBCE CMS 1.6.3 and earlier allows an attacker holding an administrator account to

CVE-2025-65094 HIGH POC
8.7 Nov 19

WBCE CMS is a content management system. Rated high severity (CVSS 8.7), this vulnerability is remotely exploitable, low

CVE-2022-25101 HIGH POC
7.8 Feb 24

A vulnerability in the component /templates/install.php of WBCE CMS v1.5.2 allows attackers to execute arbitrary code vi

CVE-2022-25099 HIGH POC
7.8 Feb 24

A vulnerability in the component /languages/index.php of WBCE CMS v1.5.2 allows attackers to execute arbitrary code via

CVE-2022-4006 HIGH POC
7.5 Nov 15

A vulnerability, which was classified as problematic, has been found in WBCE CMS. Rated high severity (CVSS 7.5), this v

CVE-2023-38947 HIGH POC
7.2 Aug 03

An arbitrary file upload vulnerability in the /languages/install.php component of WBCE CMS v1.6.1 allows attackers to ex

CVE-2023-29855 HIGH POC
7.2 Apr 18

WBCE CMS 1.5.3 has a command execution vulnerability via admin/languages/install.php. Rated high severity (CVSS 7.2), th

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy