Lucene search
K

N-13 News Cross-Site Request Forgery Vulnerability

🗓️ 08 Feb 2011 00:00:00Reported by Copyright (C) 2011 Greenbone Networks GmbHType 
openvas
 openvas
🔗 plugins.openvas.org👁 15 Views

This host is running N-13 News and is prone to Cross-Site Request Forgery vulnerability. Successful exploitation will allow attacker to execute arbitrary script code, perform cross-site scripting attacks, Web cache poisoning, and other malicious activities. The flaw is caused by an improper validation of user-supplied input by the 'admin.php' script, which allows remote attackers to send a specially crafted HTTP request to add an administrative user. Upgrade to N-13 News version 4.0.2 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2011-0642
25 Jan 201118:00
cve
Cvelist
CVE-2011-0642
25 Jan 201118:00
cvelist
EUVD
EUVD-2011-0660
7 Oct 202500:30
euvd
NVD
CVE-2011-0642
25 Jan 201119:00
nvd
OpenVAS
N-13 News CSRF Vulnerability
8 Feb 201100:00
openvas
Prion
Cross site request forgery (csrf)
25 Jan 201119:00
prion
##############################################################################
# OpenVAS Vulnerability Test
# $Id: gb_n_13_news_csrf_vuln.nasl 7015 2017-08-28 11:51:24Z teissa $
#
# N-13 News Cross-Site Request Forgery Vulnerability
#
# Authors:
# Madhuri D <[email protected]>
#
# Copyright:
# Copyright (c) 2011 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################

tag_impact = "Successful exploitation will allow attacker to execute arbitrary
script code, perform cross-site scripting attacks, Web cache poisoning, and
other malicious activities.

Impact Level: Application.";

tag_affected = "N-13 News version 3.4, 3.7 and 4.0";

tag_insight = "The flaw is caused by an improper validation of user-supplied
input by the 'admin.php' script, which allows remote attackers to send a
specially crafted HTTP request to add an administrative user.";

tag_solution = "Upgrade to N-13 News version 4.0.2 or later.
For updates refer to http://code.google.com/p/n-13news/";

tag_summary = "This host is running N-13 News and is prone to Cross-Site
Request Forgery vulnerability.";

if(description)
{
  script_id(801738);
  script_version("$Revision: 7015 $");
  script_tag(name:"last_modification", value:"$Date: 2017-08-28 13:51:24 +0200 (Mon, 28 Aug 2017) $");
  script_tag(name:"creation_date", value:"2011-02-08 15:34:31 +0100 (Tue, 08 Feb 2011)");
  script_cve_id("CVE-2011-0642");
  script_tag(name:"cvss_base", value:"4.3");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_name("N-13 News Cross-Site Request Forgery Vulnerability");
  script_xref(name : "URL" , value : "http://secunia.com/advisories/42959");
  script_xref(name : "URL" , value : "http://xforce.iss.net/xforce/xfdb/64824");
  script_xref(name : "URL" , value : "http://www.exploit-db.com/exploits/16013/");

  script_tag(name:"qod_type", value:"remote_banner");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2011 Greenbone Networks GmbH");
  script_family("Web application abuses");
  script_dependencies("gb_n_13_news_detect.nasl");
  script_require_ports("Services/www", 80);
  script_tag(name : "impact" , value : tag_impact);
  script_tag(name : "affected" , value : tag_affected);
  script_tag(name : "insight" , value : tag_insight);
  script_tag(name : "solution" , value : tag_solution);
  script_tag(name : "summary" , value : tag_summary);
  exit(0);
}


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

## Get HTTP Port
newsPort = get_http_port(default:80);
if(!newsPort){
  exit(0);
}

## Get version from KB
newsVer = get_version_from_kb(port:newsPort, app:"N-13/News");
if(newsVer)
{
  if(version_is_equal(version:newsVer, test_version:"3.4") ||
     version_is_equal(version:newsVer, test_version:"3.7") ||
     version_is_equal(version:newsVer, test_version:"4.0")){
       security_message(newsPort);
  }
}

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