Vulnerabilities > CVE-2009-1219 - Improper Input Validation vulnerability in SUN Java System Calendar Server and ONE Calendar Server

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
NONE
Availability impact
PARTIAL
network
low complexity
sun
CWE-20
nessus
exploit available

Summary

Sun Calendar Express Web Server in Sun ONE Calendar Server 6.0 and Sun Java System Calendar Server 6 2004Q2 through 6.3-7.01 allows remote attackers to cause a denial of service (daemon crash) via multiple requests to the default URI with alphabetic characters in the tzid parameter.

Vulnerable Configurations

Part Description Count
Application
Sun
9

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Server Side Include (SSI) Injection
    An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
  • Cross Zone Scripting
    An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.

Exploit-Db

descriptionSun Java System Calendar Server 6.3 Duplicate URI Request Denial of Service Vulnerability. CVE-2009-1219. Dos exploit for java platform
idEDB-ID:32860
last seen2016-02-03
modified2009-03-31
published2009-03-31
reporterSCS team
sourcehttps://www.exploit-db.com/download/32860/
titleSun Java System Calendar Server 6.3 Duplicate URI Request Denial of Service Vulnerability

Nessus

  • NASL familySolaris Local Security Checks
    NASL idSOLARIS10_121657.NASL
    descriptionCalendar Server SunOS 5.9 5.10: Core patch. Date this patch was last updated by Sun : Aug/14/13 This plugin has been deprecated and either replaced with individual 121657 patch-revision plugins, or deemed non-security related.
    last seen2019-02-21
    modified2018-07-30
    plugin id33204
    published2008-06-18
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=33204
    titleSolaris 10 (sparc) : 121657-54 (deprecated)
    code
    
    #
    # (C) Tenable Network Security, Inc.
    #
    # @DEPRECATED@
    #
    # Disabled on 2018/03/12. Deprecated and either replaced by
    # individual patch-revision plugins, or has been deemed a
    # non-security advisory.
    #
    include("compat.inc");
    
    if (description)
    {
      script_id(33204);
      script_version("1.35");
      script_cvs_date("Date: 2018/07/30 13:40:14");
    
      script_cve_id("CVE-2009-1218", "CVE-2009-1219");
    
      script_name(english:"Solaris 10 (sparc) : 121657-54 (deprecated)");
      script_summary(english:"Check for patch 121657-54");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"This plugin has been deprecated."
      );
      script_set_attribute(
        attribute:"description",
        value:
    "Calendar Server SunOS 5.9 5.10: Core patch.
    Date this patch was last updated by Sun : Aug/14/13
    
    This plugin has been deprecated and either replaced with individual
    121657 patch-revision plugins, or deemed non-security related."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://getupdates.oracle.com/readme/121657-54"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"n/a"
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
      script_cwe_id(20, 79);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:sun:solaris");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2013/08/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2008/06/18");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2008-2018 Tenable Network Security, Inc.");
      script_family(english:"Solaris Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Solaris/showrev");
    
      exit(0);
    }
    
    exit(0, "This plugin has been deprecated. Consult specific patch-revision plugins for patch 121657 instead.");
    
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS9_121657.NASL
    descriptionCalendar Server SunOS 5.9 5.10: Core patch. Date this patch was last updated by Sun : Aug/14/13
    last seen2020-06-01
    modified2020-06-02
    plugin id33213
    published2008-06-18
    reporterThis script is Copyright (C) 2008-2016 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/33213
    titleSolaris 9 (sparc) : 121657-54
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text in this plugin was
    # extracted from the Oracle SunOS Patch Updates.
    #
    include("compat.inc");
    
    if (description)
    {
      script_id(33213);
      script_version("$Revision: 1.32 $");
      script_cvs_date("$Date: 2016/12/09 21:14:09 $");
    
      script_cve_id("CVE-2009-1218", "CVE-2009-1219");
    
      script_name(english:"Solaris 9 (sparc) : 121657-54");
      script_summary(english:"Check for patch 121657-54");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote host is missing Sun Security Patch number 121657-54"
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Calendar Server SunOS 5.9 5.10: Core patch.
    Date this patch was last updated by Sun : Aug/14/13"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://getupdates.oracle.com/readme/121657-54"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"You should install this patch for your system to be up-to-date."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
      script_cwe_id(20, 79);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:sun:solaris");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2013/08/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2008/06/18");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2008-2016 Tenable Network Security, Inc.");
      script_family(english:"Solaris Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Solaris/showrev");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("solaris.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"121657-54", obsoleted_by:"", package:"SUNWica5", version:"6.0,REV=2003.11.14.18.12.58") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"121657-54", obsoleted_by:"", package:"SUNWics5", version:"6.0,REV=2003.11.14.18.12.58") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"121657-54", obsoleted_by:"", package:"SUNWfrics", version:"6.0,REV=2003.11.14.15.16.33") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"121657-54", obsoleted_by:"", package:"SUNWkoics", version:"6.0,REV=2003.11.14.15.16.33") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"121657-54", obsoleted_by:"", package:"SUNWzhics", version:"6.0,REV=2003.11.14.15.16.33") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"121657-54", obsoleted_by:"", package:"SUNWics-l10n", version:"6.3,REV=2007.01.05.03.20.27") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"121657-54", obsoleted_by:"", package:"SUNWjaics", version:"6.0,REV=2003.11.14.15.16.33") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"121657-54", obsoleted_by:"", package:"SUNWdeics", version:"6.0,REV=2003.11.14.15.16.33") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"121657-54", obsoleted_by:"", package:"SUNWtwics", version:"6.0,REV=2003.11.14.15.16.33") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"121657-54", obsoleted_by:"", package:"SUNWesics", version:"6.0,REV=2003.11.14.15.16.33") < 0) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:solaris_get_report());
      else security_warning(0);
      exit(0);
    }
    audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS9_X86_121658.NASL
    descriptionCalendar Server SunOS 5.9_x86 5.10_x86: Core patch. Date this patch was last updated by Sun : Aug/14/13
    last seen2020-06-01
    modified2020-06-02
    plugin id33214
    published2008-06-18
    reporterThis script is Copyright (C) 2008-2016 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/33214
    titleSolaris 9 (x86) : 121658-54
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text in this plugin was
    # extracted from the Oracle SunOS Patch Updates.
    #
    include("compat.inc");
    
    if (description)
    {
      script_id(33214);
      script_version("$Revision: 1.32 $");
      script_cvs_date("$Date: 2016/12/09 21:14:09 $");
    
      script_cve_id("CVE-2009-1218", "CVE-2009-1219");
    
      script_name(english:"Solaris 9 (x86) : 121658-54");
      script_summary(english:"Check for patch 121658-54");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote host is missing Sun Security Patch number 121658-54"
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Calendar Server SunOS 5.9_x86 5.10_x86: Core patch.
    Date this patch was last updated by Sun : Aug/14/13"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://getupdates.oracle.com/readme/121658-54"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"You should install this patch for your system to be up-to-date."
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
      script_cwe_id(20, 79);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:sun:solaris");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2013/08/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2008/06/18");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2008-2016 Tenable Network Security, Inc.");
      script_family(english:"Solaris Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Solaris/showrev");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("solaris.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"121658-54", obsoleted_by:"", package:"SUNWica5", version:"6.0,REV=2003.11.14.17.38.10") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"121658-54", obsoleted_by:"", package:"SUNWics5", version:"6.0,REV=2003.11.14.17.38.10") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"121658-54", obsoleted_by:"", package:"SUNWfrics", version:"6.0,REV=2003.11.14.14.49.53") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"121658-54", obsoleted_by:"", package:"SUNWkoics", version:"6.0,REV=2003.11.14.14.49.53") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"121658-54", obsoleted_by:"", package:"SUNWzhics", version:"6.0,REV=2003.11.14.14.49.53") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"121658-54", obsoleted_by:"", package:"SUNWics-l10n", version:"6.3,REV=2007.01.05.03.20.27") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"121658-54", obsoleted_by:"", package:"SUNWjaics", version:"6.0,REV=2003.11.14.14.49.53") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"121658-54", obsoleted_by:"", package:"SUNWdeics", version:"6.0,REV=2003.11.14.14.49.53") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"121658-54", obsoleted_by:"", package:"SUNWtwics", version:"6.0,REV=2003.11.14.14.49.53") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"121658-54", obsoleted_by:"", package:"SUNWesics", version:"6.0,REV=2003.11.14.14.49.53") < 0) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_warning(port:0, extra:solaris_get_report());
      else security_warning(0);
      exit(0);
    }
    audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS10_X86_121658.NASL
    descriptionCalendar Server SunOS 5.9_x86 5.10_x86: Core patch. Date this patch was last updated by Sun : Aug/14/13 This plugin has been deprecated and either replaced with individual 121658 patch-revision plugins, or deemed non-security related.
    last seen2019-02-21
    modified2018-07-30
    plugin id33208
    published2008-06-18
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=33208
    titleSolaris 10 (x86) : 121658-54 (deprecated)
    code
    
    #
    # (C) Tenable Network Security, Inc.
    #
    # @DEPRECATED@
    #
    # Disabled on 2018/03/12. Deprecated and either replaced by
    # individual patch-revision plugins, or has been deemed a
    # non-security advisory.
    #
    include("compat.inc");
    
    if (description)
    {
      script_id(33208);
      script_version("1.35");
      script_cvs_date("Date: 2018/07/30 13:40:14");
    
      script_cve_id("CVE-2009-1218", "CVE-2009-1219");
    
      script_name(english:"Solaris 10 (x86) : 121658-54 (deprecated)");
      script_summary(english:"Check for patch 121658-54");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"This plugin has been deprecated."
      );
      script_set_attribute(
        attribute:"description",
        value:
    "Calendar Server SunOS 5.9_x86 5.10_x86: Core patch.
    Date this patch was last updated by Sun : Aug/14/13
    
    This plugin has been deprecated and either replaced with individual
    121658 patch-revision plugins, or deemed non-security related."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://getupdates.oracle.com/readme/121658-54"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"n/a"
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P");
      script_cwe_id(20, 79);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:sun:solaris");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2013/08/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2008/06/18");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2008-2018 Tenable Network Security, Inc.");
      script_family(english:"Solaris Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/Solaris/showrev");
    
      exit(0);
    }
    
    exit(0, "This plugin has been deprecated. Consult specific patch-revision plugins for patch 121658 instead.");
    

