git404hub

what is wp2shell-union-based fr?

lbherrera/wp2shell-union-based — explained in plain English

Analysis updated 2026-05-18

14PythonAudience · ops devopsComplexity · 2/5Setup · easy

tl;dr

A Python proof of concept exploit for a union based SQL injection bug in WordPress core, for authorized security testing only.

vibe map

mindmap
  root((repo))
    What it does
      Exploits WordPress SQLi
      Dumps database rows
    Tech stack
      Python
      Raw HTTP requests
    Use cases
      Authorized pentest checks
      Security research
      CVE reproduction
    Audience
      Security researchers
      Pentesters
      Bug bounty hunters

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

what do people make with this?

VIBE 1

Verify whether a WordPress site you are authorized to test is vulnerable to this union based SQL injection.

VIBE 2

Run arbitrary SELECT queries against a test WordPress database to confirm the flaw's impact.

VIBE 3

Reproduce the Searchlight Cyber and Assetnote research findings in a controlled lab environment.

VIBE 4

Study the query structure to understand how union based SQL injection against WordPress core works.

what's the stack?

Python

how it stacks up fr

lbherrera/wp2shell-union-based0c33/agentic-aiadennng/stock_strategy_lab
Stars141414
LanguagePythonPythonPython
Setup difficultyeasyhardhard
Complexity2/54/54/5
Audienceops devopsdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

how do i run it?

Difficulty · easy time til it works · 5min

Requires Python 3 and a target WordPress site you are explicitly authorized to test.

No license file is included, so the legal terms for reuse of this code are unclear beyond the stated authorized-use-only restriction.

in plain english

This repository is a small proof of concept security tool that demonstrates a union based SQL injection vulnerability found in WordPress core, referred to here as wp2shell. It is written in Python and consists of a single exploit script rather than a full application or library, so there is little to install beyond having Python 3 available. The tool works against a target WordPress site by sending a crafted request that lets an attacker run arbitrary SELECT statements directly against the site's database, and printing the results back to the terminal. The README shows two example uses: running a generic query such as asking the database for its version, and a more specific command that extracts every username and password hash from the WordPress users table in one go. This second example shows the real risk behind the underlying flaw, since successfully pulling password hashes from a live site would let an attacker attempt to crack admin credentials offline. The README points to public research from Searchlight Cyber and Assetnote describing this as a pre authentication remote code execution issue tied to the WordPress 7.0.2 release, meaning the underlying bug allows an unauthenticated attacker to reach the database without ever logging in first. The project states plainly that it exists only for authorized security testing and educational purposes, and that it must only be used against systems the user owns or has explicit written permission to test. There is no setup guide beyond the two example commands, no configuration file, and no license file included in the repository, so anyone using or redistributing the code should treat its legal status as unclear beyond the stated authorized use warning.

prompts (copy fr)

prompt 1
Explain in plain terms how this union based SQL injection script works and why it can read WordPress user data.
prompt 2
Help me set up an isolated WordPress test site so I can safely try this exploit for authorized research only.
prompt 3
Walk me through the Searchlight Cyber and Assetnote research this tool is based on.
prompt 4
Suggest how a WordPress site owner could patch or mitigate the vulnerability this script targets.

Frequently asked questions

what is wp2shell-union-based fr?

A Python proof of concept exploit for a union based SQL injection bug in WordPress core, for authorized security testing only.

What language is wp2shell-union-based written in?

Mainly Python. The stack also includes Python.

What license does wp2shell-union-based use?

No license file is included, so the legal terms for reuse of this code are unclear beyond the stated authorized-use-only restriction.

How hard is wp2shell-union-based to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is wp2shell-union-based for?

Mainly ops devops.

peek the repo → explain another one

This repo across BitVibe Labs

double-check against the repo, no cap.