-
-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CVE-2020-35176: path traversal flaw #195
Comments
@Beuc: since the fix for #90 and identified with CVE-2020-29600 is in a released version, can you request a new CVE id for this (new) incomplete fix respectively for this remaining path traversal issue? |
@carnil: will do, leaving a couple days for the maintainer to confirm |
This is now CVE-2020-35176. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
It seems #90 is not completely fixed in 7.8.
(that is, even after CVE-2017-1000501 and CVE-2020-29600 are fixed)
Altering slightly the original example:
http://myserver.example.com/cgi-bin/awstats.pl?config=/etc/passwd
to e.g.:
http://myserver.example.com/cgi-bin/awstats.pl?config=passwd
http://myserver.example.com/cgi-bin/awstats.pl?config=/passwd
http://myserver.example.com/cgi-bin/awstats.pl?config=apache2/apache2.org
it is still parsing /etc/*.
I'd expect it to only allow files within /etc/awstats/awstats*.conf.
Like #90 this requires that /etc/awstats/awstats.conf does not exist (e.g. in multi-hosting environments with no default config).
The text was updated successfully, but these errors were encountered: