← Vulnerability feed

Vulnerability record · CVE-2006-2685 · published 31 May 2006

CVE-2006-2685: BASE PHP remote file inclusion via BASE_path parameter

KKevin Johnson · Basic Analysis And Security Engine

Basic Analysis and Security Engine (BASE) 1.2.4 and earlier allows remote file inclusion through the BASE_path parameter in base_qry_common.php, base_stat_common.php, and includes/base_include.inc.php when register_globals is enabled. An attacker can point BASE_path at a remote file and cause arbitrary PHP code to execute. The flaw matters because it gives unauthenticated remote code execution on a web application that is often exposed to the internet.

4.0 CVSS 2.0 Medium EPSS 49% · top 1.2% CWE-94 · Code injection
4.0CVSS 2.0 base score
49%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
16References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

PHP remote file inclusion vulnerability in Basic Analysis and Security Engine (BASE) 1.2.4 and earlier, with register_globals enabled, allows remote attackers to execute arbitrary PHP code via a URL in the BASE_path parameter to (1) base_qry_common.php, (2) base_stat_common.php, and (3) includes/base_include.inc.php.

AV:N/AC:H/Au:N/C:P/I:P/A:N

Automated analysis

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

high priorityUnauthenticated remote code execution with public exploit code and high EPSS, though exploitation requires register_globals to be enabled.

What it is

Basic Analysis and Security Engine (BASE) 1.2.4 and earlier allows remote file inclusion through the BASE_path parameter in base_qry_common.php, base_stat_common.php, and includes/base_include.inc.php when register_globals is enabled. An attacker can point BASE_path at a remote file and cause arbitrary PHP code to execute. The flaw matters because it gives unauthenticated remote code execution on a web application that is often exposed to the internet.

Impact

An attacker gains arbitrary PHP code execution in the context of the web server, which can lead to full compromise of the BASE host and any data it can reach.

Attack surface

Reachable over the network through HTTP requests to the affected PHP scripts; no authentication is required, and no user interaction is needed. Exploitation depends on the PHP register_globals setting being enabled.

Exploitation

Not listed in CISA KEV, but EPSS is high at roughly 0.49 (98.8th percentile) and references include an Exploit tag and an Exploit-DB entry, indicating public exploit code exists.

What to do

  • Upgrade BASE to a version later than 1.2.4 or apply the vendor patch referenced in the SecurityFocus advisory.
  • Disable register_globals in PHP configuration, which removes the precondition for this vulnerability.
  • Restrict outbound network access from the web server so it cannot fetch remote files used in inclusion attacks.
  • If BASE cannot be patched immediately, remove or block access to the affected scripts from untrusted networks.
  • Run the web application with least privilege and keep PHP and the web server patched.

Detection

  • Search web server logs for requests to base_qry_common.php, base_stat_common.php, or includes/base_include.inc.php containing a BASE_path parameter with an external URL.
  • Monitor for outbound HTTP requests from the web server to unfamiliar hosts, which may indicate remote file inclusion.
  • Look for unexpected PHP files or modified content in the BASE web directory that could indicate dropped payloads.
  • Alert on PHP errors or warnings referencing include or require with remote URLs in application logs.

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-2006-2685 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-2006-1590Kevin johnson basic analysis and security engine vulnerabilityCross-site scripting (XSS) vulnerability in the PrintFreshPage function in (1) Basic Analysis and Security Engine (BASE) 1.2.4 and (2) Analysis Conso…EPSS 4.1%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-2006-2685), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.