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-33439 — Pre-auth RCE exploit for OpenAM <=16.0.5 via Java deserialization of the jato.clientSession parameter, with comparator gadget chain and in-band command output. | Kitploit
Tools/GitHubGitHub/teovmp/cve-2026-33439
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubteovmp/cve-2026-33439

CVE-2026-33439

Pre-auth RCE exploit for OpenAM <=16.0.5 via Java deserialization of the jato.clientSession parameter, with comparator gadget chain and in-band command output.

View Repository
20 days agoNot yet reviewed
Share

CVE-2026-33439 — OpenAM ≤ 16.0.5 Pre-Auth RCE

Pre-authentication remote code execution in OpenIdentityPlatform OpenAM via unsafe Java deserialization of the jato.clientSession HTTP parameter.

CVSS 9.8 (Critical) · CWE-502 · unauthenticated · single HTTP request · fixed in 16.0.6

Independent exploit implementation of the vulnerability discovered and publicly disclosed by Rahul Maini & Hacktron AI (GHSA-2cqq-rpvq-g5qj, April 2026). For authorized security testing and research only — see Legal.

Background — the missed sibling

CVE-2021-35464 (2021) demonstrated pre-auth RCE in OpenAM via deserialization of jato.pageSession. The vendor fix wrapped that parameter in a WhitelistObjectInputStream. The sibling parameter jato.clientSession kept flowing into Encoder.deserialize() unfiltered — CVE-2026-33439 is the regression born from that incomplete fix.

Root cause

Any JATO ViewBean endpoint whose JSP renders <jato:form> tags (e.g. the Password Reset pages) reconstructs client-side state from the jato.clientSession GET/POST parameter:

ClientSession.deserializeAttributes()
  → Encoder.deserialize()
    → decodeHttp64 (Base64URL, no padding) → ObjectInputStream.readObject()   ← unfiltered

Gadget chain — comparator-based trigger

PriorityQueue.readObject()
 → heapify → compare()
  → Column$ColumnComparator.compare()              [click 2.3.0]
   → Column.getValue() → PropertyUtils getter
    → TemplatesImpl.getOutputProperties()          [xalan 2.7.3 / JDK]
     → defineTransletClasses() → newInstance()
      → static { } → arbitrary command execution

Why a comparator trigger? The classic BadAttributeValueExpException → toString() holder was hardened in modern JDKs (its readObject no longer calls toString() unconditionally), while PriorityQueue invoking Comparator.compare() during readObject remains portable across JDK versions — including the JDK 21 / Tomcat 10.1 deployments where OpenAM 16.x runs. See docs/TECHNICAL-NOTES.md.

What this implementation adds

FeatureDetail
Single-file orchestratorexploit/build.py embeds every Java source (translet + payload builder), auto-downloads build deps, compiles with JDK 21
In-band command outputThe translet recovers the live HttpServletRequest/Response from Tomcat's ApplicationFilterChain thread-locals (lastServicedRequest/Response) — command output is written directly into the HTTP response. No outbound callback required.
Runtime command controlThe cmd HTTP header selects the command per request — one payload, many commands
Dual payload variantsTemplatesImpl translet (default) · --jndi builds a JdbcRowSetImpl variant for rogue-LDAP scenarios
Multi-endpoint deliveryexploit/send_payload.py walks known JATO ViewBean endpoints with GET + POST fallback
Exact wire formatBase64URL without padding, matching JATO Encoder.decodeHttp64

Usage

Requirements: JDK 21 (JAVA_HOME), Python 3.

./setup.sh                                        # environment check
python3 exploit/build.py                          # compiles + writes payload.b64
python3 exploit/send_payload.py https://<openam-host>

Manual verification (command echo in the HTTP response):

curl -k -H "cmd: id" \
  "https://<openam-host>/openam/ui/PWResetUserValidation?jato.clientSession=<payload>"

Lab

cd lab && docker compose up -d
# finish the OpenAM configuration wizard at http://localhost:8080/openam (defaults)

Mitigation

  • Upgrade to OpenAM 16.0.6+
  • Strip or reject jato.* request parameters at the reverse proxy / WAF
  • Apply a JVM-wide JEP 290 deserialization filter as defense-in-depth
  • Alert on jato.clientSession appearing in request parameters

References

  • GHSA-2cqq-rpvq-g5qj — vendor advisory with root-cause analysis
  • NVD CVE-2026-33439
  • Hacktron AI — Pre-Auth RCE in OpenAM via jato.clientSession
  • CVE-2021-35464 — PortSwigger Research
  • OpenAM 16.0.6 release

Credits

  • Discovery & disclosure: Rahul Maini & Hacktron AI
  • This repository: independent exploit implementation by TeoVMP

Legal

Provided for authorized security testing, research and education only. Attack only systems you own or have explicit written permission to test. The author accepts no liability for misuse.

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.

    786
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

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

    429
  • 4

    redforge

    cybersecurity91/redforge

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

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

    262
  • 6

    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.

    256

Explore all tools

Browse our collection of tools

View all tools →