← Voltar ao feed

WPIDE WordPress plugin CSRF nonce bypass enables code execution (CVE-2026-124251), fixed in 3.6.5; found with AI help

1 fonte(s) · 2 atualização(ões) · publicado 23/11/2026 08:00 · coletado há 1 semana

Matéria consolidada. Reúne 2 matérias que o Tifon tinha publicado separadamente sobre a mesma história. A IA reescreveu o relatório com o que a fonte trouxe em 23/11/2026 12:03; os links antigos trazem para cá.

Fontes: cyberscoop.com ×2 ↗

A critical cross-site request forgery (CSRF) flaw, CVE-2026-124251, affects the WPIDE WordPress plugin, which has more than 40,000 active installations (cyberscoop.com). The bug lets an attacker bypass nonce protection and run arbitrary PHP code through the plugin's Snippets feature. The attacker needs no account on the site but must trick a logged-in administrator into submitting a crafted request (cyberscoop.com). The flaw was found and validated in about six hours by a cybersecurity reporter using open-source LLMs, reportedly Gemini Flash 3.8 and GLM-5.3. It was confirmed by PatchStack and has been fixed (cyberscoop.com). The case shows how AI lowers the barrier to vulnerability discovery, which raises concerns about misuse by malicious actors (cyberscoop.com). The sources report no in-the-wild exploitation.

Entenda a falha

A vulnerabilidade

CVE-2026-124251 (CVSS 8.8, CWE-352) is a CSRF nonce bypass in the WPIDE plugin (File Manager & Code Editor for WordPress, over 40,000 installs) that leads to PHP code execution through the Snippets feature. The attacker needs no account, but must trick a logged-in administrator into loading a page they control. Versions 3.6.0 to 3.6.4 are affected; 3.6.5 is the fixed release (3.6.4 already enforced request verification). The bypass was verified against 3.6.0 and confirmed by source review of 3.6.2. It is an incomplete fix for CVE-2026-57766, the unauthenticated CSRF in versions up to 3.5.6, which is background only. No in-the-wild exploitation is reported.

Como funciona

Every plugin admin page goes through one bootstrap that runs a security service and then an internal router. The router picks the action from the req parameter, for example /snippets/save. The security service checks the CSRF token only when the page parameter equals wpide exactly. The seven submenu pages have slugs containing #/, and WordPress accepts the URL-encoded form, so they skip validation. A forged request from the administrator's browser therefore reaches the router unchecked, and the administrator's capabilities pass the permission check. Saving a PHP snippet marked active makes the plugin run it during the save request itself, and /snippets/execute can re-run a stored snippet on demand.

Por que é vulnerável

The nonce check was scoped too narrowly: it required a character-for-character match with the main slug instead of matching any plugin page (a prefix match would have sufficed), so the #/ submenu slugs were never validated. The 3.6.2 release rebuilt the mechanism as an X-CSRF-Token header scheme but kept the same gate, so the bypass persisted. The Snippets controllers also parse the raw body as JSON regardless of Content-Type, which lets a cross-site text/plain form deliver the payload. The fix enforces request verification on all plugin admin pages (3.6.4) and refuses text/plain and form-encoded bodies on state-changing requests (3.6.5).

Onde está

App/Services/Security/Security.php (isProtectedRequest() in 3.6.2) holds the slug-scoped gate; the Snippets controllers (json_decode of the request body) and the /snippets/save and /snippets/execute routes are the execution path.

Como foi descoberta

Greg Otto, a CyberScoop reporter with no prior vulnerability-hunting experience, found it in about six hours using two free LLMs. Gemini Flash 3.8 helped pick the target and read the code, then its guardrails blocked the exploit stage. GLM-5.3-Flash then said the plugin had been patched in July, diffed two versions, built a test PoC and drafted the technical report. He reported it through Patchstack, which validated it about 24 hours after submission. Per the report, he verified it against 3.6.0 on October 30, Patchstack reserved the CVE on November 7, WPIDE released 3.6.4 and 3.6.5 on November 8, and the CVE was published on November 10.

