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
Tools/GitHubGitHub/7xd10/cve-2026-120318
Privilege EscalationVulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHub7xd10/cve-2026-120318

CVE-2026-120318

Proof-of-concept and advisory for CVE-2026-120318: missing authorization in WooCommerce Product Gallery Slider Codestar backup handlers enabling Shop Manager privilege escalation.

View Repository
217 days agoNot yet reviewed
Share

CVE-2026-120318

Product Gallery Slider for WooCommerce — missing authorization on the Codestar Framework backup handlers.

A WooCommerce Shop Manager can read, write and delete arbitrary wp_options rows, and by rewriting wp_user_roles promote every Subscriber to Administrator.

CVECVE-2026-120318
PluginProduct Gallery Slider & Additional Variation Images for WooCommerce (woo-product-gallery-slider)
VendorCodeixer
Affected>= 2.3.23, < 2.3.26
Fixed in2.3.26 (2026-10-31)
ClassMissing Authorization (CWE-862) → Privilege Escalation (CWE-269)
Privilege requiredmanage_woocommerce (Shop Manager)
CVSS 4.08.6 High — AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N (as published)
CVSS 3.18.8 High — AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H (analyst assessment, see CVSS)
ReporterYoussef Alaoui Hichami — LinkedIn · @7xd10

Why this range starts at 2.3.23

Through 2.3.22 the plugin's settings screen required manage_options, so only an Administrator could reach it and mint the csf_backup_nonce. 2.3.23 lowered that menu capability to manage_woocommerce, which is what puts the nonce — and therefore the three unguarded AJAX handlers — in reach of a Shop Manager. The handlers themselves were never guarded by current_user_can(); 2.3.26 finally added the check.

The three handlers

Registered with no capability check in includes/codestar/functions/actions.php:

ActionSinkEffect
csf-exportget_option( $_GET['unique'] )read any option
csf-importupdate_option( $_POST['unique'], $data )overwrite any array option
csf-resetdelete_option( $_POST['unique'] )delete any option

The only gate is wp_verify_nonce( $nonce, 'csf_backup_nonce' ), and that nonce is rendered as a data-nonce attribute on the settings page the Shop Manager can open.

Escalation

csf-import rejects non-array payloads, so the target is wp_user_roles — array-shaped by definition. Export it, copy administrator.capabilities over subscriber.capabilities, import it back. Every Subscriber on the site is now an Administrator, while still reading roles=subscriber.

CVSS

As published by VulnCheck — CVSS v4.0, 8.6 High:

CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
MetricValueReason
AVNadmin-ajax.php over plain HTTP
ACLThe nonce is printed in the settings page HTML; no race, no special condition
ATNNo additional attack conditions
PRHRequires a Shop Manager account (manage_woocommerce)
UINNo victim interaction — the attacker drives every request with their own session
VCHAny wp_options row readable, including API keys and SMTP credentials
VIHAny array-shaped option writable; wp_user_roles rewritten
VAHcsf-reset deletes siteurl, home, active_plugins, template
SC SI SANv4.0 scores no subsequent-system impact

Analyst assessment — CVSS 3.1, 8.8 High

Scored independently in v3.1 terms as AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H = 8.8.

The one parameter that differs from a plain S:U reading is S:U → S:C. A WooCommerce Shop Manager is scoped to one store's commerce data: orders, products, coupons. csf-export / csf-import / csf-reset let that account write wp_user_roles, which is not store data — it is the site's authentication and authorization authority. The vulnerable component (Codestar backup handlers, reachable at store-manager privilege) and the impacted component (site-wide role table, consumed by WP_User::has_cap()) are different components with different security authorities, which is what a scope change encodes in v3.1.

v3.1 metrics:

MetricValueReason
AVNadmin-ajax.php over HTTP
ACLNonce printed into the settings page HTML
PRHRequires a Shop Manager account
UINNo victim action
SCStore-scoped role → site-wide authorization authority
CHArbitrary wp_options read
IHArbitrary option write; wp_user_roles rewritten
AHArbitrary option delete

If shop_manager is scored as a low-privileged account rather than an administrative one, v3.1 yields AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H = 9.3. The record of authority is the 8.6 v4.0 score above; the v3.1 figures are here for readers who score in v3.1.

Proof of concept

python3 poc/poc.py --url http://target --user shopmgr --password 'secret'

The script logs in, harvests the nonce, demonstrates arbitrary option read, performs the wp_user_roles escalation, verifies it, and restores the original role table. Add --reset-option blogdescription for the arbitrary-delete proof; add --no-restore to leave the escalation in place.

A pure-curl walkthrough is in poc/poc.sh. The unedited run against WordPress 7.1.4 / WooCommerce 11.2.1 / plugin 2.3.25 is in evidence/transcript.txt.

Full write-up

advisory.md — root cause with verbatim source, the 2.3.26 diff, nonce provenance, step-by-step reproduction, impact and remediation.

Remediation

Upgrade to 2.3.26 or later. If that is not possible, add current_user_can( 'manage_options' ) to csf_export(), csf_import_ajax() and csf_reset_ajax(), or remove the three add_action() registrations.

Author

Youssef Alaoui Hichami

  • LinkedIn — https://ma.linkedin.com/in/youssef-alaoui-hichami
  • GitHub — @7xd10
  • Email — [email protected]

References

  • VulnCheck advisory — https://www.vulncheck.com/advisories/product-gallery-slider-for-woocommerce-2.3.23-before-2.3.26-missing-authorization-via-codestar-ajax
  • NVD — https://nvd.nist.gov/vuln/detail/CVE-2026-120318
  • CVE.org — https://www.cve.org/CVERecord?id=CVE-2026-120318
  • VulDB — https://vuldb.com/vuln/429833
  • Vendor changelog — https://wordpress.org/plugins/woo-product-gallery-slider/#developers

Disclaimer

Published for defensive purposes. The proof of concept is intended for use against systems you own or are explicitly authorised to test.

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.

    1.0k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    593
  • 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.

    371
  • 4

    redforge

    cybersecurity91/redforge

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

    336
  • 5

    ARTEX

    baarai/artex

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

    326
  • 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.

    322

Explore all tools

Browse our collection of tools

View all tools →