Summary: | <www-servers/webfs-1.21-r3: world-readable logdir (CVE-2013-0347) | ||
---|---|---|---|
Product: | Gentoo Security | Reporter: | Agostino Sarubbo <ago> |
Component: | Vulnerabilities | Assignee: | Gentoo Security <security> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | maintainer-needed, zmedico |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.openwall.com/lists/oss-security/2013/02/22/16 | ||
Whiteboard: | B4 [noglsa] | ||
Package list: | Runtime testing required: | --- |
Description
Agostino Sarubbo
2013-02-23 19:01:40 UTC
This is fixed in webfs-1.21-r3 with this patch: --- ./webfsd.c +++ ./webfsd.c @@ -918,8 +918,11 @@ } else { if (NULL == (logfh = fopen(logfile,"a"))) xperror(LOG_WARNING,"open access log",NULL); - else + else { close_on_exec(fileno(logfh)); + if (0 != chmod(logfile,S_IRUSR|S_IWUSR)) + xperror(LOG_WARNING,"chmod access log",NULL); + } } } Arch teams, stabilize www-servers/webfs-1.21-r3 please. amd64 stable x86 stable ppc stable GLSA vote: no GLSA vote: no Closing as noglsa |