N-036: Updated Kerberos Packages Fix Vulnerability in ftp Client Privacy and Legal Notice

CIAC INFORMATION BULLETIN

N-036: Updated Kerberos Packages Fix Vulnerability in ftp Client

[Red Hat RHSA-2003:020-10]

February 3, 2003 15:00 GMT

PROBLEM: A vulnerability has been identified in the Kerberos ftp client. When retrieving a file with a filename beginning with a pipe character, the ftp client will pass the filename to the command shell in a system() call.
PLATFORM: Red Hat Linux 6.2
Red Hat Linux 7.0
Red Hat Linux 7.1
Red Hat Linux 7.2
Red Hat Linux 7.3
Red Hat Linux 8.0
DAMAGE: This could allow a malicious ftp server to write to files outside of the current directory or execute commands as the user running the ftp client.
SOLUTION: Apply updated packages.

VULNERABILITY
ASSESSMENT:
The risk is MEDIUM. There have been no reports as yet of this vulnerability being exploited. All users of Kerberos are advised to upgrade.

LINKS:  
  CIAC BULLETIN: http://www.ciac.org/ciac/bulletins/n-036.shtml
  ORIGINAL BULLETIN: https://rhn.redhat.com/errata/RHSA-2003-020.html

[***** Start Red Hat RHSA-2003:020-10 *****]

Updated kerberos packages fix vulnerability in ftp client

Advisory: RHSA-2003:020-10 
Last updated on: 2003-01-31 
Affected Products: Red Hat Linux 6.2
Red Hat Linux 7.0
Red Hat Linux 7.1
Red Hat Linux 7.2
Red Hat Linux 7.3
Red Hat Linux 8.0 
CVEs (cve.mitre.org): CAN-2003-0041
 

Security Advisory 


Details:

Updated packages fix a vulnerability found in the Kerberos ftp client
distributed with the Red Hat Linux krb5 packages.

Kerberos is a network authentication system.

A problem has been found in the Kerberos ftp client. When retrieving a
file with a filename beginning with a pipe character, the ftp client will
pass the filename to the command shell in a system() call. This could
allow a malicious ftp server to write to files outside of the current
directory or execute commands as the user running the ftp client.

The Kerberos ftp client runs as the default ftp client when the Kerberos
package krb5-workstation is installed on a Red Hat Linux distribution.

All users of Kerberos are advised to upgrade to these errata packages which
contain a backported patch and are not vulnerable to this issue.



Updated packages:

Red Hat Linux 6.2 

--------------------------------------------------------------------------------
 
SRPMS: 
krb5-1.1.1-32.src.rpm
[ via FTP ] [ via HTTP ]     7de192f207e97710837dfdc18dc8be0b 
  
i386: 
krb5-configs-1.1.1-32.i386.rpm
[ via FTP ] [ via HTTP ]     4336912a27f2bc883f29ac6d05b6c154 
krb5-devel-1.1.1-32.i386.rpm
[ via FTP ] [ via HTTP ]     18bdb726d9f38dbc792d5f15bc9db723 
krb5-libs-1.1.1-32.i386.rpm
[ via FTP ] [ via HTTP ]     6200ee5d3f15a46e5cd3ff2861c881c0 
krb5-server-1.1.1-32.i386.rpm
[ via FTP ] [ via HTTP ]     fc652d6f61443bc540ba290f69be2253 
krb5-workstation-1.1.1-32.i386.rpm
[ via FTP ] [ via HTTP ]     63ad9195b138e7dd65057aa298f8b085 
  
Red Hat Linux 7.0 

--------------------------------------------------------------------------------
 
SRPMS: 
krb5-1.2.2-16.src.rpm
[ via FTP ] [ via HTTP ]     616cdc7ef0e0e21ea841d0094c907e0a 
  
i386: 
krb5-devel-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     a0828c84238c35f745a4e536ae0a9d28 
krb5-libs-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     6a417b3633390567e24c8236d0a428aa 
krb5-server-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     ee80b17f8d07a416f615e18982bab8f8 
krb5-workstation-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     94ed04976632fbfb45fed0cb1fe39176 
  
Red Hat Linux 7.1 

--------------------------------------------------------------------------------
 
SRPMS: 
krb5-1.2.2-16.src.rpm
[ via FTP ] [ via HTTP ]     616cdc7ef0e0e21ea841d0094c907e0a 
  
i386: 
krb5-devel-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     a0828c84238c35f745a4e536ae0a9d28 
krb5-libs-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     6a417b3633390567e24c8236d0a428aa 
krb5-server-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     ee80b17f8d07a416f615e18982bab8f8 
krb5-workstation-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     94ed04976632fbfb45fed0cb1fe39176 
  
Red Hat Linux 7.2 

--------------------------------------------------------------------------------
 
