Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-6325_CVE-2025-6327 — Python PoC validating CVE-2025-6325 unauthenticated privilege escalation and CVE-2025-6327 arbitrary file upload RCE in King Addons for Elementor <= 51.1.36. | Kitploit
Tools/GitHubGitHub/johenlastgen-jlg/cve-2025-6325_cve-2025-6327
Privilege EscalationVulnerability ScannersVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingRed TeamingCrawler

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share
Payload Development
GitHubjohenlastgen-jlg/cve-2025-6325_cve-2025-6327

CVE-2025-6325_CVE-2025-6327

Python PoC validating CVE-2025-6325 unauthenticated privilege escalation and CVE-2025-6327 arbitrary file upload RCE in King Addons for Elementor <= 51.1.36.

View Repository
8h 1m agoNot yet reviewed

CVE-2025-6325 + CVE-2025-6327

King Addons for Elementor — Dual Exploit PoC

Research and validation tool for King Addons for Elementor <= 51.1.36, covering two documented vulnerabilities:

  • CVE-2025-6325 — Unauthenticated Privilege Escalation
  • CVE-2025-6327 — Unauthenticated Arbitrary File Upload leading to RCE

For authorized security testing, vulnerability research, and controlled lab environments only.


Overview

This project provides a dual-purpose PoC for validating the security impact of two vulnerabilities in King Addons for Elementor.

CVE-2025-6325

Unauthenticated privilege escalation through the King Addons registration functionality.

The vulnerable flow accepts a client-controlled user_role value and passes it to WordPress user creation without enforcing an appropriate role allowlist.

Affected version: <= 51.1.36 Patched version: 51.1.37

The vulnerable registration flow uses:

root@kitploit:~
POST /wp-admin/admin-ajax.php
action=king_addons_user_register
user_role=administrator

The PoC also verifies whether the created account can authenticate and access the WordPress users administration page.

CVE-2025-6327

Unauthenticated arbitrary file upload through the King Addons form builder upload functionality.

The vulnerable upload handler can incorrectly accept a PHP file, resulting in a web-accessible uploaded file and potential server-side code execution.

Affected version: <= 51.1.36 Patched version: 51.1.37

The relevant AJAX action is:

root@kitploit:~
POST /wp-admin/admin-ajax.php
action=king_addons_upload_file

The PoC validates the upload flow and checks whether the uploaded test file can execute a benign id command.


Features

  • Dual vulnerability validation
  • CVE-2025-6325 privilege-escalation validation
  • CVE-2025-6327 upload/RCE validation
  • Passive nonce discovery mode
  • Single-target testing
  • Batch target list support
  • Multi-threaded execution
  • Automatic page crawling
  • Sitemap discovery
  • Configurable crawler depth
  • Configurable maximum pages
  • Configurable HTTP timeout
  • TSV result output
  • Successful validation / loot output
  • Optional colorless terminal output
  • Python standard library only

The script supports four operation modes:

root@kitploit:~
check
privesc
upload
both

These modes are exposed directly by the command-line interface.


Requirements

Python 3 is required.

No third-party Python packages are required.

Check your Python version:

root@kitploit:~
python3 --version

Usage

Single Target

Run both vulnerability checks:

root@kitploit:~
python3 exploit.py -u http://target.local --exploit both

Passive Check

Discover exposed King Addons nonces without running the exploit stages:

root@kitploit:~
python3 exploit.py -u http://target.local --exploit check

Privilege Escalation Validation

root@kitploit:~
python3 exploit.py -u http://target.local --exploit privesc

Upload/RCE Validation

root@kitploit:~
python3 exploit.py -u http://target.local --exploit upload

Batch Targets

Create a target file:

root@kitploit:~
http://target1.local
https://target2.local
http://target3.local

Comments and empty lines are ignored.

Run a passive assessment:

root@kitploit:~
python3 exploit.py -l targets.txt --exploit check

Run both validation stages:

root@kitploit:~
python3 exploit.py -l targets.txt --exploit both -t 20

Run upload validation:

root@kitploit:~
python3 exploit.py -l targets.txt --exploit upload -t 20

Run privilege-escalation validation:

root@kitploit:~
python3 exploit.py -l targets.txt --exploit privesc -t 20

Crawler Options

The PoC automatically searches target pages for the nonces required by the two vulnerable flows.

