CVE-2025-10745
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe Banhammer – Monitor Site Traffic, Block Bad Users and Bots plugin for WordPress is vulnerable to Blocking Bypass in all versions up to, and including, 3.4.8. This is due to a site-wide “secret key” being deterministically generated from a constant character set using md5() and base64_encode() and then stored in the `banhammer_secret_key` option. This makes it possible for unauthenticated attackers to bypass the plugin’s logging and blocking by appending a GET parameter named `banhammer-process_{SECRET}` where `{SECRET}` is the predictable value, thereby causing Banhammer to abort its protections for that request.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Banhammer WordPress plugin uses a deterministic algorithm (md5() + base64_encode() on a constant character set) to generate a secret key stored in the database. Attackers can predict this key and append it as a GET parameter (`banhammer-process_{SECRET}`) to bypass all logging and blocking protections, rendering the plugin ineffective.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify Banhammer plugin installation and versionIn WordPress admin, go to Plugins > Installed Plugins and locate Banhammer. Note the version number displayed. Alternatively, inspect the plugin header in wp-content/plugins/banhammer/banhammer.php for the Version field.Affected if The plugin is installed and the version falls within the affected range (any version using deterministic key generation).
-
Inspect plugin code for deterministic key generationExamine the plugin PHP files, particularly any file handling key generation or database storage (often named banhammer.php, class-banhammer.php, or similar). Look for code patterns using md5() and base64_encode() with constant inputs for key generation.Affected if The plugin code contains md5() and base64_encode() calls used to generate the secret key from constant values (predictable algorithm).
-
Check database for stored secret keyQuery the WordPress database (via phpMyAdmin or wp CLI) for options table entries related to banhammer. Look for option_name containing 'secret', 'key', or similar. The value will be a base64-encoded string.Affected if A secret key option exists in the database that was generated using a deterministic algorithm (predictable from plugin version/constants).
-
Verify bypass vulnerability with test requestSend a GET request to any page on the site with the parameter banhammer-process_{SECRET} where SECRET is the predicted key (generated by applying md5() + base64_encode() to a constant character set from the plugin code). Check if requests are not logged/blocked.Affected if Requests with the predicted banhammer-process parameter are not blocked or logged, indicating the bypass is functional.
The environment is affected if the Banhammer plugin is installed and active with a deterministically generated secret key that can be predicted to bypass protection.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate to a patched version when available. The vendor should replace the deterministic key generation with cryptographically secure random generation (e.g., random_bytes() with proper storage) and implement key rotation for existing installations.
Update Banhammer plugin to the latest available version (3.4.9 or later)
- 1. Log in to the WordPress admin dashboard
- 2. Navigate to Plugins > Installed Plugins
- 3. Locate the 'Banhammer – Monitor Site Traffic, Block Bad Users and Bots' plugin
- 4. If an update is available, click 'Update Now' to update to the latest version
- 5. Alternatively, download the latest version from the WordPress plugin repository and upload it manually via Plugins > Add New > Upload Plugin
- 6. Verify the update completed successfully and the plugin is functioning normally
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation1.0 h
- Implementation3.0 h
- Testing2.0 h
- Review / QA1.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $1,952.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2025-10745 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-10745 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data