{"id":"CVE-2007-2447","published":"2007-05-14T21:00:00Z","modified":"2025-11-04T21:08:04Z","title":"The MS-RPC functionality in smbd in Samba 3.0.0 through 3.0.25rc3 allows remote attackers to execute arbitrary…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.49759,"percentile":0.98925,"provenance":"source"},"cwes":[],"references":[{"url":"http://security.gentoo.org/glsa/glsa-200705-15.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://secunia.com/advisories/25289","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://lists.grok.org.uk/pipermail/full-disclosure/2007-September/065902.html","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10062","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://www.xerox.com/downloads/usa/en/c/cert_XRX08_001.pdf","tags":["x_refsource_CONFIRM"]},{"url":"http://www.vupen.com/english/advisories/2007/2732","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.vupen.com/english/advisories/2007/1805","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/26083","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2007/3229","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/25772","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01067768","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.securityfocus.com/archive/1/468565/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.openpkg.com/security/advisories/OpenPKG-SA-2007.012.html","tags":["vendor-advisory","x_refsource_OPENPKG"]},{"url":"http://secunia.com/advisories/25257","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.kb.cert.org/vuls/id/268336","tags":["third-party-advisory","x_refsource_CERT-VN"]},{"url":"http://www.securityfocus.com/bid/23972","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.suse.com/archive/suse-security-announce/2007-May/0006.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://secunia.com/advisories/25270","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/archive/1/468670/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://www.novell.com/linux/security/advisories/2007_14_sr.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.apple.com/archives/security-announce//2007/Jul/msg00004.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.vupen.com/english/advisories/2007/2281","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.vupen.com/english/advisories/2007/2210","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&objectID=c01078980","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://www.trustix.org/errata/2007/0017/","tags":["vendor-advisory","x_refsource_TRUSTIX"]},{"url":"http://www.ubuntu.com/usn/usn-460-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://secunia.com/advisories/25567","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/25241","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/28292","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.samba.org/samba/security/CVE-2007-2447.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:104","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://secunia.com/advisories/25256","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://issues.rpath.com/browse/RPL-1366","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/25259","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.475906","tags":["vendor-advisory","x_refsource_SLACKWARE"]},{"url":"http://www.osvdb.org/34700","tags":["vdb-entry","x_refsource_OSVDB"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-26-102964-1","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=534","tags":["third-party-advisory","x_refsource_IDEFENSE"]},{"url":"http://secunia.com/advisories/26909","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2008/0050","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://secunia.com/advisories/27706","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.debian.org/security/2007/dsa-1291","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securitytracker.com/id?1018051","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://docs.info.apple.com/article.html?artnum=306172","tags":["x_refsource_CONFIRM"]},{"url":"http://securityreason.com/securityalert/2700","tags":["third-party-advisory","x_refsource_SREASON"]},{"url":"http://secunia.com/advisories/25232","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/25251","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://sunsolve.sun.com/search/document.do?assetkey=1-66-200588-1","tags":["vendor-advisory","x_refsource_SUNALERT"]},{"url":"http://secunia.com/advisories/25246","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securityfocus.com/bid/25159","tags":["vdb-entry","x_refsource_BID"]}],"priority":{"score":24.8,"factors":[{"name":"EPSS percentile","points":19.79},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2010-08-18"},"pocGithub":{"count":36,"skipped":9,"earliest":"2018-08-03","earliestUrl":"https://github.com/amriunix/CVE-2007-2447","repos":[{"name":"amriunix/CVE-2007-2447","url":"https://github.com/amriunix/CVE-2007-2447","stars":62,"created":"2018-08-03"},{"name":"Unix13/metasploitable2","url":"https://github.com/Unix13/metasploitable2","stars":5,"created":"2019-07-05"},{"name":"h3x0v3rl0rd/CVE-2007-2447","url":"https://github.com/h3x0v3rl0rd/CVE-2007-2447","stars":5,"created":"2022-10-25"},{"name":"Ziemni/CVE-2007-2447-in-Python","url":"https://github.com/Ziemni/CVE-2007-2447-in-Python","stars":3,"created":"2021-02-22"},{"name":"Alien0ne/CVE-2007-2447","url":"https://github.com/Alien0ne/CVE-2007-2447","stars":3,"created":"2021-06-30"}]},"metasploit":[{"name":"Samba \"username map script\" Command Execution","module":"exploit/multi/samba/usermap_script","type":"exploit","disclosureDate":"2007-05-14","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/samba/usermap_script.rb"}],"first":{"date":"2007-05-14","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/samba/usermap_script.rb"},"provenance":"source"},"referencesTotal":56,"summary":{"text":"The MS-RPC functionality in smbd in Samba versions 3.0.0 through 3.0.25rc3 contains a shell metacharacter injection flaw affecting the SamrChangePassword function, remote printer management, and file share management. An unauthenticated remote attacker can execute arbitrary commands via the SamrChangePassword path only when the \"username map script\" smb.conf option is enabled, while a remote authenticated user can execute commands through the printer and file share management functions.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:41:28Z"},"euvd":{"id":"EUVD-2007-2442","exploited":false,"provenance":"source"},"exploits":[{"id":16320,"url":"https://www.exploit-db.com/exploits/16320","title":"Samba 3.0.20 < 3.0.25rc3 - 'Username' map script' Command Execution (Metasploit)","date":"2010-08-18","verified":true,"provenance":"source"}]}