Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 443 Bytes

README.md

File metadata and controls

16 lines (13 loc) · 443 Bytes

FAUST CTF 2021 Challenge: veighty-machinery

General

A simple stack-based virtual machine in C.

Build

Build:

$ make -C chall

Vulnerability

The swap instruction fails to check if there are at least two values on the stack. This allows the modification of the stack pointer, which is stored in front of the stack. Subsequently, out-of-bound access on the heap is possible.