PoC existente, privada

O exploit existe, mas quem o tem não o publicou.

The reporter verified a working exploit against 3.6.0 using an auto-submitting form on an attacker-controlled page. It ran PHP during the save request, and a second forged request 21 minutes later re-executed the stored snippet. The technical report describes this and lists indicators, but does not publish the exploit or link to it, so it is treated as private. Because a single forged request is enough, patch quickly.

Explicação gerada por IA a partir da matéria e dos artigos, em 23/11/2026 12:18.

Detalhes técnicos

  • Affected versions are WPIDE 3.6.0 through 3.6.4 (cyberscoop.com).
  • The nonce check runs only when the page parameter strictly equals "wpide". Submenu pages whose slugs contain "#/" skip validation, so CSRF protection can be bypassed (cyberscoop.com).
  • The attacker abuses the Snippets feature, which saves and executes PHP snippets, to get arbitrary code execution and potentially full site takeover (cyberscoop.com).
  • The CVSS score is 8.8 (cyberscoop.com).
  • The flaw is a regression of an earlier, only partially fixed CSRF issue, CVE-2026-57766 (cyberscoop.com).
  • The reported attack needs no attacker authentication, but it depends on social engineering of a logged-in administrator. "Unauthenticated RCE" in the source refers to the attacker's lack of credentials, not to a flaw that needs no victim interaction.

Remediação

  • Update WPIDE to version 3.6.5 immediately. It enforces request verification on all admin pages and refuses text/plain and form-encoded bodies to block the delivery vector (cyberscoop.com).
  • If you cannot update, disable the plugin (cyberscoop.com).
  • If compromise is suspected, audit the site for suspicious files (cyberscoop.com).

Linha do tempo

  1. cyberscoop.com ↗ · pub. 23/11/2026 08:00 · coletado 23/11 09:01

    WPIDE ≤ 3.6.4 suffers CSRF nonce bypass enabling unauthenticated RCE (CVE-2026-124251)

    ler a análise desta fonte

    WPIDE versions 3.6.0 through 3.6.4 are affected by a critical Cross-Site Request Forgery (CSRF) vulnerability (CVE-2026-124251) that allows unauthenticated remote code execution. The flaw stems from a nonce validation implementation error that only validates requests when the page parameter strictly equals "wpide," neglecting submenu pages containing "#/" in their slugs. This enables attackers to bypass CSRF protections and execute arbitrary PHP code by exploiting the Snippets feature used for saving and executing PHP snippets. Exploitation requires no attacker authentication but involves tricking a logged-in administrator to submit crafted requests. The vulnerability is a regression of a previously partially fixed CSRF issue (CVE-2026-57766). WPIDE fixed this in version 3.6.5 by enforcing request verification on all admin pages and refusing text/plain or form-encoded bodies to block the delivery vector. Users are advised to update immediately or disable the plugin and audit for suspicious files if compromise is suspected.

  2. cyberscoop.com ↗ · pub. 23/11/2026 08:00 · coletado 23/11 09:01 primeiro registro

    AI-assisted researcher discovers and reports CSRF vulnerability in popular WPIDE WordPress plugin

    ler a análise desta fonte

    A cybersecurity reporter used AI tools to discover a cross-site request forgery (CSRF) vulnerability in the WPIDE WordPress plugin, which has over 40,000 active installations. Leveraging open-source large language models (LLMs) including Gemini Flash 3.8 and China's GLM-5.3, the discovery and validation of the flaw took approximately six hours. The vulnerability was confirmed by PatchStack, assigned CVE-2026-124251, and fixed, improving the security of thousands of sites. The report highlights how AI significantly lowers the barrier to vulnerability discovery, raising concerns about potential misuse by malicious actors. The CVSS score for the flaw is 8.8, indicating a high severity risk due to the potential for full site takeover via code execution. This case exemplifies the emerging landscape where AI accelerates vulnerability research but also elevates risks for defenders.