Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-22710 — PoC of CVE-2025-22710 | Kitploit
Tools/GitHubGitHub/dottak/cve-2025-22710
Vulnerability AnalysisCode AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubdottak/cve-2025-22710

CVE-2025-22710

PoC of CVE-2025-22710

View Repository
2361 year agoNot yet reviewed
Share

CVE-2025-22710

1️⃣ Component type

WordPress plugin

2️⃣ Component details

Component name WooCommerce Advanced Bulk Edit Products, Orders, Coupons, Any WordPress Post Type – Smart Manager

Vulnerable version <= 8.50.0

Component slug smart-manager-for-wp-e-commerce

Component link https://wordpress.org/plugins/smart-manager-for-wp-e-commerce/

3️⃣ OWASP 2017: TOP 10

Vulnerability class A3: Injection

Vulnerability type SQL Injection

4️⃣ Pre-requisite

Administrator

5️⃣ Vulnerability details

👉 Short description

The WooCommerce Advanced Bulk Edit Products, Orders, Coupons, Any WordPress Post Type – Smart Manager (hereafter Smart Manager) plugin is a plugin that allows bulk editing and viewing of all post types in WordPress.

In Smart Manager plugin version 8.50.0 and below, when using the advanced search function for viewing posts, an SQL Injection vulnerability occurs because filtering values are passed to database queries without escape processing.

However, while the direct results of SQL Injection attacks cannot be seen on the screen, Blind SQL Injection is possible through differences in response values based on true/false conditions.

👉 How to reproduce (PoC)

⚠️ At least one post must exist to observe the difference in response values based on true/false conditions.

  1. Prepare a WordPress site with the Smart Manager plugin installed, log in with an administrator account, and navigate to the Smart Manager plugin's dashboard page (/wp-admin/admin.php?page=smart-manager).

image

  1. Click the 'Advanced Search' checkbox on the right side of the search bar to open the advanced search window.

image

  1. In the advanced search filtering, select 'Post Title' and 'is', then enter the payload ' OR 1=1 )) # in the text input form. After that, click the search button at the top.

image

  1. When checking the search results, since the payload's condition is always true (OR 1=1), all posts are retrieved.

image

  1. On the other hand, if you select 'Post Title' and 'is' in the advanced search filtering and enter ' OR 1=2 )) # in the text input form, no posts will be retrieved because the condition is always false (OR 1=2).

image

image

👉 Additional information (optional)

[Cause of Vulnerability]

When executing the 'Advanced Search' function requested in the PoC description above, the following packet is generated, and the filtering values (Post Title, is, ' OR 1=1 )) #) entered in the advanced search are input into the request data advanced_search_query.

advanced_search_query=[{"condition":"OR","rules":[{"condition":"AND","rules":[{"type":"wp_posts.post_title","operator":"is","value":"' OR 1=1 )) #"}]}]}]

image

When this packet is requested, the get_data_model function in the /wp-content/plugins/smart-manager-for-wp-e-commerce/classes/class-smart-manager-base.php file is called, and performs database queries in the following order.

  1. If the request data advanced_search_query exists, it calls the process_search_cond function. At this time, the request data advanced_search_query is passed to the value with key search_query in the key-value pair argument.

    search_query=[{"condition":"OR","rules":[{"condition":"AND","rules":[{"type":"wp_posts.post_title","operator":"is","value":"' OR 1=1 )) #"}]}]}]
    

    image

  2. The called function process_search_cond iterates through the value with key search_query, initializes the filtering value Post Title(post_tile) in the variable $search_col, and initializes the filtering value ' OR 1=1 )) # containing the SQL Injection payload in the variable $search_value.

    image

  3. The variables $search_col and $search_value are passed to the $search_params array's keys search_col(=post_title) and search_value(=' OR 1=1 )) #) respectively. Subsequently, this $search_params variable is passed as a value with key search_params to the function create_flat_table_search_query.

    image

  4. Subsequently, the create_flat_table_search_query function defines the SQL query's WHERE clause, and at this point, the search_value(=' OR 1=1 )) #) of the key search_params passed as an argument is included in the WHERE clause without any escape processing.

    image

  5. Then, the return value of the function create_flat_table_search_query (containing the SQL Injection payload) is passed as an argument to the function process_flat_table_search_query.

    image

  6. The function process_flat_table_search_query constructs a database query using the received argument, initializing the variables $select, $from, and $where. Here, we can see that the SQL Injection payload is passed directly to the variable $where without any validation.

    image

  7. The variables $select, $from, $where are directly assigned to the variable $query_posts_search, and this variable is ultimately passed as an argument to the function that performs the database query.

    image

In the advanced search function, user input (' OR 1=1 )) #) is directly included in the database query without escape processing, resulting in an SQL Injection vulnerability. This vulnerability allows attackers to execute arbitrary SQL queries, potentially leading to serious security risks such as leaking or manipulating sensitive information from the database.

[PoC Code Implementation and Execution]

⚠️ The PoC code implementation queries the database name by exploiting the SQL Injection vulnerability.

  1. Open the PoC code in an editor and enter the WordPress site address and administrator credentials.

    image

  2. Then enter the following command to run the PoC code.

    Required modulerequests

    python poc.py
    

    image

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    851
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    538
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    420
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    357
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    297
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    280

Explore all tools

Browse our collection of tools

View all tools →