Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2026-27836 — phpmyfaq

🟠 CVSS 8.0 — High ⚠️ Exploit Public CWE-862 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

phpMyFAQ Allows Unauthenticated Account Creation via WebAuthn Prepare Endpoint

Summary

The WebAuthn prepare endpoint (/api/webauthn/prepare) creates new active user accounts without any authentication, CSRF protection, CAPTCHA, or configuration checks. This allows unauthenticated attackers to create unlimited user accounts even when registration is disabled.

Details

File: phpmyfaq/src/phpMyFAQ/Controller/Frontend/Api/WebAuthnController.php, lines 63-79

```php

#[Route(path: 'webauthn/prepare', name: 'api.private.webauthn.prepare', methods: ['POST'])]

public function prepare(Request $request): JsonResponse

{

$data = json_decode($request->getContent(), ...);

$username = Filter::filterVar($data->username, FILTER_SANITIZE_SPECIAL_CHARS);

if (!$this->user->getUserByLogin($username, raiseError: false)) {

try {

$this->user->createUser($username);

$this->user->setStatus(status: 'active');

$this->user->setAuthSource(AuthenticationSourceType::AUTH_WEB_AUTHN->value);

$this->user->setUserData([

'display_name' => $username,

'email' => $username,

]);

```

The endpoint:

1. Accepts any POST request with a JSON username field

2. If the username doesn't exist, creates a new active user account

3. Does NOT check if WebAuthn support is enabled (security.enableWebAuthnSupport)

4. Does NOT check if registration is enabled (security.enableRegistration)

5. Does NOT verify CSRF tokens

6. Does NOT require captcha validation

7. Has no rate limiting

PoC

```bash

# Create an account - no auth needed

curl -X POST https://TARGET/api/webauthn/prepare \

-H 'Content-Type: application/json' \

-d '{"username":"attacker_account"}'

# Mass account creation

for i in $(seq 1 1000); do

curl -s -X POST https://TARGET/api/webauthn/prepare \

-H 'Content-Type: application/json' \

-d "{\"username\":\"spam_user_$i"}" &

done

```

Impact

  • Registration bypass: Accounts created even when self-registration is disabled
  • Username squatting: Reserve usernames before legitimate users
  • Database exhaustion: Create millions of fake active accounts (DoS)
  • User enumeration: Different responses for existing vs new usernames
  • Security control bypass: WebAuthn config check is bypassed entirely

All phpMyFAQ installations with the WebAuthn controller routed (default) are affected, regardless of configuration settings.

How this vulnerability can be exploited

This issue can be reached over the network, attack complexity is low, an attacker needs no privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity high, availability none.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

  • Attack vector: Network — reachable from anywhere that can route to the service.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: None — an unauthenticated stranger can try it.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: High — total loss, or loss the attacker controls.
  • Availability impact: None.

Weakness class

CVE-2026-27836 is classified as CWE-862: Missing Authorization. No authorisation check is performed before carrying out a restricted action.

Affected software

CVE-2026-27836 is recorded against 2 packages.

  • phpmyfaq (fixed in 4.0.18)
  • thorsten/phpmyfaq (fixed in 4.0.18)

Timeline and source

Published on 27 February 2026 and last revised on 17 June 2026. A public exploit is known to exist, which raises the urgency of patching considerably. A vendor advisory or fix has been published. Record sourced from NVD.

References

github.com
github.com

Other advisories for this package

phpmyfaq has other advisories on record. If you are patching this one, these are worth checking on the same host:

Same weakness in other software

These advisories are the same class of weakness (CWE-862: Missing Authorization) in other software:

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CWE CWE-862
Public Exploit ⚠️ Yes
Source NVD
Published 2026-02-27
Updated 2026-08-20
Modified 2026-06-17

Affected Packages

Software From version Fixed in
phpmyfaq — 4.0.18
thorsten/phpmyfaq — 4.0.18

Similar Threats

Exploit Protection

Are you running phpmyfaq?

CVE-2026-27836 carries CVSS 8.0 High rating and a public exploit already exists. BotEraser checks your installation against this and other known CVE records, and blocks IPs associated with exploit activity.

Check My Site For CVE-2026-27836 →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2026
✓