Bug 436101

Summary: fedora-idm-console is world writable
Product: [Retired] 389 Reporter: Doncho Gunchev <dgunchev>
Component: Security - GeneralAssignee: Rich Megginson <rmeggins>
Status: CLOSED NEXTRELEASE QA Contact: Chandrasekar Kannan <ckannan>
Severity: urgent Docs Contact:
Priority: low    
Version: 1.1.0CC: benl, security-response-team
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-03-19 18:35:53 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:    
Bug Blocks: 436107    

Description Doncho Gunchev 2008-03-05 13:09:31 UTC
Description of problem:
The file /usr/bin/fedora-idm-console is world writable.

Version-Release number of selected component (if applicable):
fedora-idm-console-1.1.0-5.fc6

How reproducible:
always, removed and yum installed it again - no change. rpmverify shows no
problems too.

Steps to Reproduce:
1. yum -y install fedora-idm-console
2. ls -al /usr/bin/fedora-idm-console
  
Actual results:
-rwxrwxrwx 1 root root 1614 2007-12-20 13:20 /usr/bin/fedora-idm-console

Expected results:
-rwxr-xr-x 1 root root 1614 2007-12-20 13:20 /usr/bin/fedora-idm-console

Additional info:
I did rpmbuild --rebuild and the result is the same... here's the reason I think:
--- cut ---
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_javadir}
install -m777 built/*.jar $RPM_BUILD_ROOT%{_javadir}
install -d $RPM_BUILD_ROOT%{_bindir}
install -m777 built/%{name} $RPM_BUILD_ROOT/%{_bindir}
--- cut ---
The jar file is with normal permissions probably because
/usr/lib/rpm/redhat/brp-java-repack-jars takes care of it.

Comment 1 Tomas Hoger 2008-03-05 14:02:57 UTC
Doncho, thanks for the report.  We have assigned CVE id CVE-2008-0889 to this
issue and have created parent bug to track this issue across all affected
versions - bug #436107.

Comment 2 Doncho Gunchev 2008-03-05 15:13:01 UTC
btw, rpmlint catches this one and some more problems with this package...

Comment 3 Tomas Hoger 2008-03-19 17:31:20 UTC
Updated packages that fix this issue will appear in directory.fedoraproject.org
repository in a while.

Comment 4 Rich Megginson 2008-03-19 18:35:53 UTC
Packages are now available from directory.fedoraproject.org yum repo.