Lucene search

K

NewsScript newsscript.pl mode Parameter Privilege Escalation

🗓️ 10 Mar 2005 00:00:00Reported by This script is Copyright (C) 2005-2022 Tenable Network Security, Inc.Type 
nessus
 nessus
🔗 www.tenable.com👁 14 Views

Remote CGI application allows privilege escalation via 'mode' parameter manipulation.

Show more
Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2005-0735
2 May 200504:00
cve
CVE
CVE-2005-0727
2 May 200504:00
cve
Cvelist
CVE-2005-0735
13 Mar 200505:00
cvelist
NVD
CVE-2005-0735
2 May 200504:00
nvd
NVD
CVE-2005-0727
2 May 200504:00
nvd
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

include('deprecated_nasl_level.inc');
include('compat.inc');

if (description)
{
  script_id(17309);
  script_version("1.17");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");

  script_cve_id("CVE-2005-0735");
  script_bugtraq_id(12761);

  script_name(english:"NewsScript newsscript.pl mode Parameter Privilege Escalation");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server contains a CGI application that is affected by an
access validation vulnerability.");
  script_set_attribute(attribute:"description", value:
"The remote host is running a version of NewsScript.co.uk's NewsScript
that allows a remote attacker to bypass authentication simply by setting
the 'mode' parameter to 'admin', thereby allowing him to add, delete, or
modify news stories and headlines at will.");
  # http://www.newsscript.co.uk/helpforum/helpforum.pl?onderwerp=NewsScript%20Fix%20available&todo=BekijkOnderwerp
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?85aba152");
  script_set_attribute(attribute:"solution", value:
"Upgrade to a version of NewsScript released on or after March 22, 2005.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:P/A:P");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:U/RC:ND");

  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"true");
  script_cwe_id(264);

  script_set_attribute(attribute:"vuln_publication_date", value:"2005/03/08");
  script_set_attribute(attribute:"plugin_publication_date", value:"2005/03/10");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_ATTACK);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2005-2022 Tenable Network Security, Inc.");

  script_dependencies("http_version.nasl");
  script_exclude_keys("Settings/disable_cgi_scanning");
  script_require_ports("Services/www", 80);

  exit(0);
}


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

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

# Loop through directories.
if (thorough_tests) dirs = list_uniq(make_list("/news", cgi_dirs()));
else dirs = make_list(cgi_dirs());

foreach dir (dirs) {
  # Let's try the exploit.
  w = http_send_recv3(method:"GET", item:string(dir, "/newsscript.pl?mode=admin"), port:port);
  if (isnull(w)) exit(1, "The web server on port "+port+" did not answer");
  res = w[2];

  # If the results have a link to add a record, there's a problem.
  if (
    "?mode=admin&action=add" >< res &&
    egrep(string:res, pattern:"<a href=[^>]+/newsscript.pl\\?mode=admin&action=add")
  ) {
    security_warning(port);
    exit(0);
  }
}

Transform Your Security Services

Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.

Book a live demo
10 Mar 2005 00:00Current
6.7Medium risk
Vulners AI Score6.7
CVSS210
EPSS0.05
14
.json
Report