Skip to main content

CVE-2025-6094: SQL Injection in qianfox FoxCMS

Medium
VulnerabilityCVE-2025-6094cvecve-2025-6094
Published: Sun Jun 15 2025 (06/15/2025, 22:31:05 UTC)
Source: CVE Database V5
Vendor/Project: qianfox
Product: FoxCMS

Description

A vulnerability, which was classified as critical, has been found in qianfox FoxCMS up to 1.2.5. This issue affects the function batchCope of the file app/admin/controller/Download.php. The manipulation of the argument ids leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

AI-Powered Analysis

AILast updated: 07/21/2025, 21:02:52 UTC

Technical Analysis

CVE-2025-6094 is a medium-severity SQL injection vulnerability affecting qianfox FoxCMS versions 1.2.0 through 1.2.5. The vulnerability exists in the batchCope function within the app/admin/controller/Download.php file. Specifically, the issue arises from improper sanitization or validation of the 'ids' argument, which an attacker can manipulate to inject malicious SQL code. This injection flaw allows an unauthenticated remote attacker with low privileges to execute arbitrary SQL commands on the backend database. The vulnerability does not require user interaction and can be exploited over the network without authentication, increasing its risk profile. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P) reflects that the attack vector is network-based with low attack complexity, no user interaction, and low impact on confidentiality, integrity, and availability. Although the CVSS score is 5.3 (medium), the vulnerability could potentially allow attackers to extract sensitive data, modify or delete records, or disrupt CMS functionality depending on the database privileges of the affected application. No public exploit is currently known in the wild, but the exploit details have been disclosed, which may increase the likelihood of exploitation. No official patches or fixes have been linked yet, so affected organizations must take interim protective measures. The vulnerability is specific to FoxCMS, a content management system developed by qianfox, which is used for website content management and delivery.

Potential Impact

For European organizations using FoxCMS versions 1.2.0 to 1.2.5, this vulnerability presents a tangible risk of unauthorized data access and potential data manipulation. Exploitation could lead to leakage of sensitive business or customer information, undermining confidentiality. Integrity could be compromised if attackers alter website content or backend data, potentially damaging reputation and trust. Availability impact is likely limited but possible if attackers execute disruptive SQL commands. Given that FoxCMS is a CMS platform, organizations relying on it for public-facing websites or internal portals may experience service disruptions or data breaches. This is particularly critical for sectors handling personal data under GDPR, as breaches could lead to regulatory penalties and loss of customer confidence. The medium severity score suggests moderate risk, but the ease of remote exploitation without user interaction elevates concern. Organizations with limited security monitoring or patch management processes may be more vulnerable to exploitation once public exploits emerge.

Mitigation Recommendations

1. Immediate mitigation should include restricting access to the admin controller endpoints, especially the batchCope function, via network segmentation or firewall rules limiting access to trusted IPs only. 2. Employ Web Application Firewalls (WAFs) with custom rules to detect and block suspicious SQL injection payloads targeting the 'ids' parameter. 3. Conduct thorough input validation and sanitization on all user-supplied parameters, particularly 'ids', to ensure only expected numeric or safe values are processed. 4. Monitor application and database logs for unusual query patterns or errors indicative of injection attempts. 5. If possible, upgrade to a patched version of FoxCMS once available; until then, consider disabling or restricting the vulnerable functionality if feasible. 6. Implement least privilege principles on database accounts used by FoxCMS to limit the potential damage of SQL injection. 7. Educate development and operations teams about this vulnerability to ensure rapid response and remediation. 8. Regularly back up website and database content to enable recovery in case of compromise.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
VulDB
Date Reserved
2025-06-15T06:50:06.141Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 684f4df4a8c921274383350d

Added to database: 6/15/2025, 10:49:24 PM

Last enriched: 7/21/2025, 9:02:52 PM

Last updated: 8/18/2025, 1:28:30 AM

Views: 15

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats