Skip to content

CVE-2025-63261 #287

Description

@marillat

AWStats 8.0 is vulnerable to Command Injection via the open function

https://security-tracker.debian.org/tracker/CVE-2025-63261

Debian patch

--- a/wwwroot/cgi-bin/awstats.pl
+++ b/wwwroot/cgi-bin/awstats.pl
@@ -7572,7 +7572,7 @@ sub Read_DNS_Cache {
                LoadCache_hashfiles( $filetoload, $hashtoload );
        }
        if ( !scalar keys %$hashtoload ) {
-               open( DNSFILE, "$filetoload" )
+               open( DNSFILE, "<", $filetoload )
                  or error("Couldn't open DNS Cache file \"$filetoload\": $!");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions