Lucene search
K

Horde IMP status.php3 script Parameter XSS

🗓️ 03 Nov 2004 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 71 Views

Horde IMP status.php3 script has a cross-site scripting vulnerability requiring upgrade to fix.

Related
Refs
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2002-0181
2 Apr 200305:00
cve
Cvelist
CVE-2002-0181
2 Apr 200305:00
cvelist
Tenable Nessus
Debian DSA-126-1 : imp - XSS
29 Sep 200400:00
nessus
EUVD
EUVD-2002-0179
7 Oct 202500:30
euvd
NVD
CVE-2002-0181
22 Apr 200204:00
nvd
OpenVAS
Horde IMP status.php3 XSS Vulnerability
3 Nov 200500:00
openvas
OpenVAS
Debian Security Advisory DSA 126-1 (imp)
17 Jan 200800:00
openvas
OpenVAS
Horde IMP status.php3 XSS
3 Nov 200500:00
openvas
OpenVAS
Debian Security Advisory DSA 126-1 (imp)
17 Jan 200800:00
openvas
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#

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

if (description)
{
  script_id(15616);
  script_version("1.23");
  script_set_attribute(attribute:"plugin_modification_date", value:"2022/08/15");

  script_cve_id("CVE-2002-0181");
  script_bugtraq_id(4444);

  script_name(english:"Horde IMP status.php3 script Parameter XSS");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server is running a PHP application that is affected by
a cross-site scripting vulnerability.");
  script_set_attribute(attribute:"description", value:
"The remote host is running at least one instance of Horde IMP in which
the 'status.php3' script is vulnerable to a cross-site scripting attack 
since information passed to it is not properly sanitized.");
  script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2002/Apr/98");
  script_set_attribute(attribute:"solution", value:
"Upgrade to IMP version 2.2.8 or later.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:H/RL:OF/RC:C");

  script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
  script_set_attribute(attribute:"exploit_available", value:"false");
  script_cwe_id(20, 74, 79, 442, 629, 711, 712, 722, 725, 750, 751, 800, 801, 809, 811, 864, 900, 928, 931, 990);

  script_set_attribute(attribute:"vuln_publication_date", value:"2004/04/09");
  script_set_attribute(attribute:"plugin_publication_date", value:"2004/11/03");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:horde:imp");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses : XSS");

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

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

  exit(0);
}

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

host = get_host_name();
port = get_http_port(default:80, embedded:TRUE);

if (!get_port_state(port)) exit(0);

# Check each installed instance, stopping if we find a vulnerability.
installs = get_kb_list(string("www/", port, "/imp"));
if (isnull(installs)) exit(0);
foreach install (installs) {
  matches = eregmatch(string:install, pattern:"^(.+) under (/.*)$");
  if (!isnull(matches)) {
    ver = matches[1];
    dir = matches[2];
    dbg::detailed_log(lvl:2, msg:"debug: checking version "+ver+" under "+dir+".");

    url = string(
      dir, 
      # nb: if you change the URL, you probably need to change the 
      #     pattern in the egrep() below.
      "/status.php3?script=<script>foo</script>"
    );
    req = http_get(item:url, port:port);
    res = http_keepalive_send_recv(port:port, data:req);
    if (isnull(res)) exit(0);
           
    if (egrep(string:res, pattern:'<script>foo</script>')) {
      security_warning(port);
      set_kb_item(name: 'www/'+port+'/XSS', value: TRUE);
      exit(0);
    }
  }
}

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

15 Aug 2022 00:00Current
5.1Medium risk
Vulners AI Score5.1
CVSS 27.5
EPSS0.01495
71