
Full Format String Exploitation Chain
Realistic Ground Maintenance Attack on F-16 Avionics
This repository contains a Proof of Concept (PoC) for CVE-2019-7711 — a Format String vulnerability in the Interpeak IPCOMShell TELNET server (part of Green Hills INTEGRITY RTOS 5.0.4).
The exploit demonstrates a realistic full attack chain targeting the F-16 Fighting Falcon (Block 60 and similar) Color Display Processor (CDP) and mission systems during ground maintenance.
flowchart TD
A[Start: TELNET Connection\nGround Maintenance Interface] --> B[Login: admin / password]
B --> C[Phase 1: Memory Leak]
C --> D[Send prompt command\nwith %p %x %s payloads]
D --> E[Leak: Stack Addresses, Pointers\n& Task Handlers]
E --> F[Defeat ASLR / Randomization]
F --> G[Phase 2: Arbitrary Memory Write]
G --> H[Send %n Primitive]
H --> I[Overwrite Function Pointer\nor Scheduler Callback]
I --> J[Phase 3: Trigger]
J --> K[Send exit / reboot command]
K --> L[Control Flow Hijack]
L --> M[Potential Code Execution in RTOS Partition]
style A fill:#1a1a1a,stroke:#00ff00
style M fill:#8B0000,stroke:#ffcc00,color:#fff
%n primitivepython3 exploit.py <target_ip> [--lhost <your_ip>] [--lport <your_port>]
Example:
python3 exploit.py 192.168.1.100
%n offset in Phase 2 based on the leak⭐ Star this repository if you find it useful for aviation cybersecurity research!
⚠️ Legal Note: This information is based on publicly known vulnerabilities from 2019. Used for educational purposes only.