Online Farm System
CVE-2025-8332
MEDIUM
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed /register.php endpoint
-
DeliverySend crafted HTTP POST with SQL payload in Username field
-
ExploitBypass input validation
-
ExecutionExecute injected SQL against backend database
-
ImpactExtract or modify database contents
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
| Exploitation Conditions | The /register.php endpoint must be reachable over the network - this is a pre-authentication surface requiring no credentials (PR:N in the CVSS vector). The only prerequisite is that the Online Farm System 1.0 application is deployed and the registration page is accessible to the attacker. No special configuration, enabled feature, or non-default setting is required; the vulnerability exists in the default application state. Limiting factors include: the product's extremely narrow deployment footprint (primarily educational/demo use), the absence of known mass-exploitation tooling targeting this application, and the application's likely absence from internet-facing production environments. Exploitation is bounded to the specific PHP application and its configured database - no scope change to adjacent systems is indicated. |
| Impact | The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/E:P) scores 5.5 (Medium) and reflects a fully unauthenticated network-reachable attack with partial confidentiality, integrity, and availability impact on the vulnerable system and no downstream scope change. The exploitation threat modifier E:P confirms a publicly available proof-of-concept, which is consistent with the GitHub issue reference. The EPSS score of 0.07% at the 20th percentile is notably low, strongly suggesting that despite the trivial exploit technique and public PoC, widespread opportunistic exploitation is not occurring - most likely because the product has a very small real-world deployment base as a demo/educational application. The vulnerability is not listed in CISA KEV, further supporting the conclusion that this is not being exploited at scale. Real-world priority should therefore be LOW for most organizations, with elevated concern only for any institution that has actually deployed this application in a production environment. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends an HTTP POST request to /register.php with a crafted Username value such as ' OR 1=1-- or a UNION-based payload to enumerate database tables and extract credentials or other stored data. Because a public proof-of-concept exists at the referenced GitHub issue, the attack technique is documented and reproducible by low-skilled attackers. No interaction from an authenticated user or administrator is required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 25, 2026
SQL injection in code-projects Online Farm System 1.0 allows unauthenticated remote attackers to manipulate backend database queries by supplying crafted input to the Username parameter of the /register.php registration endpoint. The vulnerability is confirmed as critical by the reporter and a public proof-of-concept exploit is documented in a GitHub issue. No active exploitation has been confirmed by CISA KEV, and the EPSS score of 0.07% (20th percentile) reflects the product's niche footprint despite the low technical barrier to exploitation.
RemediationAI
No vendor-released patch has been identified at time of analysis. The canonical fix requires refactoring /register.php to use parameterized queries (prepared statements) with either MySQLi or PDO, replacing any direct string concatenation of user input into SQL statements. As immediate compensating controls: restrict public access to the registration endpoint if open registration is not required by the deployment use case; deploy a web application firewall rule to block common SQL metacharacters (single quotes, comment sequences, UNION keywords) in the Username field, noting that WAF rules are bypassable and not a permanent solution; and enforce database least-privilege so the web application's database user cannot access sensitive tables beyond those required for application function. If the application is deployed for demo or educational purposes only, the strongest control is removal from public-facing infrastructure entirely.
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 affected product is a PHP-based web application identified by CPE cpe:2.3:a:anisha:online_farm_system:1.0:*:*:*:*:*:*:* distributed by code-projects.org, a repository of educational and demo PHP projects. The vulnerability is rooted in CWE-74 (Improper Neutralization of Special Elements in Output), which in this context manifests as SQL injection: user-supplied input in the Username registration field is concatenated into a backend SQL query without sanitization or use of parameterized statements. This is a classic first-order injection pattern common in PHP applications that use mysqli or PDO without prepared statements. Because the vulnerable endpoint is /register.php - a pre-authentication surface - the attack requires no prior credentials.
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
Registration endpoint is unauthenticated and network-reachable; SQL injection yields partial data read/write but no scope change or demonstrated availability impact.
Primary rating from NVD.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability was found in code-projects Online Farm System 1.0. It has been classified as critical. Affected is an unknown function of the file /register.php. The manipulation of the argument Username leads to sql injection. It is possible to launch the attack 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 Online Farm System 1.0 exposes the unauthenticated password-reset endpoint `/forgot_pass.php` to remote
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