Skip to main content

Foxcms EUVDEUVD-2025-16731

| CVE-2025-46154 HIGH
SQL Injection (CWE-89)
2025-06-03 cve@mitre.org
8.4
CVSS 3.1 · NVD
View

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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

n/a n/a

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

NVD PRIMARY 8.4 HIGH
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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Foxcms v1.25 has a SQL time injection in the $_POST['dbname'] parameter of installdb.php.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 89% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

More in Foxcms

View all
CVE-2025-29306 CRITICAL POC
9.8 Mar 27

FoxCMS version 1.2.5 contains an unauthenticated remote code execution vulnerability in the case display page of the ind

CVE-2025-25789 CRITICAL POC
9.8 Feb 26

FoxCMS v1.2.5 was discovered to contain a remote code execution (RCE) vulnerability via the index() method at \controlle

CVE-2025-25790 CRITICAL POC
9.8 Feb 26

An arbitrary file upload vulnerability in the component \controller\LocalTemplate.php of FoxCMS v1.2.5 allows attackers

CVE-2025-45238 CRITICAL POC
9.1 May 05

foxcms v1.2.5 was discovered to contain an arbitrary file deletion vulnerability via the delRestoreSerie method. Rated c

CVE-2025-55409 HIGH POC
8.8 Aug 25

FoxCMS 1.2.6, there is a Cross Site Scripting vulnerability in /index.php/article. Rated high severity (CVSS 8.8), this

CVE-2025-55422 HIGH POC
8.8 Aug 27

In FoxCMS 1.2.6, there is a reflected Cross Site Scripting (XSS) vulnerability in /index.php/plus. Rated high severity (

CVE-2025-45240 MEDIUM POC
6.5 May 05

foxcms v1.2.5 was discovered to contain a SQL injection vulnerability via the executeCommand method in DataBackup.php. R

CVE-2025-51650 MEDIUM POC
5.6 Jul 14

An arbitrary file upload vulnerability in the component /controller/PicManager.php of FoxCMS v1.2.6 allows attackers to

CVE-2025-45239 MEDIUM POC
5.3 May 05

An issue in the restores method (DataBackup.php) of foxcms v2.0.6 allows attackers to execute a directory traversal. Rat

CVE-2025-56630 HIGH
7.3 Sep 08

FoxCMS v1.2.5 and before is vulnerable to SQL Injection via the column_model parameter in the app/admin/controller/Colum

CVE-2025-29181 HIGH
7.2 Apr 17

FOXCMS <= V1.25 is vulnerable to SQL Injection via $param['title'] in /admin/util/Field.php. Rated high severity (CVSS 7

CVE-2025-29180 HIGH
7.2 Apr 17

In FOXCMS <=1.25, the installdb.php file has a time - based blind SQL injection vulnerability. Rated high severity (CVSS

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy