Bug 239774 (CVE-2007-2447)

Summary: CVE-2007-2447 samba code injection
Product: [Other] Security Response Reporter: Mark J. Cox <mjc>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: osoukup, security-response-team, ssorce
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2007-0354 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-05-14 15:21:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 239430, 239431, 239432, 239433    
Bug Blocks:    

Description Mark J. Cox 2007-05-11 09:11:48 UTC
According to Samba:

"Unescaped user input parameters are passed as arguments to /bin/sh allowing for
remote command execution."

This could be triggered by a remote user if the server uses the non-default
"username map script" smb.conf option, or via remote file and printer management
scripts with an authenticated user.

These will affect Samba as shipped in Red Hat Enterprise Linux 2.1, 3, 4, 5.

Comment 1 Mark J. Cox 2007-05-14 09:25:21 UTC
Note the non-default "username map script" option only exists on Enterprise Linux 5

Comment 2 Mark J. Cox 2007-05-14 14:05:20 UTC
removing embargo, now public

Comment 3 Red Hat Bugzilla 2007-05-14 15:21:24 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2007-0354.html