{"exploit":{"id":"EDB-40285","name":"Ocomon 2.0 - SQL Injection (SQLi)","description":"Ocomon 2.0 - SQL Injection (SQLi)","cves":["CVE-2005-4664"],"author":"Jonatas Fil","published":"2016-08-22","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/40285","path":"exploits/php/webapps/40285.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-40285.txt","vulnerabilities":[{"id":"CVE-2005-4664","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in OcoMon 1.21, and possibly other versions, when magic_quotes_gpc is disabled, allows remote attackers to execute arbitrary SQL commands via the logon page, a different vulnerability than CVE-2005-4662.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2005-4664","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2005-4664"},"updatedAt":"2024-08-07T23:53:28.559Z","retrievedAt":"2026-11-26T15:09:09.060Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-40285.png?v=2","url":"https://exploitbin.com/exploits/EDB-40285","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-40285/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-40285/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: Ocomon 2.0: Acess administrative Bypass / Multiple Sql\nInjection\n# Google Dork: inurl:ocomon/index.php or intitle:Ocomon 2.0-RC6\n# Date: 2016.08.18\n# Exploit Author: Jonatas Fil a.k.a pwx\n# Vendor Homepage: ninj4c0d3r.github.io\n# Version: Latest 2.0RC6\n# Tested on: Linux And Windows\n# CVE : CVE-2005-4664\n\n\n\\xDetails:\n========================================\n[Software]\n- Ocomon\n\n[Bug Summary]\n- Multiple SQL Injection (SQLi)\n\n[Impact]\n- High\n\n[Affected Version]\n- Latest 2.0RC6\n- Prior versions may also be affected\n=========================================\n\n\n\n\\x01- Search by dork in google\n\nDorks:\ninurl:ocomon/index.php or intitle:Ocomon 2.0-RC6\n\n\n\\x02 - After, To find the victim, open the inspect element in admin page.\n\n\\x03 - Look for the parameter: <body>: <table>: <tbody>: <tr>, and return\nvalida() and delete the content, leaving blank.\n\n\\x04 - After, Sign in using: \"admin'or'\" For Username and Password.\n\n\\x05 - Finish!, You get acess in administrative page to the system.\n\n\n--------------------------------------------\n\\xDEMO:\n\nhttp://200.66.111.38/ocomon/index.php\nhttp://191.241.229.210:8080/ocomon/index.php\nhttp://191.241.229.210:8081/ocomon/index.php\n---------------------------------------------\n\nReferences:\n\nhttps://packetstormsecurity.com/files/100568/Ocomon-2.0RC6-SQL-Injection.html\nhttp://www.cvedetails.com/cve/CVE-2005-4664/\nhttps://www.securityfocus.com/bid/15386/exploit","sha256":"970d66919d574a8e5b91cb80a74fd0049aedcd1dade34b7c034bde0e306e055f","bytes":1419,"fetchedAt":"2026-11-26T15:09:04.029Z","encoding":"utf-8 (display only; download retains original bytes)"}