Lucene search

K
openvasCopyright (C) 2010 Greenbone AGOPENVAS:1361412562310902190
HistoryMay 28, 2010 - 12:00 a.m.

PHP-Calendar 'description' and 'lastaction' Cross Site Scripting Vulnerabilities

2010-05-2800:00:00
Copyright (C) 2010 Greenbone AG
plugins.openvas.org
9

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.4 Medium

AI Score

Confidence

Low

0.003 Low

EPSS

Percentile

68.3%

PHP-Calendar is prone to Cross Site Scripting vulnerabilities.

# SPDX-FileCopyrightText: 2010 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:php-calendar:php-calendar";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.902190");
  script_version("2024-03-01T14:37:10+0000");
  script_tag(name:"last_modification", value:"2024-03-01 14:37:10 +0000 (Fri, 01 Mar 2024)");
  script_tag(name:"creation_date", value:"2010-05-28 16:52:49 +0200 (Fri, 28 May 2010)");
  script_cve_id("CVE-2010-2041");
  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("PHP-Calendar 'description' and 'lastaction' Cross Site Scripting Vulnerabilities");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2010 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("secpod_php_calendar_detect.nasl");
  script_mandatory_keys("PHP-Calendar/installed");

  script_xref(name:"URL", value:"http://secunia.com/advisories/33899");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/40334");
  script_xref(name:"URL", value:"http://www.vupen.com/english/advisories/2010/1202");
  script_xref(name:"URL", value:"http://php-calendar.blogspot.com/2010/05/php-calendar-20-beta7.html");
  script_xref(name:"URL", value:"http://www.securityfocus.com/archive/1/archive/1/511395/100/0/threaded");

  script_tag(name:"affected", value:"PHP-Calendar version 2.0 Beta6 and prior on all platforms.");
  script_tag(name:"insight", value:"The flaws are due to input validation errors when processing the
  'description' and 'lastaction' parameters.");
  script_tag(name:"solution", value:"Upgrade PHP-Calendar to 2.0 Beta7 or later.");
  script_tag(name:"summary", value:"PHP-Calendar is prone to Cross Site Scripting vulnerabilities.");
  script_tag(name:"impact", value:"Successful exploitation will allow attacker to execute arbitrary script
  code.");

  script_tag(name:"solution_type", value:"VendorFix");
  script_tag(name:"qod_type", value:"remote_banner");

  exit(0);
}

include("version_func.inc");
include("host_details.inc");

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

if( ! vers = get_app_version( cpe:CPE, port:port ) )
  exit( 0 );

if( version_is_less_equal( version:vers, test_version:"2.0.beta6")){
  report = report_fixed_ver( installed_version:vers, fixed_version:"2.0 Beta7" );
  security_message( data:report, port:port );
  exit( 0 );
}

exit( 99 );

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

6.4 Medium

AI Score

Confidence

Low

0.003 Low

EPSS

Percentile

68.3%

Related for OPENVAS:1361412562310902190