| Reporter | Title | Published | Views | Family All 8 |
|---|---|---|---|---|
| CVE-2005-1945 | 14 Jun 200504:00 | – | cve | |
| CVE-2005-1946 | 14 Jun 200504:00 | – | cve | |
| CVE-2005-1945 | 14 Jun 200504:00 | – | cvelist | |
| CVE-2005-1946 | 14 Jun 200504:00 | – | cvelist | |
| EUVD-2005-1947 | 7 Oct 202500:30 | – | euvd | |
| EUVD-2005-1948 | 7 Oct 202500:30 | – | euvd | |
| CVE-2005-1945 | 9 Jun 200504:00 | – | nvd | |
| CVE-2005-1946 | 9 Jun 200504:00 | – | nvd |
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(18446);
script_version("1.21");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_cve_id("CVE-2005-1945", "CVE-2005-1946");
script_bugtraq_id(13910);
script_name(english:"Invision Community Blog Multiple Vulnerabilities (SQLi, XSS)");
script_set_attribute(attribute:"synopsis", value:
"The remote web server contains a PHP application that is vulnerable to
multiple attacks.");
script_set_attribute(attribute:"description", value:
"The remote host is running Invision Community Blog, a plugin for
Invision Power Board that lets users have their own blogs.
The version installed on the remote host fails to properly sanitize
user-supplied data making it prone to multiple SQL injection and
cross-site scripting vulnerabilities. These flaws may allow an
attacker to gain access to sensitive information such as passwords and
cookie data.");
# http://web.archive.org/web/20061010145552/http://www.gulftech.org/?node=research&article_id=00078-06072005
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?9223034f");
script_set_attribute(attribute:"solution", value:
"Upgrade to Invision Community Blog 1.1.2 Final or greater.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:S/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:H/RL:U/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
script_set_attribute(attribute:"exploit_available", value:"true");
script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);
script_set_attribute(attribute:"vuln_publication_date", value:"2005/06/07");
script_set_attribute(attribute:"plugin_publication_date", value:"2005/06/10");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:invision_power_services:invision_community_blog");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_ATTACK);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2005-2022 Tenable Network Security, Inc.");
script_dependencies("invision_power_board_detect.nasl");
script_require_keys("www/invision_power_board");
script_exclude_keys("Settings/disable_cgi_scanning");
script_require_ports("Services/www", 80);
exit(0);
}
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
port = get_http_port(default:80);
if (!can_host_php(port:port)) exit(0);
# Test an install.
install = get_kb_item(string("www/", port, "/invision_power_board"));
if (isnull(install)) exit(0);
matches = eregmatch(string:install, pattern:"^(.+) under (/.*)$");
if (!isnull(matches)) {
dir = matches[2];
# To exploit it, we need to find an existing blog.
r = http_send_recv3(method: "GET", item:string(dir, "/index.php?automodule=blog"), port:port);
if (isnull(r)) exit(0);
pat = string(dir, "/index.php?s=.+&automodule=blog&blogid=([0-9]+)&");
matches = egrep(string: r[2], pattern:pat, icase:TRUE);
if (matches) {
foreach match (split(matches)) {
match = chomp(match);
blog = eregmatch(pattern:pat, string:match);
if (!isnull(blog)) {
blog = blog[1];
# Try to exploit one of the SQL injection vulnerabilities.
r = http_send_recv3(method: "GET",
item:string(
dir, "/index.php?",
"automodule=blog&",
"blog=", blog, "&",
"cmd=editentry&",
# nb: look for this exploit string later.
"eid=99'", SCRIPT_NAME
),
port:port
);
if (isnull(r)) exit(0);
if (
"an error in your SQL syntax" >< r[2] &&
egrep(
string:r[2],
pattern:string("SELECT \* FROM .*entries WHERE entry_id = 99&#39;", SCRIPT_NAME)
)
) {
security_warning(port);
set_kb_item(name: 'www/'+port+'/SQLInjection', value: TRUE);
set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
exit(0);
}
# We're not vulnerable, but we're finished checking too.
break;
}
}
}
}
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation