superagent_

// products

Microweber unexposed API method account takeover

[ view markdown ]

← Back to attack scenarios

A public API dispatcher must distinguish deliberately exposed operations from internal helper methods. CVE-2026-134623 concerns Microweber's dispatch to an already-loaded class without first checking the method's exposure policy. Its UserManager::make_logged() helper can select a user by ID and create an authenticated session without checking that user's password when the helper becomes reachable through that boundary.

The missing check is present in v2.0.20. The maintainer's November 19, 2026 fix is included in v2.0.21 and checks class/method exposure before constructing an unregistered class or invoking its method. Earlier affected history and backports need source verification. The fixed release requires PHP 8.4 or newer; an older PHP runtime can prevent the built-in updater from applying it.

This repository scenario traces the normal routing and class-loading path through ApiController.php, its public/user/admin exposure lists, and UserManager.php::make_logged(). It applies only when the actual application bootstrap makes the unexposed helper reachable. Source inspection, a manually preloaded class, or a custom route added for testing does not establish that condition. Intentionally public operations and correctly authorized APIs remain valid controls.

Dynamic verification requires a disposable local application with real session and database services, a fixture-known synthetic user ID, an initially anonymous session, and a private marker owned by the test user. The protected resource must be denied before the attempt. A finding then requires the same originally anonymous session to authenticate as the selected user and retrieve the marker through a subsequent protected request, without using the fixture owner's credentials. Compare an invalid test ID, an unrelated identity, ordinary login, and a healthy corrected application. A helper's success response or returned user ID alone does not prove takeover.

Reports identify the exact source path, exposure policy, session binding and observed role. Ordinary-user takeover does not imply administrator access, code execution or host compromise. Source exposure, local fixture reproduction and confirmed assessed-target impact stay distinct. Missing services, safe fixtures, normal reachability or independent observation block the corresponding checks; unresolved or negative results remain inconclusive under the existing verification requirements.

Upgrade to v2.0.21 or a verified backport of the exposure check, following the PHP prerequisite. Repeat the original chain against a healthy corrected application and verify that intended public hooks, authorized APIs and ordinary login still work. Use only synthetic identities and reversible markers; do not change production options, invoke unrelated manager methods or upload executable files to demonstrate this session flaw.

The app lists this scenario as Microweber — unexposed API method account takeover (REPO-22) in Repository Red Teaming.

Standards and guidance

Microweber maintainer security fix

Microweber v2.0.21 security release and PHP prerequisite

Microweber v2.0.20 API dispatcher

Microweber v2.0.20 user-management helper

OWASP Authentication Cheat Sheet