← Vulnerability feed

Vulnerability record · CVE-2008-3922 · published 4 September 2008

CVE-2008-3922: AWStats Totals sort parameter PHP code injection

TTelartis Bv · Awstats Totals

AWStats Totals 1.0 through 1.14 passes the sort parameter into the multisort function, which dynamically builds an anonymous PHP function from that input. Because the parameter is not sanitized, injected PHP sequences are evaluated, allowing remote code execution on the web server. The flaw is a classic code injection (CWE-94) in a web-facing statistics script.

9.3 CVSS 2.0 High EPSS 53% · top 1.1% CWE-94 · Code injection
9.3CVSS 2.0 base score
53%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
22References
16 Jun 2026Last modified by NVD

Description

awstatstotals.php in AWStats Totals 1.0 through 1.14 allows remote attackers to execute arbitrary code via PHP sequences in the sort parameter, which is used by the multisort function when dynamically creating an anonymous PHP function.

AV:N/AC:M/Au:N/C:C/I:C/A:C

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

critical priorityUnauthenticated remote code execution with complete impact and high EPSS, though exploitation requires some attack complexity and the product is old.

What it is

AWStats Totals 1.0 through 1.14 passes the sort parameter into the multisort function, which dynamically builds an anonymous PHP function from that input. Because the parameter is not sanitized, injected PHP sequences are evaluated, allowing remote code execution on the web server. The flaw is a classic code injection (CWE-94) in a web-facing statistics script.

Impact

An unauthenticated remote attacker can execute arbitrary PHP code with the privileges of the web server process, leading to full compromise of the host and any data it can reach. The CVSS 2.0 vector rates confidentiality, integrity and availability impact as complete.

Attack surface

Reached over the network through HTTP requests to awstatstotals.php, with the malicious payload carried in the sort parameter. No authentication or user interaction is required per the CVSS vector (AV:N/AC:M/Au:N), though the record does not describe any access control on the script.

Exploitation

Not listed in CISA KEV and no ransomware association is recorded, but public exploit code exists in Exploit-DB (6368 and 17324) and EPSS is high at 0.532 (98.9th percentile), indicating meaningful real-world exploitation likelihood.

What to do

  • Apply the vendor patch referenced at telartis.nl/xcms/awstats/ or upgrade AWStats Totals past 1.14.
  • If the product is no longer maintained, remove or disable awstatstotals.php, or restrict it to trusted networks.
  • Sanitize and whitelist the sort parameter so only expected column names reach multisort, and avoid dynamic function creation from request input.
  • Run the web service under a least-privilege account and apply PHP open_basedir/disable_functions hardening to limit post-exploitation reach.

Detection

  • Inspect web logs for requests to awstatstotals.php with PHP function or code syntax in the sort parameter.
  • Alert on PHP errors or unusual eval/function-creation warnings tied to awstatstotals.php.
  • Monitor for unexpected outbound connections or child processes spawned by the web server user after such requests.
  • Search for known Exploit-DB payload patterns (6368, 17324) in HTTP request bodies and query strings.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2008-3922 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

4.3CVE-2008-3921Telartis bv awstats totals cross-site scripting vulnerabilityMultiple cross-site scripting (XSS) vulnerabilities in AWStats Totals 1.0 through 1.14 allow remote attackers to inject arbitrary web script or HTML …EPSS 1.3%8.8CVE-2026-65660Microsoft sharepoint server code injection vulnerabilityImproper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.KEVEPSS 2.1%9.8CVE-2026-60004Gitea diffpatch API code injection enables remote code executionGitea before 1.27.1 allows remote code execution through the diffpatch API by way of Git hook installation. The flaw is a code injection issue (CWE-9…KEVEPSS 24%analysed9.5CVE-2026-72530TrueConf Server sandbox breakout via crafted script code injectionTrueConf Server versions 5.3.X through 5.3.9, 5.4.X through 5.4.9, 5.5.X through 5.5.5 and earlier allow a remote unauthenticated attacker to break o…KEVEPSS 1.7%analysed9.4CVE-2025-62593Ray browser-based RCE via insufficient User-Agent guardRay, an AI compute engine, contains a critical remote code execution flaw before version 2.52.0. Its defense against browser-based attacks relies on …KEVEPSS 62%analysed9.8CVE-2026-9198Langflow auto_login and code validation chain enables unauthenticated RCEIBM Langflow OSS 1.0.0 through 1.10.0 exposes /api/v1/auto_login, which mints SUPERUSER tokens to any network caller, and /api/v1/validate/code, whic…KEVEPSS 29%analysed7.2CVE-2026-15410SonicWall SMA1000 AMC code injection allows OS command executionThe SMA1000 Appliance Management Console (AMC) contains a post-authentication code injection flaw (CWE-94) that, under specific conditions, lets an a…KEVEPSS 12%analysed9.8CVE-2008-4250Microsoft Windows Server service RPC path canonicalization buffer overflowThe Server service in multiple Windows versions fails to properly handle path canonicalization, allowing a crafted RPC request to overflow a buffer a…KEVEPSS 99%analysed

Source: NIST National Vulnerability Database (record CVE-2008-3922), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.