
PEACH
Un framework di isolamento del tenant
CVE-2026-12242 is a PHP Code Injection vulnerability in the AdRotate Banner Manager plugin for WordPress, affecting all versions up to and including 5.17.7. The flaw exists in the banner attribute of the adrotate shortcode and allows authenticated attackers with Contributor-level access or higher to execute arbitrary PHP code on the server. Exploitation requires W3 Total Cache or Borlabs Cache support to be enabled in AdRotate settings. It was disclosed on June 24, 2026, with a CVSS v3.1 base score of 8.8 (High) (GitHub Advisory, Wordfence).
The root cause is insufficient input validation and sanitization of the banner shortcode attribute (CWE-94: Improper Control of Generation of Code). The vulnerable code in adrotate-output.php (lines 265, 276, and 288) concatenates the unsanitized banner attribute value directly into a PHP code string that is wrapped in W3 Total Cache mfunc or Borlabs Cache fragment markers — mechanisms that evaluate embedded PHP at render time. An attacker with at least Contributor-level WordPress access can craft a malicious shortcode payload that, when the post or page is rendered, causes the caching plugin to execute the injected PHP code server-side (GitHub Advisory, WordPress Trac).
Successful exploitation grants an attacker full remote code execution on the web server, resulting in high confidentiality, integrity, and availability impact. An attacker could read sensitive files (e.g., wp-config.php containing database credentials), modify site content, install backdoors or web shells, and potentially pivot to other systems on the same network. The technical impact is classified as "total" by NVD SSVC analysis (GitHub Advisory, Wordfence).
[adrotate] shortcode with a malicious banner attribute containing injected PHP code. For example: [adrotate banner="1}); system('id'); /*"] — the payload is designed to break out of the PHP string context and inject arbitrary code that will be wrapped in the caching plugin's mfunc or fragment markers.mfunc/fragment block, executing the injected PHP on the server.wp-config.php), or escalate privileges for further lateral movement (GitHub Advisory, WordPress Trac).wp-admin/post.php or REST API endpoints from Contributor-level accounts containing adrotate shortcode content with unusual characters (e.g., system, exec, base64_decode, eval) in the request body.wp-config.php or .htaccess.sh, bash, curl, wget, or python executing system commands.mfunc evaluation errors or unusual PHP execution traces originating from adrotate-output.php (GitHub Advisory).Update the AdRotate Banner Manager plugin to a version newer than 5.17.7; a patch is referenced in the WordPress plugin changeset (WordPress Changeset). As an immediate workaround, disable W3 Total Cache and Borlabs Cache support in AdRotate settings, which removes the attack surface entirely since exploitation requires this integration. Additionally, restrict Contributor-level and above access to only trusted users, and audit existing Contributor accounts for unauthorized additions (Wordfence, GitHub Advisory).
The vulnerability was reported by Wordfence, which published the threat intelligence entry on June 24, 2026 (Wordfence). The advisory was also published to the GitHub Advisory Database on the same day. No significant broader media coverage or notable researcher commentary beyond the initial disclosure has been identified at this time.
Fonte: Questo report è stato generato utilizzando l'intelligenza artificiale
Valutazione gratuita delle vulnerabilità
Valuta le tue pratiche di sicurezza cloud in 9 domini di sicurezza per confrontare il tuo livello di rischio e identificare le lacune nelle tue difese.
Richiedi una demo personalizzata
"La migliore esperienza utente che abbia mai visto offre piena visibilità ai carichi di lavoro cloud."
"Wiz fornisce un unico pannello di controllo per vedere cosa sta succedendo nei nostri ambienti cloud."
"Sappiamo che se Wiz identifica qualcosa come critico, in realtà lo è."