Seebug

bulletinFamilyexploit
descriptionBUGTRAQ ID: 34150 CVE(CAN) ID: CVE-2009-1219 Sun Java System Calendar Server是Sun Java System通信套件中的日程服务器组件。 如果远程攻击者向Calendar Server连续两次发送特制的HTTP请求并在tzid参数中设置了字母字符的话,就会导致Calendar Server进程崩溃,可能留下类似于以下栈追踪的崩溃dump,具体取决于系统配置: $ pstack core ... ... ----------------- lwp# 4 / thread# 4 -------------------- ff05ff40 shtml_finishlogin (6db6c10, 201f8, 6ee7e26, 6e7471ff, 80808080, 1010101) + 160 0001dff4 cmd_login (6db6c10, 1, 0, 687474, 80808080, 1010101) + 364 00017f78 cshttpd_post_cb (6db6c10, 2d26ad, 6f07dc0, 6d, 1, 2e000000) + 470 fed8ff88 cmd_post (6db6c10, 2d26ad, 6f07dc0, 6d, 6f07dc0, baddc800) + 1b8 fed8f2a8 cmd_exec (6db6c10, 4, 2, 0, 0, 0) + da8 fed8d8cc cmdloop (6db6c10, fa8bce9c, 2000, ff000000, 0, 0) + 3bc fed8c4f0 sock_readable (6db6c10, 1000, fe7ecbc0, fc922400, 5b35bc, 0) + 2f0 feb45564 GDispCx_Dispatch (5b3544, 6f61c04, 6e6300c, fc922400, 5b3634, 0) + 174 feb45b78 GDispCx_InternalWork (6e6300c, fa8c0000, 0, 0, feb45798, 1) + 3e0 fe7c04f4 _lwp_start (0, 0, 0, 0, 0, 0) ... ... Sun Java System Calendar Server 6.3 Sun --- Sun已经为此发布了一个安全公告(Sun-Alert-255008)以及相应补丁: Sun-Alert-255008:Security Vulnerability in Sun Java System Calendar Server 6.3 May Allow Denial of Service (DoS) 链接:<a href=http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-255008-1 target=_blank rel=external nofollow>http://sunsolve.sun.com/search/printfriendly.do?assetkey=1-66-255008-1</a>
idSSV:4989
last seen2017-11-19
modified2009-04-02
published2009-04-02
reporterRoot
sourcehttps://www.seebug.org/vuldb/ssvid-4989
titleSun Java System Calendar Server重复URI请求拒绝服务漏洞