Skip to main content

Online Farm System CVE-2025-8331

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 internet-exposed Online Farm System 1.0 instance
  2. Delivery
    Send HTTP POST request to /forgot_pass.php
  3. Exploit
    Inject SQL payload via email parameter
  4. Execution
    Query backend database without authentication
  5. Impact
    Extract 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 /forgot_pass.php endpoint must be reachable. No authentication is required; the forgot-password form is designed to be publicly accessible. No special configuration, non-default settings, or user interaction is needed beyond the ability to send an HTTP POST request with a crafted email parameter. The CVSS 4.0 vector (PR:N/UI:N/AC:L/AT:N) confirms this: no privileges, no user interaction, low complexity, and no attack requirements. Exploitation is bounded to installations of Online Farm System 1.0 specifically - other versions are not confirmed affected. Impact is further limited by the low-rated VC:L/VI:L/VA:L metrics, meaning database access is partial rather than full administrative compromise. The primary limiting factor in practice is the extreme rarity of this application in real-world deployments.

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 /forgot_pass.php, and submits a crafted email value containing SQL injection syntax (e.g., a boolean-based or UNION-based payload). The unsanitized input is interpolated directly into a database query, allowing the attacker to enumerate table structures, extract user credentials or personal data, or potentially modify records. A public PoC demonstrating this technique is available at https://github.com/wllovemy/cve/issues/10, meaning exploitation requires minimal SQL injection knowledge.

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

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 7.3 HIGH

Unauthenticated network-accessible forgot-password endpoint with no interaction needed; impact limited to partial database read/write, no scope change to other systems.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/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 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

EPSS Score
0.1%
Top 80% exploitable
Prevalence
Rare
niche educational PHP demo, minimal production enterprise 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