MS-DOS · Report #5499
Arbitrary command execution in MS-DOS
Validstatus
5upvotes
1 Apr 2014disclosed
How it was found
Versions 1.1 and 2.0 of MS-DOS allow a malicious actor to execute arbitrary system commands via the main application interface.
Prerequisites:
- MS-DOS 1.1 or MS-DOS 2.0 installation
- Input device (e.g. keyboard)
Steps to reproduce:
- Enter the command mode
- Type
VERto make sure that the system is on of the affected versions - Pass a known system command like
HELPto see that the system responds correctly - Use
EXEC PROGRAM_NAME.BATto execute arbitrary programs
See PoC below.