| Reporter | Title | Published | Views | Family All 5 |
|---|---|---|---|---|
| CVE-2005-0214 | 6 Feb 200505:00 | – | cve | |
| CVE-2005-0214 | 6 Feb 200505:00 | – | cvelist | |
| EUVD-2005-0215 | 7 Oct 202500:30 | – | euvd | |
| CVE-2005-0214 | 2 May 200504:00 | – | nvd | |
| Simple PHP Blog dir traversal | 3 Nov 200500:00 | – | openvas |
| Source | Link |
|---|---|
| cve | www.cve.mitre.org/cgi-bin/cvename.cgi |
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(16137);
script_version("1.21");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_cve_id("CVE-2005-0214");
script_bugtraq_id(12193);
script_name(english:"Simple PHP Blog comments.php Traversal Arbitrary File Access");
script_set_attribute(attribute:"synopsis", value:
"It is possible to access arbitrary files from the remote
system.");
script_set_attribute(attribute:"description", value:
"The remote version of Simple PHP Blog allows for retrieval of
arbitrary files from the web server. These issues are due to a
failure of the application to properly sanitize user-supplied input
data.");
script_set_attribute(attribute:"solution", value:
"Upgrade at least to version 0.3.7 r2.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2005/01/07");
script_set_attribute(attribute:"plugin_publication_date", value:"2005/01/12");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:alexander_palmo:simple_php_blog");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2005-2022 Tenable Network Security, Inc.");
script_dependencies("sphpblog_detect.nasl");
script_require_keys("www/sphpblog");
script_exclude_keys("Settings/disable_cgi_scanning");
script_require_ports("Services/www", 80);
exit(0);
}
#
# the code
#
include("http_func.inc");
include("http_keepalive.inc");
port = get_http_port(default:80, embedded:TRUE);
if(!get_port_state(port))exit(0);
if(!can_host_php(port:port))exit(0);
# Test an install.
install = get_kb_item(string("www/", port, "/sphpblog"));
if (isnull(install)) exit(0);
matches = eregmatch(string:install, pattern:"^(.+) under (/.*)$");
if (!isnull(matches))
{
loc = matches[2];
req = http_get(item:string(loc, "/comments.php?y=05&m=01&entry=../../../../../../../etc/passwd"), port:port);
rep = http_keepalive_send_recv(port:port, data:req, bodyonly: 1);
if( !rep )exit(0);
if(egrep(pattern:".*root:.*:0:[01]:.*", string:rep))
security_hole(port);
}
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