MODULE

WordPress SureTriggers Auth Bypass and RCE

Try Surface Command Get a continuous 360° view of your attack surface
Back to Search

WordPress SureTriggers Auth Bypass and RCE

Disclosed
03/13/2025
Created
05/13/2025

Description

This module exploits an authorization bypass in the WordPress SureTriggers plugin (<= 1.0.78). It first creates a new administrator account via the unauthenticated REST endpoint, then uploads and executes a PHP payload using FileDropper for remote code execution.

Author(s)

  • Michael Mazzolini (mikemyers)
  • Khaled Alenazi (Nxploited)
  • Valentin Lobstein

Platform

Linux,PHP,Unix,Windows

Architectures

php, cmd

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/multi/http/wp_suretriggers_auth_bypass
msf exploit(wp_suretriggers_auth_bypass) > show targets
    ...targets...
msf exploit(wp_suretriggers_auth_bypass) > set TARGET < target-id >
msf exploit(wp_suretriggers_auth_bypass) > show options
    ...show and set options...
msf exploit(wp_suretriggers_auth_bypass) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;