Kic 2.4a denial of service Vulnerability / Exploit
/
/
/
Exploits / Vulnerability Discovered : 2019-10-01 |
Type : dos |
Platform : linux
This exploit / vulnerability Kic 2.4a denial of service is for educational purposes only and if it is used you will do on your own risk!
[+] Code ...
# Exploit Title: Ciftokic 2.4a - DoS Buffer Overflow
# Date: September 30, 2019
# Exploit Author: @JosueEncinar
# Software Link: http://launchpad.net/ubuntu/+source/kic/2.4a-1
# Version: 2.4a
# Tested on: Ubuntu 18.04
'''
If we check the ciftokic.c file on line 52 we see the following code: char CIFFile[81], *Tmp;.
In line 84 we have the problem with the following instruction: strcpy(CIFFile,argv[1]);
If the first argument is 80 characters or less, nothing happens, but if we put from 81 onwards the program fails with a Buffer Overflow.
'''
# To test the code use Python 3.6+
from os import system
from sys import argv