SRPMS: 
krb5-1.2.2-16.src.rpm
[ via FTP ] [ via HTTP ]     616cdc7ef0e0e21ea841d0094c907e0a 
  
i386: 
krb5-devel-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     a0828c84238c35f745a4e536ae0a9d28 
krb5-libs-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     6a417b3633390567e24c8236d0a428aa 
krb5-server-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     ee80b17f8d07a416f615e18982bab8f8 
krb5-workstation-1.2.2-16.i386.rpm
[ via FTP ] [ via HTTP ]     94ed04976632fbfb45fed0cb1fe39176 
  
ia64: 
krb5-devel-1.2.2-16.ia64.rpm
[ via FTP ] [ via HTTP ]     d3eac1b4295ee369dcfd9995a0e45b37 
krb5-libs-1.2.2-16.ia64.rpm
[ via FTP ] [ via HTTP ]     ef40911979476a6eb1e5478ac7c47fea 
krb5-server-1.2.2-16.ia64.rpm
[ via FTP ] [ via HTTP ]     b75832522f7ea9947be50798ef26b779 
krb5-workstation-1.2.2-16.ia64.rpm
[ via FTP ] [ via HTTP ]     6048f3c9244988cba98faf1393c27723 
  
Red Hat Linux 7.3 

--------------------------------------------------------------------------------
 
SRPMS: 
krb5-1.2.4-4.src.rpm
[ via FTP ] [ via HTTP ]     3969cabccac559df1e3dcb52053c4027 
  
i386: 
krb5-devel-1.2.4-4.i386.rpm
[ via FTP ] [ via HTTP ]     6aec2391885a30736e5e1de4a771dc2f 
krb5-libs-1.2.4-4.i386.rpm
[ via FTP ] [ via HTTP ]     722ab734d6ce600dd80bba2486d8a140 
krb5-server-1.2.4-4.i386.rpm
[ via FTP ] [ via HTTP ]     6b5f820a689f7298d31258df42940216 
krb5-workstation-1.2.4-4.i386.rpm
[ via FTP ] [ via HTTP ]     342240d400ec1a1538d04da1d223bbf6 
  
Red Hat Linux 8.0 

--------------------------------------------------------------------------------
 
SRPMS: 
krb5-1.2.5-8.src.rpm
[ via FTP ] [ via HTTP ]     eea7b6df4f894efbdd94bac8be3f917d 
  
i386: 
krb5-devel-1.2.5-8.i386.rpm
[ via FTP ] [ via HTTP ]     9e91371e397a6eec059a1b5e3139f3ef 
krb5-libs-1.2.5-8.i386.rpm
[ via FTP ] [ via HTTP ]     a830d26d187e18be678ee12722eec485 
krb5-server-1.2.5-8.i386.rpm
[ via FTP ] [ via HTTP ]     fd353f875ea9edc4375af13ba80ae38f 
krb5-workstation-1.2.5-8.i386.rpm
[ via FTP ] [ via HTTP ]     70b04bf0aa7662af6704ce0223ebb914 
  

Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

To update all RPMs for your particular architecture, run:

rpm -Fvh [filenames]

where [filenames] is a list of the RPMs you wish to upgrade. Only those
RPMs which are currently installed will be updated. Those RPMs which are
not installed but included in the list will not be updated. Note that you
can also use wildcards (*.rpm) if your current directory *only* contains the
desired RPMs.

Please note that this update is also available via Red Hat Network. Many
people find this an easier way to apply updates. To use Red Hat Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the appropriate
RPMs being upgraded on your system.



References:

http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2003-0041
http://www.kb.cert.org/vuls/id/258721
http://marc.theaimsgroup.com/?l=bugtraq&m=87602746719482
http://marc.theaimsgroup.com/?l=bugtraq&m=87602746719527 



Keywords:

ftp, krb5, netkit 



--------------------------------------------------------------------------------
The listed packages are GPG signed by Red Hat, Inc. for security. Our key is available 
at:
http://www.redhat.com/solutions/security/news/publickey.html#key 
You can verify each package and see who signed it with the following command:

rpm --checksig -v filename 
If you only wish to verify that each package has not been corrupted or tampered with, 
examine only the md5sum with the following command:

md5sum filename 
Note that you need RPM >= 3.0 to check GnuPG keys. 

The Red Hat security contact is security@redhat.com. More contact details at 
http://www.redhat.com/solutions/security/news/contact.html
 
 

[***** End Red Hat RHSA-2003:020-10 *****]


CIAC wishes to acknowledge the contributions of Red Hat for the information contained in this bulletin.
DOE-CIRC can be contacted at:
    Voice:          +1 866-941-2472 (7 x 24)
    E-mail:          doecirc@doecirc.energy.gov
    World Wide Web:  http://www.doecirc.energy.gov/