Bug 824660 (CVE-2012-2389)

Summary: CVE-2012-2389 hostapd: insecure default permissions on /etc/hostapd/hostapd.conf
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: linville
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard: impact=low,public=20120517,reported=20120517,source=suse,cvss2=2.1/AV:L/AC:L/Au:N/C:P/I:N/A:N,fedora-all/hostapd=affected
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-19 17:11:27 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On: 824661, 826109    
Bug Blocks:    

Description Vincent Danen 2012-05-23 18:32:47 EDT
It was reported [1] that the default permissions of /etc/hostapd/hostapd.conf were insecure (0644) considering they could contain credentials (PSKs, shared radius secrets, etc.) that would then be world readable.

This is a low-impact flaw that be mitigated by changing the permissions to the file (upstream has done this now).

This was assigned CVE-2012-2389 [2] (although no credentials are written by any tools or by default to this file, so an administrator should logically tighten up the permissions if saving sensitive information to the file).

[1] https://bugzilla.novell.com/show_bug.cgi?id=740964
[2] http://www.openwall.com/lists/oss-security/2012/05/23/13
Comment 1 Vincent Danen 2012-05-23 18:33:42 EDT
Created hostapd tracking bugs for this issue

Affects: fedora-all [bug 824661]
Comment 2 Vincent Danen 2012-06-19 17:11:27 EDT
This is corrected via hostapd-0.7.3-9.fc17 and hostapd-0.7.3-9.fc16.