module

Wordpress LiteSpeed Cache plugin cookie theft

Disclosed
2024-09-04
Created
2024-09-17

Description

This module exploits an unauthenticated account takeover vulnerability in LiteSpeed Cache, a Wordpress plugin
that currently has around 6 million active installations. In LiteSpeed Cache versions prior to 6.5.0.1, when
the Debug Logging feature is enabled, the plugin will log admin cookies to the /wp-content/debug.log endpoint
which is accessible without authentication. The Debug Logging feature in the plugin is not enabled by default.
The admin cookies found in the debug.log can be used to upload and execute a malicious plugin containing a payload.

Authors

Rafie Muhammad
jheysel-r7

Platform

Linux,PHP,Unix,Windows

Architectures

php, cmd

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_litespeed_cookie_theft
msf exploit(wp_litespeed_cookie_theft) > show targets
...targets...
msf exploit(wp_litespeed_cookie_theft) > set TARGET < target-id >
msf exploit(wp_litespeed_cookie_theft) > show options
...show and set options...
msf exploit(wp_litespeed_cookie_theft) > exploit

Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.