Bug 215731

Summary: CVE-2006-5925 elinks smb protocol arbitrary file access
Product: Red Hat Enterprise Linux 4 Reporter: Josh Bressers <bressers>
Component: elinksAssignee: Karel Zak <kzak>
Status: CLOSED ERRATA QA Contact:
Severity: urgent Docs Contact:
Priority: medium    
Version: 4.0CC: sheltren
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=critical,source=fulldisclosure,public=20061115:0150,reported=20061115
Fixed In Version: RHSA-2006-0742 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-11-15 20:21:08 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:

Description Josh Bressers 2006-11-15 14:27:08 UTC
A flaw has been found in the way elinks parses smb:// protocol URLs:
http://marc.theaimsgroup.com/?l=full-disclosure&m=116355556512780&w=2

This flaw could allow a remote web page to read and write arbitrary files with
the permissions of the user running elinks.

Comment 4 Red Hat Bugzilla 2006-11-15 20:21:08 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-2006-0742.html


Comment 5 Jeff Sheltren 2006-11-15 22:44:41 UTC
Hi, I'm looking into fixing this for Fedora Legacy (FC3 & FC4), and I'm curious
about the patch used for EL4.  Why was the smb protocol disabled completely in
configure.in instead of patching smb.c?  Was fixing smb.c just too messy?  Is it
assumed that nobody uses elinks for smb protocol?

Thanks for any input.

Comment 6 Karel Zak 2006-11-16 00:11:34 UTC
Maybe more sensitive way is disable only smb commands (smbclient -c), but I
think number of users who use smb by elinks is really very small and we also
doesn't support this feature in RHEL2.1, RHEL3 and RHEL5 (FC6). So ... It seems
it's better disable this dangerous feature at all.



Comment 7 Jeff Sheltren 2006-11-16 00:18:02 UTC
OK, that's what I figured.  Thanks for the clarification.

Comment 8 Kalle Olavi Niemitalo 2006-11-16 19:59:23 UTC
I have added this to the ELinks Bugzilla:
http://bugzilla.elinks.cz/show_bug.cgi?id=841