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-104736 — Python PoC and version checker for CVE-2026-104736, an unauthenticated PHP object injection in LearnPress ≤4.4.10 via the lp-ajax=checkout email parameter, with session-trigger and gadget verification. | Kitploit
Tools/GitHubGitHub/murrez/cve-2026-104736
Vulnerability ScannersPayload GenerationVulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration Testing
GitHubmurrez/cve-2026-104736

CVE-2026-104736

Python PoC and version checker for CVE-2026-104736, an unauthenticated PHP object injection in LearnPress ≤4.4.10 via the lp-ajax=checkout email parameter, with session-trigger and gadget verification.

View Repository
1 month agoNot yet reviewed
Website

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.

    901
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    861
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    668
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

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

    414
  • 6

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    401

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-104736 — LearnPress PHP object injection

PoCbit

Unauthenticated PHP object injection in the LearnPress WordPress LMS plugin (≤ 4.4.10). Guest checkout stores attacker-controlled data in the plugin session; affected builds deserialize it unsafely on read. Fixed in 4.4.11.

Authorized testing only. Do not point this tool at systems you do not own or lack written permission to test.

CVECVE-2026-104736
CVSS9.8 Critical
CWECWE-502 — Deserialization of Untrusted Data
AuthenticationNone (guest checkout AJAX)
Fixed versionLearnPress 4.4.11+
VectorPOST body/query: lp-ajax=checkout, parameter checkout-email

Overview

LearnPress is a popular LMS plugin for WordPress (courses, cart, checkout). It registers a custom AJAX front controller using the parameter lp-ajax (not the same as wp-admin/admin-ajax.php?action=..., though WordPress may still load during the request).

On vulnerable versions, the guest checkout handler accepts checkout-email, persists it in the LearnPress session, and later reads it through helper code that PHP-unserializes session values. Supplying a serialized PHP object can trigger property-oriented programming (POP) gadgets already present in WordPress core, LearnPress, or other plugins—potentially leading to remote code execution when a suitable chain exists.

This repository provides:

  • check mode — fingerprint LearnPress and compare version strings from exposed plugin files.
  • exploit mode (default) — automated course discovery, optional cart prep, multi-URL checkout inject, session trigger, and human-readable Verdict output.
  • chain.probe.txt — harmless stdClass blob for injection smoke tests (no code execution).

Full POP / RCE chain generation is documented in CHAINS.md (lab only; not committed to git).


Repository layout

PathDescription
poc.pyCLI entrypoint (check / exploit)
learnpress_core.pyFingerprint, REST/HTML course ID discovery, LP AJAX helpers
chain.probe.txtSafe serialized probe (committed)
CHAINS.mdphpggc, RCE/file-write chains, lab verification
SECURITY.mdResponsible use
GITHUB.mdPublish to GitHub
targets.example.txtExample target list format
tests/Unit tests (CI on push)

Root cause (technical)

Typical flow on ≤ 4.4.10 (see WordPress SVN tag 4.4.10):

  1. LP_Ajax registers checkout for logged-in and checkout:nopriv for guests.
  2. LP_Checkout::process_checkout_handler() reads checkout-email from the request and, if non-empty, calls LearnPress::instance()->session->set( 'checkout-email', ... ) before full checkout validation completes.
  3. On subsequent requests, LP_Session_Handler::get() (via LP_Helper::maybe_unserialize()) may deserialize stored session values.

Reference files:

  • inc/class-lp-checkout.php (4.4.10)
  • inc/class-lp-ajax.php (4.4.10)

4.4.11+ hardens this path (do not treat 4.4.11+ as exploitable via this issue).

Version nuance: checkout-email sanitization

In 4.4.10, checkout-email is read with an email sanitizer (sanitize_email). That can strip or corrupt raw serialized strings (O:8:"stdClass"...), so exploitation may depend on exact version and filter behavior. Older branches (e.g. 4.1.x) may behave differently. Always confirm in a lab (session DB row, logs, or a known gadget), not only from HTTP messages.


Attack flow

sequenceDiagram
    participant A as Attacker
    participant W as WordPress / LearnPress
    participant S as LP session store

    A->>W: POST lp-ajax=checkout, checkout-email=serialized
    W->>S: session set checkout-email
    W-->>A: LP AJAX JSON e.g. cart_empty or success
    A->>W: GET checkout or home same cookies
    W->>S: session get
    S-->>W: maybe_unserialize attacker object
    Note over W: POP gadgets if classes exist

Minimal HTTP shape (manual)

POST / HTTP/1.1
Host: lab.local
Content-Type: application/x-www-form-urlencoded

lp-ajax=checkout&checkout-email=O%3A8%3A%22stdClass%22%3A1%3A%7Bs%3A4%3A%22test%22%3Bs%3A3%3A%22pwn%22%3B%7D

Optional (when scraped): learn-press-checkout-nonce=...

Responses often wrap JSON between <!-- LP_AJAX_START --> and <!-- LP_AJAX_END -->.


Installation

git clone https://github.com/YOUR_USER/CVE-2026-104736.git
cd CVE-2026-104736
pip install -r requirements.txt

Requirements: Python 3.10+, network access to the target (lab).


Quick start

# Version / exposure check only
python poc.py --mode check -u https://lab.local

# Default exploit (smart: REST course IDs, cart cap, multi-URL inject)
python poc.py -u https://lab.local

# Fast inject test without cart noise
python poc.py -u https://lab.local --payload-file chain.probe.txt --no-cart

# Machine-readable output
python poc.py -u https://lab.local --json -o result.json

Check mode

python poc.py --mode check -u https://example.com
python poc.py --mode check -f targets.txt -o results.jsonl

Behavior:

  • Fetches the site homepage for WordPress / LearnPress HTML hints.
  • Attempts wp-content/plugins/learnpress/readme.txt and learnpress.php for Stable tag / Version.
  • Emits JSON status: vulnerable, patched, learnpress_not_detected, learnpress_unknown_version, unreachable.

Limits: Hidden version files, caching, or WAF may yield unknown_version even when LearnPress is installed. Exploit mode can still be attempted with --skip-version-check in authorized labs.


Exploit mode (default)

Pipeline (smart mode, on by default)

StepWhat the PoC does
1. FingerprintLearnPress version from readme/plugin header when exposed
2. ContextDiscover checkout URL, optional nonce, POST URL candidates
3. Course IDsREST first: wp-json/wp/v2/lp_course, learnpress/v1/courses; then HTML scrape / course permalinks
4. Cart (optional)Try add-to-cart / purchase-course on course URL + home (capped at --cart-max-posts, default 10)
5. InjectPOST lp-ajax=checkout + checkout-email=<payload> to several URLs; pick best LP AJAX response
6. TriggerGET checkout page and homepage with same session cookies

Disable smart behavior: --no-smart (single POST to / only). Skip cart entirely: --no-cart (recommended for pure inject testing).

Example commands

python poc.py -u https://lab.local
python poc.py -u https://lab.local --payload-file chain.probe.txt --no-cart
python poc.py -u https://lab.local --payload-file chain.txt --no-cart
python poc.py -u https://lab.local --payload-file chain.txt --gadget-expect "uid="
python poc.py -f targets.txt -o batch.jsonl --quiet

Payload files

FileIn git?Purpose
chain.probe.txtYesHarmless stdClass — injection / handler reachability
Download Tool