Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H vector indicates a local-only attack requiring no privileges or user interaction, with high impact across all three CIA triad dimensions. However, the LOCAL attack vector significantly constrains real-world exploitability compared to CVSS base scores of identical severity with AV:N. The true risk depends on: (1) whether installdb.php remains accessible post-installation or in development/staging environments, (2) if the application is deployed in multi-tenant hosting where local access is feasible, and (3) automation potential (SSVC automatable=YES due to blind SQL injection being scriptable). The 8.4 CVSS may overstate practical risk if proper deployment hygiene removes the script after setup; conversely, if installdb.php is left world-accessible or in source repositories, risk is severe. KEV status and EPSS score should be cross-referenced to confirm whether active exploitation has been observed in the wild—if absent, this may represent a high-severity-but-low-exploitation-probability issue typical of installer/setup-phase vulnerabilities. |
| Exploit ScenarioDerived | An attacker gains local filesystem or network access to a Foxcms v1.25 installation (e.g., shared hosting environment, compromised development server, or misconfigured production instance where installdb.php is not deleted). The attacker crafts a malicious HTTP POST request to installdb.php with a time-based SQL injection payload in the 'dbname' field, such as: dbname=testdb' AND SLEEP(5)-- which causes the database server to pause for 5 seconds, confirming injection. Through iterative time-delay requests, the attacker exfiltrates sensitive data (usernames, passwords, email addresses) from the database character-by-character, or executes administrative SQL commands (DROP DATABASE, ALTER TABLE, INSERT backdoor accounts) to achieve full database compromise. No user interaction or elevated privileges are required. If the installdb.php script is publicly accessible (AV:L constraint notwithstanding in multi-tenant environments), exploitation can be automated with tools like sqlmap, significantly reducing attack complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 14, 2026
Foxcms v1.25 contains a SQL time-based injection vulnerability in the installdb.php installation script, specifically in the $_POST['dbname'] parameter, allowing unauthenticated local attackers to execute arbitrary SQL commands and fully compromise database confidentiality, integrity, and availability. With a CVSS score of 8.4 and local attack vector, this vulnerability poses a significant risk during initial application deployment; exploitation status and POC availability should be confirmed against current threat intelligence feeds, though the high CVSS and local-only requirement suggests moderate real-world impact depending on deployment model.
RemediationAI
Patching: Upgrade to Foxcms version > 1.25 if available (vendor advisory required to confirm patched version). Check official Foxcms repository or vendor security page for available patches. Immediate Mitigation: Delete or restrict access to installdb.php post-installation using filesystem permissions or web server configuration (e.g., Apache .htaccess or Nginx location block). Code-Level Fix: Implement prepared statements with parameterized queries in installdb.php: use placeholders (?) instead of string concatenation. Example: $stmt = $pdo->prepare('CREATE DATABASE ?'); $stmt->execute([$dbname]);. Validate and sanitize $_POST['dbname'] against whitelist of allowed database names (alphanumeric + underscore only). Access Control: Restrict installdb.php execution to localhost/127.0.0.1 only via web server configuration or .htaccess rules. Input Validation: Implement strict input validation: reject database names containing SQL keywords, special characters, or exceeding expected length. Use regex: ^[a-zA-Z0-9_]+$ before processing.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability stems from insufficient input sanitization in the database installation routine (installdb.php), where user-supplied input from the $_POST['dbname'] parameter is concatenated directly into SQL queries without proper parameterization or prepared statement usage. This represents a classic instance of CWE-89 (SQL Injection), specifically a time-based blind SQL injection variant where attackers infer database content through response time delays. The affected component is Foxcms v1.25 (CPE would be: cpe:2.3:a:foxcms:foxcms:1.25:*:*:*:*:*:*:*), a content management system. The installation script typically lacks the application-level authentication controls present in production code, making this an attractive attack surface for initial compromise during setup or post-deployment misconfiguration scenarios.
Know when Foxcms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
Foxcms v1.25 has a SQL time injection in the $_POST['dbname'] parameter of installdb.php.
Executive ViewAI
FoxCMS v1.25 contains a critical SQL injection vulnerability in the database installation function that could allow attackers to extract sensitive data or compromise system integrity. Organizations running this version face immediate risk of unauthorized database access and potential data breach if the installation interface is accessible.
Disable or remove installdb.php from production environments if installation is complete; implement WAF rules to block malicious SQL syntax in POST parameters to installdb.php; restrict network access to installdb.php via firewall rules to administrative networks only; disable the installation/setup functionality at the application level if available; implement database user permissions with minimal privileges to limit injection impact.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
FoxCMS version 1.2.5 contains an unauthenticated remote code execution vulnerability in the case display page of the ind
FoxCMS v1.2.5 was discovered to contain a remote code execution (RCE) vulnerability via the index() method at \controlle
An arbitrary file upload vulnerability in the component \controller\LocalTemplate.php of FoxCMS v1.2.5 allows attackers
foxcms v1.2.5 was discovered to contain an arbitrary file deletion vulnerability via the delRestoreSerie method. Rated c
FoxCMS 1.2.6, there is a Cross Site Scripting vulnerability in /index.php/article. Rated high severity (CVSS 8.8), this
In FoxCMS 1.2.6, there is a reflected Cross Site Scripting (XSS) vulnerability in /index.php/plus. Rated high severity (
foxcms v1.2.5 was discovered to contain a SQL injection vulnerability via the executeCommand method in DataBackup.php. R
An arbitrary file upload vulnerability in the component /controller/PicManager.php of FoxCMS v1.2.6 allows attackers to
An issue in the restores method (DataBackup.php) of foxcms v2.0.6 allows attackers to execute a directory traversal. Rat
FoxCMS v1.2.5 and before is vulnerable to SQL Injection via the column_model parameter in the app/admin/controller/Colum
FOXCMS <= V1.25 is vulnerable to SQL Injection via $param['title'] in /admin/util/Field.php. Rated high severity (CVSS 7
In FOXCMS <=1.25, the installdb.php file has a time - based blind SQL injection vulnerability. Rated high severity (CVSS
EUVD-2025-16731
NVD
CVE.org
EPSS
GitHub
Exploit-DB