Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:utilities
awstats
awstats-config_path.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File awstats-config_path.patch of Package awstats
Fix for CVE-2020-35176: don't look for unqualified awstats config files directly in /etc. Committed upstream (post-7.8) in 96756d7: https://github.com/eldy/AWStats/pull/196 diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 0bb4b26e..b9b38315 100755 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -1711,13 +1711,13 @@ sub Read_Config { # Check config file in common possible directories : # Windows : "$DIR" (same dir than awstats.pl) # Standard, Mandrake and Debian package : "/etc/awstats" - # Other possible directories : "/usr/local/etc/awstats", "/etc" + # Other possible directories : "/usr/local/etc/awstats", # FHS standard, Suse package : "/etc/opt/awstats" my $configdir = shift; my @PossibleConfigDir = ( "$DIR", "/etc/awstats", - "/usr/local/etc/awstats", "/etc", + "/usr/local/etc/awstats", "/etc/opt/awstats" );
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor