AWStats Report Viewer Security & Risk Analysis

wordpress.org/plugins/awstats-report-viewer

View CPanel's AWStats report via Wordpress Dashboard page.

50 active installs v0.7.1 PHP + WP 3.0.1+ Updated Sep 14, 2015
access-logsanalyticsapache-logcpanellogs
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is AWStats Report Viewer Safe to Use in 2026?

Generally Safe

Score 85/100

AWStats Report Viewer has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 10yr ago
Risk Assessment

The "awstats-report-viewer" v0.7.1 plugin exhibits a mixed security posture. On one hand, the absence of known CVEs and a clean vulnerability history suggest a history of responsible development. The code analysis also indicates good practices in SQL handling and output escaping, with all queries using prepared statements and all outputs being properly escaped. File operations are present, but their impact is not immediately clear without further context.

However, several significant concerns arise from the static analysis. The presence of the `exec` function, a dangerous function that allows for the execution of arbitrary commands, is a major red flag. While there are no apparent direct entry points like AJAX handlers, REST API routes, or shortcodes, the `exec` function can be triggered indirectly. Furthermore, the complete lack of nonce checks and capability checks, especially given the file operations, points to a potential for authorization bypass and arbitrary file manipulation or execution if an attacker can find a way to trigger these operations. The zero taint analysis flows could be due to the limited scope of the analysis or the absence of complex data flows that would trigger taint tracking.

In conclusion, while the plugin has a clean track record regarding known vulnerabilities, the direct presence of the `exec` function without any apparent safeguards and the absence of critical security checks like nonce and capability checks represent substantial weaknesses. These factors, combined with the file operations, create a risk of command injection and unauthorized actions. The plugin's security is heavily reliant on the assumption that the `exec` function is not reachable or is used in a highly controlled, non-user-supplied context, which is a risky assumption.

Key Concerns

  • Dangerous function 'exec' detected
  • Missing nonce checks
  • Missing capability checks
  • Significant file operations without clear security checks
Vulnerabilities
None known

AWStats Report Viewer Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

AWStats Report Viewer Code Analysis

Dangerous Functions
4
Raw SQL Queries
0
0 prepared
Unescaped Output
0
0 escaped
Nonce Checks
0
Capability Checks
0
File Operations
17
External Requests
0
Bundled Libraries
0

Dangerous Functions Found

execexec("{$buildStaticProg} -update -config={$domain} -configDir={$configDir} -dir={$outputDir} -awstatModules\Report\Model\AWStats.class.php:59
execexec($this->getAWStatsProg(), $awstatsHelpLines);Modules\Report\Model\AWStats.class.php:100
execif (!function_exists('exec') || (exec('echo EXEC') != 'EXEC')) {Modules\Report\Model\Viewer.class.php:164
execexec("cp -r {$iconsDirectory} {$imagesDirectory}");Modules\Report\Model\Viewer.class.php:202
Attack Surface

AWStats Report Viewer Attack Surface

Entry Points0
Unprotected0
Maintenance & Trust

AWStats Report Viewer Maintenance & Trust

Maintenance Signals

WordPress version tested4.1.42
Last updatedSep 14, 2015
PHP min version
Downloads7K

Community Trust

Rating26/100
Number of ratings3
Active installs50
Developer Profile

AWStats Report Viewer Developer Profile

Code Machine

1 plugin · 50 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect AWStats Report Viewer

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/awstats-report-viewer/public/css/bootstrap.min.css/wp-content/plugins/awstats-report-viewer/public/css/fa-solid.min.css/wp-content/plugins/awstats-report-viewer/public/css/fontawesome.min.css/wp-content/plugins/awstats-report-viewer/public/js/app.js/wp-content/plugins/awstats-report-viewer/public/js/bootstrap.bundle.min.js/wp-content/plugins/awstats-report-viewer/public/js/jquery.min.js
Script Paths
/wp-content/plugins/awstats-report-viewer/public/js/app.js/wp-content/plugins/awstats-report-viewer/public/js/bootstrap.bundle.min.js/wp-content/plugins/awstats-report-viewer/public/js/jquery.min.js
Version Parameters
awstats-report-viewer/public/css/bootstrap.min.css?ver=awstats-report-viewer/public/css/fa-solid.min.css?ver=awstats-report-viewer/public/css/fontawesome.min.css?ver=awstats-report-viewer/public/js/app.js?ver=awstats-report-viewer/public/js/bootstrap.bundle.min.js?ver=awstats-report-viewer/public/js/jquery.min.js?ver=

HTML / DOM Fingerprints

CSS Classes
arv-wrapper
FAQ

Frequently Asked Questions about AWStats Report Viewer