# CVE-2026-114938 — what this package proves ## Authoritative proof (stage 2 only) Run on the **Linux host that owns the vulnerable JVM**: ```bash bash live_onhost.sh /var/tmp/java4shell-live.json ``` **Pass:** exit code `0`, stdout has a line that is exactly `REPRODUCED`, plus one signature: `rejected=true changed=62 first=50 last=111` (64eq) or `rejected=true changed=62 first=98 last=159` (128eq). Until that JSON exists, the CVE is **not** reproduced — regardless of scanner hits, HTTP 5xx, or in-process exploit demos. Required on that host: | Check | Tool | |--------|------| | `avx512f`, `avx512bw`, `avx512vbmi`, `bmi2` | `host_check.sh` | | `UseBASE64Intrinsics=true` | `host_check.sh` | | `UseAVX=3` | `host_check.sh` | | Unpatched JDK 17/21/25/27 line | `host_check.sh` | | 62-byte OOB signature | `poc/Base64Trigger.java` | ## What HTTP tools do (and do not) | Capability | Tools | Proves CVE? | |------------|-------|-------------| | Product / banner inventory | `scanner.py` | No | | JDK banner guess | `scanner.py` | No (no CPU, no HotSpot flags) | | Host CPU + HotSpot flags | `host_check.sh` | Preconditions only | | Deliver malformed tail on the wire | `exploit.py`, `live_poc.py` | No (no offset-50 observability) | | JIT HTTP warm-up | `chain/stage3_grooming.py` | No (not G1/TLAB grooming) | | In-process corruption | `live_onhost.sh` | **Yes** | 502/503/reset may be a crash **signal**; it is equally consistent with proxies, WAFs, or timeouts. ## Stages 4–7 (in-process, research only) Stages 4–7 are wired to `exploit/*.java` and run in-process with `--inprocess`: | Stage | Java source | What it demonstrates | Proves CVE? | |-------|-------------|---------------------|-------------| | 4. Heap leak | `exploit/JavaBleed.java` | Writer→reader length corruption → heap disclosure | No | | 5. Arbitrary write | `exploit/WriterPrimitive.java` | Adjacent array length corruption → OOB write | No | | 6. Primitive chain | `exploit/Java4ShellExploit.java` | WARM→SPRAY→TRIGGER→DISCLOSE→REPAIR | No | | 7. Shell | `exploit/RemoteExploitSim.java` | HTTP Basic Auth vector simulation + listener | No | These demonstrate the primitive escalation inside one JVM process. They do **not** constitute a universal pre-auth RCE — Calif withheld the per-product finish bytes. `shell_achieved` is never auto-set. ## End-to-end verdict ```bash python3 verify_e2e.py \ --host /var/tmp/java4shell-live.json.host.json \ --onhost /var/tmp/java4shell-live.json \ --chain evidence/chain_report.json \ -o evidence/e2e_verdict.json ``` Exit `0` ⇔ CVE heap corruption proven (stage 2 signature). Exit `1` ⇔ not proven. ## False negatives - **128eq:** `Base64Trigger` tries both variants automatically. - **Wrong `java` binary:** Service JVM may differ from `java` on PATH — run on the service host. - **Mitigation / patch:** `-XX:-UseBASE64Intrinsics` or fixed build → correct `NOT REPRODUCED`. ## False positives - `scanner.py` cannot see CPU or intrinsics — always run `host_check.sh` on the JVM host. - Banner version ≠ runtime on the process that decodes Base64.