Vulnerabilities > CVE-2008-1286 - Unspecified vulnerability in SUN Java web Console 3.0.2/3.0.3/3.0.4

047910
CVSS 7.8 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
NONE
Availability impact
NONE
network
low complexity
sun
linux
nessus

Summary

Unspecified vulnerability in Sun Java Web Console 3.0.2, 3.0.3, and 3.0.4 allows remote attackers to bypass intended access restrictions and determine the existence of files or directories via unknown vectors.

Nessus

  • NASL familySolaris Local Security Checks
    NASL idSOLARIS9_X86_125951.NASL
    descriptionOracle Java Web Console 3.1[_x86]. Date this patch was last updated by Sun : May/14/10
    last seen2020-06-01
    modified2020-06-02
    plugin id27100
    published2007-10-17
    reporterThis script is Copyright (C) 2007-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/27100
    titleSolaris 9 (x86) : 125951-20
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (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(27100);
      script_version("1.22");
      script_cvs_date("Date: 2019/10/25 13:36:27");
    
      script_cve_id("CVE-2008-1286", "CVE-2008-5550");
    
      script_name(english:"Solaris 9 (x86) : 125951-20");
      script_summary(english:"Check for patch 125951-20");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote host is missing Sun Security Patch number 125951-20"
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Oracle Java Web Console 3.1[_x86].
    Date this patch was last updated by Sun : May/14/10"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://getupdates.oracle.com/readme/125951-20"
      );
      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:C/I:N/A:N");
    
      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:"2010/05/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2007/10/17");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2007-2019 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:"125951-20", obsoleted_by:"", package:"SUNWmctag", version:"3.0.2,REV=2006.12.08.20.48") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"125951-20", obsoleted_by:"", package:"SUNWmcosx", version:"3.0.2,REV=2006.12.08.20.52") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"125951-20", obsoleted_by:"", package:"SUNWmconr", version:"3.0.2,REV=2006.12.08.20.52") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"125951-20", obsoleted_by:"", package:"SUNWmcos", version:"3.0.2,REV=2006.12.08.20.52") < 0) flag++;
    if (solaris_check_patch(release:"5.9_x86", arch:"i386", patch:"125951-20", obsoleted_by:"", package:"SUNWmcon", version:"3.0.2,REV=2006.12.08.20.48") < 0) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:solaris_get_report());
      else security_hole(0);
      exit(0);
    }
    audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS10_X86_125953-20.NASL
    descriptionOracle Java Web Console 3.1[_x86]. Date this patch was last updated by Sun : May/14/10
    last seen2020-06-01
    modified2020-06-02
    plugin id107945
    published2018-03-12
    reporterThis script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/107945
    titleSolaris 10 (x86) : 125953-20
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (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(107945);
      script_version("1.5");
      script_cvs_date("Date: 2019/10/25 13:36:26");
    
      script_cve_id("CVE-2008-1286", "CVE-2008-5550");
    
      script_name(english:"Solaris 10 (x86) : 125953-20");
      script_summary(english:"Check for patch 125953-20");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote host is missing Sun Security Patch number 125953-20"
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Oracle Java Web Console 3.1[_x86].
    Date this patch was last updated by Sun : May/14/10"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://getupdates.oracle.com/readme/125953-20"
      );
      script_set_attribute(attribute:"solution", value:"Install patch 125953-20");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N");
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:oracle:solaris:10:125953");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:oracle:solaris:10");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2010/05/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2018/03/12");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      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("misc_func.inc");
    include("solaris.inc");
    
    showrev = get_kb_item("Host/Solaris/showrev");
    if (empty_or_null(showrev)) audit(AUDIT_OS_NOT, "Solaris");
    os_ver = pregmatch(pattern:"Release: (\d+.(\d+))", string:showrev);
    if (empty_or_null(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "Solaris");
    full_ver = os_ver[1];
    os_level = os_ver[2];
    if (full_ver != "5.10") audit(AUDIT_OS_NOT, "Solaris 10", "Solaris " + os_level);
    package_arch = pregmatch(pattern:"Application architecture: (\w+)", string:showrev);
    if (empty_or_null(package_arch)) audit(AUDIT_UNKNOWN_ARCH);
    package_arch = package_arch[1];
    if (package_arch != "i386") audit(AUDIT_ARCH_NOT, "i386", package_arch);
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    
    if (solaris_check_patch(release:"5.10_x86", arch:"i386", patch:"125953-20", obsoleted_by:"147674-01 ", package:"SUNWmcon", version:"3.0.2,REV=2006.12.08.20.48") < 0) flag++;
    if (solaris_check_patch(release:"5.10_x86", arch:"i386", patch:"125953-20", obsoleted_by:"147674-01 ", package:"SUNWmconr", version:"3.0.2,REV=2006.12.08.23.39") < 0) flag++;
    if (solaris_check_patch(release:"5.10_x86", arch:"i386", patch:"125953-20", obsoleted_by:"147674-01 ", package:"SUNWmcos", version:"3.0.2,REV=2006.12.08.23.39") < 0) flag++;
    if (solaris_check_patch(release:"5.10_x86", arch:"i386", patch:"125953-20", obsoleted_by:"147674-01 ", package:"SUNWmcosx", version:"3.0.2,REV=2006.12.08.23.39") < 0) flag++;
    if (solaris_check_patch(release:"5.10_x86", arch:"i386", patch:"125953-20", obsoleted_by:"147674-01 ", package:"SUNWmctag", version:"3.0.2,REV=2006.12.08.20.48") < 0) flag++;
    
    if (flag) {
      security_report_v4(
        port       : 0,
        severity   : SECURITY_HOLE,
        extra      : solaris_get_report()
      );
    } else {
      patch_fix = solaris_patch_fix_get();
      if (!empty_or_null(patch_fix)) audit(AUDIT_PATCH_INSTALLED, patch_fix, "Solaris 10");
      tested = solaris_pkg_tests_get();
      if (!empty_or_null(tested)) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
      audit(AUDIT_PACKAGE_NOT_INSTALLED, "SUNWmcon / SUNWmconr / SUNWmcos / SUNWmcosx / SUNWmctag");
    }
    
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS9_125950.NASL
    descriptionOracle Java Web Console 3.1. Date this patch was last updated by Sun : May/14/10
    last seen2020-06-01
    modified2020-06-02
    plugin id27093
    published2007-10-17
    reporterThis script is Copyright (C) 2007-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/27093
    titleSolaris 9 (sparc) : 125950-20
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (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(27093);
      script_version("1.23");
      script_cvs_date("Date: 2019/10/25 13:36:26");
    
      script_cve_id("CVE-2008-1286", "CVE-2008-5550");
    
      script_name(english:"Solaris 9 (sparc) : 125950-20");
      script_summary(english:"Check for patch 125950-20");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote host is missing Sun Security Patch number 125950-20"
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Oracle Java Web Console 3.1.
    Date this patch was last updated by Sun : May/14/10"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://getupdates.oracle.com/readme/125950-20"
      );
      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:C/I:N/A:N");
    
      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:"2010/05/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2007/10/17");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2007-2019 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:"125950-20", obsoleted_by:"", package:"SUNWmctag", version:"3.0.2,REV=2006.12.08.20.48") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"125950-20", obsoleted_by:"", package:"SUNWmcosx", version:"3.0.2,REV=2006.12.08.20.47") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"125950-20", obsoleted_by:"", package:"SUNWmconr", version:"3.0.2,REV=2006.12.08.20.47") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"125950-20", obsoleted_by:"", package:"SUNWmcos", version:"3.0.2,REV=2006.12.08.20.47") < 0) flag++;
    if (solaris_check_patch(release:"5.9", arch:"sparc", patch:"125950-20", obsoleted_by:"", package:"SUNWmcon", version:"3.0.2,REV=2006.12.08.20.48") < 0) flag++;
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:solaris_get_report());
      else security_hole(0);
      exit(0);
    }
    audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS10_X86_125953.NASL
    descriptionOracle Java Web Console 3.1[_x86]. Date this patch was last updated by Sun : May/14/10 This plugin has been deprecated and either replaced with individual 125953 patch-revision plugins, or deemed non-security related.
    last seen2019-02-21
    modified2018-07-30
    plugin id27078
    published2007-10-17
    reporterTenable
    sourcehttps://www.tenable.com/plugins/index.php?view=single&id=27078
    titleSolaris 10 (x86) : 125953-20 (deprecated)
    code
    #%NASL_MIN_LEVEL 80502
    
    #
    # (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(27078);
      script_version("1.25");
      script_cvs_date("Date: 2019/10/25 13:36:26");
    
      script_cve_id("CVE-2008-1286", "CVE-2008-5550");
    
      script_name(english:"Solaris 10 (x86) : 125953-20 (deprecated)");
      script_summary(english:"Check for patch 125953-20");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"This plugin has been deprecated."
      );
      script_set_attribute(
        attribute:"description",
        value:
    "Oracle Java Web Console 3.1[_x86].
    Date this patch was last updated by Sun : May/14/10
    
    This plugin has been deprecated and either replaced with individual
    125953 patch-revision plugins, or deemed non-security related."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://getupdates.oracle.com/readme/125953-20"
      );
      script_set_attribute(
        attribute:"solution", 
        value:"n/a"
      );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N");
    
      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:"2010/05/14");
      script_set_attribute(attribute:"plugin_publication_date", value:"2007/10/17");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2007-2019 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 125953 instead.");
    
  • NASL familyWeb Servers
    NASL idSUN_JAVA_WEB_CONSOLE_3_0_5.NASL
    descriptionAccording to its version, the installation of Sun Java Web Console on the remote host may allow a local or remote unprivileged user to determine the existence of files or directories in access restricted directories, which could result in a loss of confidentiality.
    last seen2020-06-01
    modified2020-06-02
    plugin id31423
    published2008-03-13
    reporterThis script is Copyright (C) 2008-2018 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/31423
    titleSun Java Web Console < 3.0.5 Remote File Enumeration
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(31423);
      script_version("1.20");
    
      script_cve_id("CVE-2008-1286");
      script_bugtraq_id(28155);
      script_xref(name:"Secunia", value:"29290");
    
      script_name(english:"Sun Java Web Console < 3.0.5 Remote File Enumeration");
      script_summary(english:"Retrieves version info");
    
      script_set_attribute(attribute:"synopsis", value:
    "The remote web server is affected by an information disclosure
    vulnerability." );
      script_set_attribute(attribute:"description", value:
    "According to its version, the installation of Sun Java Web Console on
    the remote host may allow a local or remote unprivileged user to
    determine the existence of files or directories in access restricted
    directories, which could result in a loss of confidentiality." );
      script_set_attribute(attribute:"see_also", value:"https://download.oracle.com/sunalerts/1018987.1.html");
      script_set_attribute(attribute:"solution", value:
    "Apply the appropriate patch as discussed in the vendor advisory above." );
      script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
      script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
      script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"false");
      script_set_attribute(attribute:"patch_publication_date", value: "2008/03/07");
      script_set_attribute(attribute:"plugin_publication_date", value: "2008/03/13");
      script_set_attribute(attribute:"plugin_type", value: "remote");
      script_set_attribute(attribute:"cpe", value: "cpe:/a:sun:java_web_console");
      script_cvs_date("Date: 2018/11/15 20:50:25");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_family(english:"Web Servers");
    
      script_copyright(english:"This script is Copyright (C) 2008-2018 Tenable Network Security, Inc.");
    
      script_dependencies("http_version.nasl", "os_fingerprint.nasl");
      script_require_ports("Services/www", 6788, 6789);
    
      exit(0);
    }
    
    
    include("global_settings.inc");
    include("misc_func.inc");
    include("http.inc");
    
    
    # Only Linux and Solaris are affected according to Sun.
    if (report_paranoia < 2)
    {
      os = get_kb_item("Host/OS");
      if ("Linux" >!< os && "Solaris" >!< os) exit(0);
    }
    
    
    port = get_http_port(default:6788);
    
    # Make sure it's Sun Java Web Console.
    banner = http_get_cache(port:port, item: "/", exit_on_fail: 1);
    
    redirect = strstr(banner, "Location:");
    if (strlen(redirect)) redirect = redirect - strstr(redirect, '\r\n');
    if (strlen(redirect) == 0 || "login/BeginLogin.jsp" >!< redirect) exit(0);
    
    
    # Try to retrieve the version number.
    w = http_send_recv3(method:"GET", item:"/console/html/en/console_version.shtml", port:port, exit_on_fail: 1);
    res = w[2];
    
    if (
      "title>Sun Java(TM) Web Console: Version<" >< res &&
      '"VrsHdrTxt">Version ' >< res
    )
    {
      version = strstr(res, '"VrsHdrTxt">Version ') - '"VrsHdrTxt">Version ';
      if (strlen(version)) version = version - strstr(version, '</div');
    
      # nb: Sun only talks about 3.0.2, 3.0.3, and 3.0.4 as affected.
      if (strlen(version) && version =~ "^3\.0\.[2-4]($|[^0-9])")
      {
        if (report_verbosity)
        {
          report = string(
            "\n",
            "Sun Java Web Console version ", version, " is installed on the remote host.\n"
          );
          security_warning(port:port, extra:report);
        }
        else security_warning(port);
      }
    }
    
    
  • NASL familySolaris Local Security Checks
    NASL idSOLARIS8_X86_136986.NASL
    descriptionSun Java Web Console 3.0.2_x86: Security fixes. Date this patch was last updated by Sun : Jun/25/09
    last seen2020-06-01
    modified2020-06-02
    plugin id31599
    published2008-03-17
    reporterThis script is Copyright (C) 2008-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/31599
    titleSolaris 8 (x86) : 136986-03