Default crawler settings:

root@kitploit:~
Depth      : 3
Max pages  : 80
Timeout    : 20 seconds
Threads    : 10

These defaults are defined in the script's CLI configuration.

Example:

root@kitploit:~
python3 exploit.py \
  -l targets.txt \
  --exploit both \
  -t 20 \
  --depth 3 \
  --max-pages 80 \
  --timeout 20

Command-Line Options

The script defaults to results.tsv for structured results and loot.txt for successful validation entries.


Output

During execution, the tool reports several states.

SHELL

Indicates that the upload validation succeeded and the test PHP file responded to the verification request.

Example:

root@kitploit:~
PWNED [SHELL]

PRIV

Indicates that the privilege-escalation validation created an account using the vulnerable registration flow.

The tool additionally records whether the account was verified against the WordPress users administration page.

VERIFIED

The created account was successfully authenticated and confirmed on the WordPress users page.

UNVERIFIED

The registration request succeeded, but the subsequent verification step could not confirm the resulting account.

CLEAN

No successful validation result was obtained.

ERR

The target produced a network, parsing, crawling, or other execution error.


Results

Structured results are written as TSV:

root@kitploit:~
results.tsv

The output contains fields for:

root@kitploit:~
target
status
shell_url
shell_rce
priv_user
priv_pwd
priv_verified
err

This format is useful for importing results into spreadsheets or further processing.

Successful validation entries are additionally written to:

root@kitploit:~
loot.txt

The script writes shell and privilege-validation results as separate entries.


Vulnerability Flow

CVE-2025-6325

root@kitploit:~
Visitor
   │
   ▼
Public King Addons Register Form
   │
   ▼
Nonce discovery
   │
   ▼
king_addons_user_register
   │
   ▼
Client-controlled user_role
   │
   ▼
WordPress user creation
   │
   ▼
Privilege escalation validation

The PoC specifically submits:

root@kitploit:~
user_role=administrator

to the registration endpoint.

CVE-2025-6327

root@kitploit:~
Visitor
   │
   ▼
King Addons Form Builder
   │
   ▼
Upload nonce discovery
   │
   ▼
king_addons_upload_file
   │
   ▼
PHP test file upload
   │
   ▼
Uploaded file URL
   │
   ▼
Benign execution verification

The PoC uses a uniquely generated test filename and checks the returned upload URL.


Lab Verification

The research implementation was tested against:

root@kitploit:~
WordPress 6.8 / 7.1
Elementor 4.2.3
King Addons 51.1.14

The research notes report successful validation of both flows in a controlled lab environment, including privilege escalation and shell execution. A negative control was also tested against version 51.1.37.


Important Version Note

The research notes indicate that some WordPress.org ZIP releases for 51.1.35 and 51.1.36 were subsequently retagged with partial fixes.

The vulnerable implementation was therefore confirmed using the referenced SVN tag 51.1.14.

If reproducing the research, use the exact lab version and package identified by the research rather than assuming every package labeled 51.1.35 or 51.1.36 contains identical vulnerable code.


Responsible Use

This project is intended for:

  • Authorized penetration testing
  • Vulnerability research
  • Security validation
  • CTF environments
  • Local testing laboratories
  • Defensive security research

Only test systems for which you have explicit authorization.

Do not use this project against third-party infrastructure without permission.

The author does not encourage unauthorized access, persistence, data theft, or disruption of systems.


Disclaimer

This software is provided for security research and authorized testing purposes.

You are responsible for ensuring that your use of this project complies with applicable laws, regulations, contracts, and authorization requirements.

The author and contributors assume no responsibility for misuse, damage, service disruption, data loss, or other consequences resulting from unauthorized use.


Author

JohenLastGen — JLG NETWORK

Research & Security Tooling

Telegram:

@johenlastgen

Channel:

@jlgnetworkredirect


License

MIT License

See LICENSE for the full license text.

Download Tool
OptionDescription
-u, --urlTest a single target URL
-l, --listFile containing target URLs
-e, --exploitSelect check, privesc, upload, or both
-t, --threadsNumber of concurrent workers
--depthMaximum crawler link depth
--max-pagesMaximum pages crawled per target
--timeoutHTTP request timeout in seconds
-o, --outputTSV results output
--lootSuccessful validation output
--no-colorDisable terminal colors