# aramosf/cve-2026-61500 architecture

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

- Interactive diagram: https://gitdiagram.com/aramosf/cve-2026-61500
- Repository: https://github.com/aramosf/cve-2026-61500

## Overview

This repository is a loopback-only proof of concept for CVE-2026-61500, plus a disposable Docker comparison lab. The main workflow is: an operator runs the PoC against HFS, which gathers unauthenticated login-cookie leaks, recovers the PRNG state and signing key, forges an administrator session, verifies access, and installs a server_code payload. The lab compares vulnerable and fixed HFS versions; its optional callback records a Docker-network reverse-shell demonstration. The workflow and lab links are documented in README; the PoC and callback implementation excerpts provide additional detail, while lab configuration files were not sampled.

Main entry points: [`cve-2026-61500-poc.py`](https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py) (PoC CLI), [`lab/docker-compose.yml`](https://github.com/aramosf/cve-2026-61500/blob/main/lab/docker-compose.yml) (Compose Lab), [`lab/callback-server.py`](https://github.com/aramosf/cve-2026-61500/blob/main/lab/callback-server.py) (Callback Recorder)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_exploit["Exploit PoC"]
  node_poc["PoC CLI"]
  node_leaks["Login Leak Collection"]
  node_prng["PRNG Recovery"]
  node_signing["Signing Key Recovery"]
  node_session["Admin Session Forge"]
  node_payload["Config Payload"]
end

subgraph group_lab["Comparison Lab"]
  node_labsetup["Compose Lab<br/>[docker-compose.yml]"]
end

subgraph group_callback["Callback Demo"]
  node_callback["Callback Recorder<br/>[callback-server.py]"]
end

node_operator(("Operator"))
node_hfs["HFS Target"]

node_operator -->|"runs"| node_poc
node_poc -->|"collects"| node_leaks
node_leaks -->|"requests login"| node_hfs
node_leaks -->|"provides outputs"| node_prng
node_prng -->|"recovers state"| node_signing
node_signing -->|"signs session"| node_session
node_poc -->|"checks access"| node_hfs
node_poc -->|"installs config"| node_payload
node_payload -->|"executes code"| node_hfs
node_operator -->|"starts comparison"| node_labsetup
node_labsetup -->|"runs versions"| node_hfs
node_hfs -.->|"connects shell"| node_callback

click node_poc "https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py"
click node_leaks "https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py"
click node_prng "https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py"
click node_signing "https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py"
click node_session "https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py"
click node_payload "https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py"
click node_labsetup "https://github.com/aramosf/cve-2026-61500/blob/main/lab/docker-compose.yml"
click node_callback "https://github.com/aramosf/cve-2026-61500/blob/main/lab/callback-server.py"

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_poc,node_leaks,node_prng,node_signing,node_session,node_payload toneBlue
class node_labsetup toneAmber
class node_callback toneMint
class node_operator,node_hfs toneIndigo
```

## Components

### Exploit PoC

- [PoC CLI](https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py): `cve-2026-61500-poc.py`
- [Login Leak Collection](https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py): `cve-2026-61500-poc.py`
- [PRNG Recovery](https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py): `cve-2026-61500-poc.py`
- [Signing Key Recovery](https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py): `cve-2026-61500-poc.py`
- [Admin Session Forge](https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py): `cve-2026-61500-poc.py`
- [Config Payload](https://github.com/aramosf/cve-2026-61500/blob/main/cve-2026-61500-poc.py): `cve-2026-61500-poc.py`

### Comparison Lab

- [Compose Lab](https://github.com/aramosf/cve-2026-61500/blob/main/lab/docker-compose.yml): `lab/docker-compose.yml`

### Callback Demo

- [Callback Recorder](https://github.com/aramosf/cve-2026-61500/blob/main/lab/callback-server.py): `lab/callback-server.py`

### Other components

- **Operator**
- **HFS Target**

## Connections

- Operator → PoC CLI: runs (evidence: `README.md`)
- PoC CLI → Login Leak Collection: collects (evidence: `cve-2026-61500-poc.py`)
- Login Leak Collection → HFS Target: requests login (evidence: `README.md`)
- Login Leak Collection → PRNG Recovery: provides outputs (evidence: `README.md`)
- PRNG Recovery → Signing Key Recovery: recovers state (evidence: `README.md`)
- Signing Key Recovery → Admin Session Forge: signs session (evidence: `README.md`)
- PoC CLI → HFS Target: checks access (evidence: `README.md`)
- PoC CLI → Config Payload: installs config (evidence: `README.md`)
- Config Payload → HFS Target: executes code (evidence: `README.md`)
- Operator → Compose Lab: starts comparison (evidence: `README.md`)
- Compose Lab → HFS Target: runs versions (evidence: `README.md`)
- HFS Target → Callback Recorder: connects shell (evidence: `README.md`)
