Bug#560771: [Pkg-acpi-devel] Bug#560771: acpid: CVE-2009-4235: weak permissions on /var/log/acpid

2009-12-15 Thread Raphael Geissert
2009/12/14 Michael Meskes : > On Sun, Dec 13, 2009 at 09:42:58PM -0600, Raphael Geissert wrote: >> I think the best approach is to prepare uploads for unstable and >> stable (via stable-proposed-updates) fixing the permissions of the > > Why only proposed-updates and not security? > >> file, and an

Bug#560771: [Pkg-acpi-devel] Bug#560771: acpid: CVE-2009-4235: weak permissions on /var/log/acpid

2009-12-14 Thread Michael Meskes
On Sun, Dec 13, 2009 at 09:42:58PM -0600, Raphael Geissert wrote: > I think the best approach is to prepare uploads for unstable and > stable (via stable-proposed-updates) fixing the permissions of the Why only proposed-updates and not security? > file, and an upload for oldstable (via oldstable-

Bug#560771: [Pkg-acpi-devel] Bug#560771: acpid: CVE-2009-4235: weak permissions on /var/log/acpid

2009-12-13 Thread Raphael Geissert
Hi, 2009/12/12 Ted Felix : >  Looks like the problem is in this line from open_logs(): > > logfd = open(logfile, O_WRONLY|O_CREAT|O_APPEND); > >  It should be this: > > logfd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 0640); > >  And (theoretically, as I've not tested it) the problem is solved. Y

Bug#560771: [Pkg-acpi-devel] Bug#560771: acpid: CVE-2009-4235: weak permissions on /var/log/acpid

2009-12-12 Thread Ted Felix
Looks like the problem is in this line from open_logs(): logfd = open(logfile, O_WRONLY|O_CREAT|O_APPEND); It should be this: logfd = open(logfile, O_WRONLY|O_CREAT|O_APPEND, 0640); And (theoretically, as I've not tested it) the problem is solved. As mentioned, this doesn't fix any existi

Bug#560771: [Pkg-acpi-devel] Bug#560771: acpid: CVE-2009-4235: weak permissions on /var/log/acpid

2009-12-12 Thread Raphael Geissert
2009/12/12 Michael Meskes : > On Fri, Dec 11, 2009 at 09:23:58PM -0600, Raphael Geissert wrote: >> the following CVE (Common Vulnerabilities & Exposures) id was >> published for acpid. >> >> CVE-2009-4235[0]: >> | acpid 1.0.4 sets an unrestrictive umask, which might allow local users >> | to levera

Bug#560771: [Pkg-acpi-devel] Bug#560771: acpid: CVE-2009-4235: weak permissions on /var/log/acpid

2009-12-12 Thread Michael Meskes
On Fri, Dec 11, 2009 at 09:23:58PM -0600, Raphael Geissert wrote: > the following CVE (Common Vulnerabilities & Exposures) id was > published for acpid. > > CVE-2009-4235[0]: > | acpid 1.0.4 sets an unrestrictive umask, which might allow local users > | to leverage weak permissions on /var/log/acp