Vulnerabilities > CVE-2004-2485 - Remote Configuration File Include vulnerability in PHP Live!

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
PARTIAL
Availability impact
NONE
network
low complexity
php-live
nessus

Summary

Unspecified vulnerability in PHP Live! before 2.8.2, due to a "major security problem," allows remote attackers to include arbitrary files and directories via unspecified attack vectors.

Vulnerable Configurations

Part Description Count
Application
Php_Live
1

Nessus

NASL familyCGI abuses
NASL idPHPLIVE_UNSPECIFIED_VULN.NASL
descriptionThe remote host is running PHP Live! a live support system for websites. The remote version of this software contains an unspecified flaw that could allow an attacker to include a configuration file hosted on a third-party server. An attacker may exploit this flaw to execute arbitrary PHP code on the remote host.
last seen2020-06-01
modified2020-06-02
plugin id15928
published2004-12-09
reporterThis script is Copyright (C) 2004-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/15928
titlePHP Live! directory/conf File Include Unspecified Issue
code
#
# (C) Tenable Network Security, Inc.
#


include("compat.inc");

if(description)
{
 script_id(15928);
 script_version("1.15");
 script_cve_id("CVE-2004-2485");
 script_bugtraq_id(11863);

 script_name(english:"PHP Live! directory/conf File Include Unspecified Issue");

 script_set_attribute(attribute:"synopsis", value:
"Arbitrary code may be run on the remote host." );
 script_set_attribute(attribute:"description", value:
"The remote host is running PHP Live! a live support system for
websites.

The remote version of this software contains an unspecified flaw that
could allow an attacker to include a configuration file hosted on a
third-party server.

An attacker may exploit this flaw to execute arbitrary PHP code on the
remote host." );
 # https://web.archive.org/web/20051223233750/http://archives.neohapsis.com/archives/apps/freshmeat/2004-11/0022.html
 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?50b97c33" );
 script_set_attribute(attribute:"solution", value:
"Upgrade to PHP Live! 2.8.2" );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
 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:"plugin_publication_date", value: "2004/12/09");
 script_set_attribute(attribute:"vuln_publication_date", value: "2004/11/22");
 script_cvs_date("Date: 2018/07/24 18:56:11");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe",value:"cpe:/a:php_live:php_live");
script_end_attributes();

 script_summary(english:"Checks for a flaw in PHP Live! < 2.8.2");
 script_category(ACT_ATTACK);
 script_family(english:"CGI abuses");
 script_copyright(english:"This script is Copyright (C) 2004-2018 Tenable Network Security, Inc.");
 script_dependencie("http_version.nasl", "webmirror.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");
 exit(0);
}

include("global_settings.inc");
include("misc_func.inc");
include("http.inc");

port = get_http_port(default:80, embedded: 0);

foreach dir (list_uniq(make_list("/phplive", cgi_dirs())))
{
 r = http_send_recv3(method: "GET", item:dir + "/index.php", port:port);
 if (isnull(r)) exit(0);
 res = strcat(r[0], r[1], '\r\n', r[2]);
 if ( egrep(pattern:"Powered by .*PHP.*Live!", string: res) )
 {
  if ( egrep(pattern:"v([0-1]\.|2\.[0-7]|2\.8\.[0-2][^0-9]).*&copy; OSI Codes Inc.", string:res ) )
	security_hole ( port );
 }
 
}