Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-15049: SQL Injection in code-projects Online Farm System

0
Medium
VulnerabilityCVE-2025-15049cvecve-2025-15049
Published: Tue Dec 23 2025 (12/23/2025, 23:02:07 UTC)
Source: CVE Database V5
Vendor/Project: code-projects
Product: Online Farm System

Description

CVE-2025-15049 is a medium-severity SQL injection vulnerability found in version 1. 0 of the code-projects Online Farm System, specifically in the /addProduct. php file. The flaw arises from improper sanitization of the 'Username' parameter, allowing remote attackers to inject malicious SQL code without authentication or user interaction. Exploitation could lead to partial compromise of confidentiality, integrity, and availability of the backend database. Although no known exploits are currently active in the wild, a public exploit exists, increasing the risk of future attacks. This vulnerability primarily affects organizations using this specific online farm management software. European agricultural businesses and related service providers using this system are at risk, especially in countries with higher adoption of such platforms. Mitigation requires immediate input validation, parameterized queries, and monitoring for suspicious database activity. Given the medium CVSS score of 6.

AI-Powered Analysis

AILast updated: 12/31/2025, 00:28:22 UTC

Technical Analysis

CVE-2025-15049 is a SQL injection vulnerability identified in the Online Farm System version 1.0 developed by code-projects. The vulnerability exists in the /addProduct.php endpoint, where the 'Username' parameter is not properly sanitized or validated before being used in SQL queries. This allows an unauthenticated remote attacker to inject malicious SQL commands, potentially manipulating the database. The vulnerability does not require any privileges or user interaction, making it easier to exploit remotely. The CVSS 4.0 score of 6.9 reflects a medium severity, indicating a significant but not critical risk. The impact includes unauthorized data disclosure, data modification, or deletion, and potential disruption of service. No patches or fixes are currently listed, and while no active exploitation has been reported, a public exploit is available, increasing the risk of exploitation. The vulnerability affects only version 1.0 of the product, limiting its scope to organizations still running this outdated version. The lack of authentication and user interaction requirements combined with remote exploitability makes this a notable threat to affected systems.

Potential Impact

For European organizations using the Online Farm System 1.0, this vulnerability could lead to unauthorized access to sensitive agricultural data, including product inventories, user information, and operational details. Attackers could manipulate or delete data, causing operational disruptions and financial losses. Confidentiality breaches could expose proprietary farming methods or customer data, potentially violating GDPR regulations and resulting in legal penalties. Integrity compromises could lead to incorrect product listings or orders, damaging business reputation and trust. Availability impacts might disrupt farm management operations, affecting supply chains and productivity. Given the agricultural sector's increasing reliance on digital tools, such disruptions could have cascading effects on food production and distribution. The presence of a public exploit increases the likelihood of opportunistic attacks, especially against smaller or less-secure farms that may not have robust cybersecurity measures.

Mitigation Recommendations

Organizations should immediately audit their use of the Online Farm System to identify installations of version 1.0. Since no official patch is currently available, implement the following mitigations: 1) Apply input validation and sanitization on all user-supplied data, especially the 'Username' parameter in /addProduct.php, using allowlists and escaping techniques. 2) Refactor database queries to use parameterized statements or prepared queries to prevent injection. 3) Employ Web Application Firewalls (WAFs) with SQL injection detection rules to block malicious requests targeting this endpoint. 4) Monitor database logs and application logs for unusual query patterns or errors indicative of injection attempts. 5) Restrict network access to the application backend where possible, limiting exposure to trusted IPs. 6) Plan for an upgrade to a patched or newer version of the software once available. 7) Conduct security awareness training for IT staff to recognize and respond to exploitation attempts. 8) Regularly back up databases to enable recovery in case of data tampering or loss.

Need more detailed analysis?Upgrade to Pro Console

Technical Details

Data Version
5.2
Assigner Short Name
VulDB
Date Reserved
2025-12-23T14:17:06.535Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 694b21afd0b9012ffd6d18db

Added to database: 12/23/2025, 11:11:43 PM

Last enriched: 12/31/2025, 12:28:22 AM

Last updated: 2/4/2026, 5:56:34 AM

Views: 38

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

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

Need more coverage?

Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats