Online Farm System
CVE-2025-8331
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify internet-exposed Online Farm System 1.0 instance
-
DeliverySend HTTP POST request to /forgot_pass.php
-
ExploitInject SQL payload via email parameter
-
ExecutionQuery backend database without authentication
-
ImpactExtract or modify application data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | Exploitation requires that a publicly network-accessible instance of Online Farm System 1.0 exist - specifically, the |
| Impact | The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N) reflects a worst-case accessibility profile: network-reachable, low complexity, no authentication, no user interaction, and no special attack requirements - all factors that in a widely deployed product would demand immediate response. However, impact metrics are constrained (VC:L/VI:L/VA:L/SC:N/SI:N/SA:N), indicating the blast radius is limited to partial read/write/disruption of the application's own database rather than full system compromise or lateral movement. The E:P modifier in the supplied vector confirms a publicly available exploit, which is an independent urgency signal. Counterbalancing this, the EPSS score of 0.07% at the 20th percentile indicates very low observed or predicted exploitation activity - a signal consistent with an obscure, niche product with minimal internet exposure. There is no CISA KEV entry. The realistic priority for most organizations is very low given the product's rare deployment footprint, but any organization publicly hosting this specific application should treat remediation as urgent given the unauthenticated entry point and available PoC. |
| Exploit ScenarioDerived | An unauthenticated attacker identifies a publicly hosted Online Farm System 1.0 instance, navigates to |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 25, 2026
SQL injection in Online Farm System 1.0 exposes the unauthenticated password-reset endpoint /forgot_pass.php to remote attackers who can manipulate the email parameter to inject arbitrary SQL commands against the backend database. A public exploit PoC was disclosed on GitHub (https://github.com/wllovemy/cve/issues/10) at time of reporting, lowering the technical barrier for exploitation. Despite the straightforward, unauthenticated attack surface, EPSS is very low at 0.07% (20th percentile), consistent with the product's minimal real-world deployment footprint and niche audience; no CISA KEV listing exists.
RemediationAI
No vendor-released patch has been identified at time of analysis; Online Farm System 1.0 is a code-projects demo application for which formal patching is unlikely without direct source modification. The primary recommended fix is to rewrite the affected SQL query in /forgot_pass.php to use parameterized queries or prepared statements (e.g., PHP PDO or MySQLi with bound parameters), which eliminates the injection vector at the root cause. As an immediate compensating control, restrict access to /forgot_pass.php via web server configuration (Apache .htaccess or nginx location block) to trusted IP ranges or disable the endpoint entirely if password recovery is not in use - note this disables the forgot-password feature for all users. Deploying a WAF rule targeting SQL metacharacters in the email POST parameter provides a secondary, defense-in-depth layer but should not be treated as a substitute for code-level remediation. If the application has no legitimate public user base, removing it from internet-facing infrastructure eliminates all exposure. See the VulDB advisory at https://vuldb.com/?id.318281 and exploit PoC at https://github.com/wllovemy/cve/issues/10 for technical details.
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
Online Farm System 1.0 is a PHP-based agricultural management web application distributed by code-projects (CPE: cpe:2.3:a:anisha:online_farm_system:1.0:*:*:*:*:*:*:*). The root cause is classified under CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - Injection), with the specific manifestation being unsanitized user-supplied input passed directly into SQL query construction within the /forgot_pass.php password-reset handler. The email field is concatenated into a database query without parameterization or escaping, a classic absence-of-prepared-statements defect in PHP applications that interact with relational databases. Because the forgot-password page is publicly accessible by design, no authentication bypass step is necessary.
Know when Online Farm System 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Unauthenticated network-accessible forgot-password endpoint with no interaction needed; impact limited to partial database read/write, no scope change to other systems.
Primary rating from NVD.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability was found in code-projects Online Farm System 1.0 and classified as critical. This issue affects some unknown processing of the file /forgot_pass.php. The manipulation of the argument email leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.
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.
Affected Products (CPE)CVE.org
More in Online Farm System
View allSQL injection in Online Farm System 1.0 (/categoryvalue.php) exposes remote unauthenticated attackers a direct path to r
SQL injection in code-projects Online Farm System 1.0 allows unauthenticated remote attackers to manipulate backend data
SQL injection in Online Farm System 1.0 allows remote attackers to manipulate database queries through the Username para
A vulnerability was found in code-projects Online Farm System 1.0. Rated medium severity (CVSS 6.9), this vulnerability
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB