Skip to main content

Online Farm System CVE-2025-8332

MEDIUM
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-07-30 cna@vuldb.com
5.5
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify exposed /register.php endpoint
  2. Delivery
    Send crafted HTTP POST with SQL payload in Username field
  3. Exploit
    Bypass input validation
  4. Execution
    Execute injected SQL against backend database
  5. Impact
    Extract 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

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

Alert me

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

NVD PRIMARY 5.5 MEDIUM
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
vuln.today AI 6.5 MEDIUM

Registration endpoint is unauthenticated and network-reachable; SQL injection yields partial data read/write but no scope change or demonstrated availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 80% exploitable
Prevalence
Rare
niche PHP demo application, negligible enterprise deployment footprint
Exploit
POC
Public exploit code exists
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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

48
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: +20
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.

Affected Products (CPE)CVE.org

cpe:2.3:a:anisha:online_farm_system:1.0:*:*:*:*:*:*:*

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