# overflowed7/cve-2026-12118-poc architecture

> Architecture diagram of the GitHub repository overflowed7/cve-2026-12118-poc, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/overflowed7/cve-2026-12118-poc
- Repository: https://github.com/overflowed7/cve-2026-12118-poc

## Overview

This repository is a proof of concept for an unauthenticated deserialization vulnerability in IBM webMethods Integration. Its workflow is to compile a selected Java payload, encode the class bytes into a webMethods-formatted binary payload, then POST that payload to the target endpoint. Payload choices include a DNS callback, a Linux bash reverse shell, and a Windows PowerShell reverse shell. The target’s deserialization and execution internals are external to this repository; those relationships are documented by the README rather than implemented here.

Main entry points: [`build_payload.py`](https://github.com/overflowed7/cve-2026-12118-poc/blob/main/build_payload.py) (Binary payload builder), [`payloads/OOBProbe.java`](https://github.com/overflowed7/cve-2026-12118-poc/blob/main/payloads/OOBProbe.java) (DNS callback payload), [`payloads/bashRCE.java`](https://github.com/overflowed7/cve-2026-12118-poc/blob/main/payloads/bashRCE.java) (Bash reverse shell), [`payloads/cmdRCE.java`](https://github.com/overflowed7/cve-2026-12118-poc/blob/main/payloads/cmdRCE.java) (Windows reverse shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_generation["Payload generation"]
  node_builder["Binary payload builder<br/>[build_payload.py]"]
end

subgraph group_payloads["Payload behaviors"]
  node_oob["DNS callback payload<br/>[OOBProbe.java]"]
  node_bash["Bash reverse shell<br/>[bashRCE.java]"]
  node_windows["Windows reverse shell<br/>[cmdRCE.java]"]
end

subgraph group_target["Target interaction"]
  node_http["HTTP POST client"]
  node_service["webMethods endpoint"]
end

node_tester(("Security tester"))
node_callback(("DNS callback service"))

node_tester -->|"runs builder"| node_builder
node_tester -->|"sends payload"| node_http
node_builder -->|"embeds class bytes"| node_oob
node_builder -->|"embeds class bytes"| node_bash
node_builder -->|"embeds class bytes"| node_windows
node_http -->|"POSTs binary"| node_service
node_service -.->|"deserializes and loads"| node_oob
node_service -.->|"deserializes and loads"| node_bash
node_service -.->|"deserializes and loads"| node_windows
node_oob -->|"resolves DNS"| node_callback

click node_builder "https://github.com/overflowed7/cve-2026-12118-poc/blob/main/build_payload.py"
click node_oob "https://github.com/overflowed7/cve-2026-12118-poc/blob/main/payloads/OOBProbe.java"
click node_bash "https://github.com/overflowed7/cve-2026-12118-poc/blob/main/payloads/bashRCE.java"
click node_windows "https://github.com/overflowed7/cve-2026-12118-poc/blob/main/payloads/cmdRCE.java"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_builder toneBlue
class node_oob,node_bash,node_windows toneAmber
class node_http,node_service toneMint
class node_tester,node_callback toneIndigo
```

## Components

### Payload generation

- [Binary payload builder](https://github.com/overflowed7/cve-2026-12118-poc/blob/main/build_payload.py): `build_payload.py`

### Payload behaviors

- [DNS callback payload](https://github.com/overflowed7/cve-2026-12118-poc/blob/main/payloads/OOBProbe.java): `payloads/OOBProbe.java`
- [Bash reverse shell](https://github.com/overflowed7/cve-2026-12118-poc/blob/main/payloads/bashRCE.java): `payloads/bashRCE.java`
- [Windows reverse shell](https://github.com/overflowed7/cve-2026-12118-poc/blob/main/payloads/cmdRCE.java): `payloads/cmdRCE.java`

### Target interaction

- **HTTP POST client**
- **webMethods endpoint**

### Other components

- **Security tester**
- **DNS callback service**

## Connections

- Security tester → Binary payload builder: runs builder (evidence: `README.md`)
- Security tester → HTTP POST client: sends payload (evidence: `README.md`)
- Binary payload builder → DNS callback payload: embeds class bytes (evidence: `README.md`)
- Binary payload builder → Bash reverse shell: embeds class bytes (evidence: `README.md`)
- Binary payload builder → Windows reverse shell: embeds class bytes (evidence: `README.md`)
- HTTP POST client → webMethods endpoint: POSTs binary (evidence: `README.md`)
- webMethods endpoint → DNS callback payload: deserializes and loads
- webMethods endpoint → Bash reverse shell: deserializes and loads
- webMethods endpoint → Windows reverse shell: deserializes and loads
- DNS callback payload → DNS callback service: resolves DNS (evidence: `payloads/OOBProbe.java`)
