Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate with low-privileged account
-
DeliverySubmit crafted input to farmers/add.php parameter
-
ExploitBreak out of mysqli_query statement
-
ExecutionInject SQL affecting backend database
-
ImpactRead or tamper with limited data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated low-privileged session (CVSS PR:L) that can reach the farmers/add.php page, and the attacker must supply malicious input in at least one of the named parameters - f_no, f_id, f_name, f_locallity, f_ac, or f_phone - which is passed unsanitized into mysqli_query. The limiting factors are the authentication requirement (not remotely unauthenticated) and the niche deployment of the product; no special non-default configuration is described, so any instance exposing this add-farmer form to an authenticated user is affected. No user interaction by a victim is needed (UI:N). |
| Impact | Real-world risk is LOW despite a public exploit. The CVSS 4.0 vector (AV:N/AC:L/PR:L/UI:N) describes a network-reachable, low-complexity SQL injection that nonetheless requires PR:L - i.e. an authenticated low-privileged account - and the vendor-assigned base score is only 2.1 with uniformly Low impacts (VC:L/VI:L/VA:L). This is the characteristic profile of a VulDB-sourced disclosure against a small open-source GitHub project: publicly available exploit code exists (E:P in the vector and an 'exploit' reference to a GitHub issue), but there is no CISA KEV listing and no EPSS score supplied, so there is no evidence of widespread or automated exploitation. The POC availability and active-exploitation signals must not be conflated - a published PoC proves the bug is trivially reproducible, not that it is being used in the wild. The main signals are internally consistent (low score, limited impact, authentication required, niche product), so this is a genuine-but-low-priority issue for the small population actually running this application, not a high-CVSS/low-real-risk mismatch. Missing data to note explicitly: no EPSS value, no KEV entry, and no affected-version data because the vendor does not use versioning. |
| Exploit ScenarioDerived | An attacker who already holds a low-privileged authenticated session browses to the farmers/add.php endpoint and submits a crafted value in one of the f_no/f_id/f_name/f_locallity/f_ac/f_phone fields that breaks out of the mysqli_query SQL statement. Because a public exploit for this injection point has been published (GitHub issue), the attacker can reliably extract or tamper with limited database contents. Exploitation is remote and low-complexity but gated behind having a valid account. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 19, 2026
SQL injection in Dav-ee Dairy Management System (farmers/add.php) lets an authenticated low-privileged user inject arbitrary SQL through the f_no, f_id, f_name, f_locallity, f_ac, or f_phone parameters, which are passed unsanitized into mysqli_query. The product is not versioned, so all deployments of the identified commits are presumed affected, and publicly available exploit code exists. Real-world risk is LOW despite a public exploit: exploitation requires a valid low-privileged session with access to the add-farmer form, and the product has niche deployment; there is no indication of confirmed active exploitation (no CISA KEV listing).
RemediationAI
No vendor-released patch identified at time of analysis - the maintainer was contacted early about this disclosure and no fixed release or tagged version exists for this unversioned project, so remediation must be code-level or compensating. Primary action: replace the interpolated mysqli_query call in farmers/add.php with prepared statements (mysqli_prepare/bind_param) or at minimum apply strict allow-list validation and type casting (integer casts for f_no/f_id/f_ac, length/charset restriction for f_name/f_locallity/f_phone); if you cannot modify the code, remove or disable the add-farmer endpoint entirely, accepting the functional loss of farmer registration. Compensating controls: restrict farmers/add.php to the smallest set of trusted administrator roles rather than any authenticated user, which raises the effective privilege bar above PR:L but does not remove the flaw; place a WAF/reverse-proxy rule in front of the application to reject SQL metacharacters (quotes, comment sequences, UNION/SLEEP patterns) in these POST fields, understanding that signature filtering is bypassable and may cause false positives on legitimate names; and run the application against a least-privilege database account with no FILE, DROP, or cross-schema grants to limit exfiltration and damage if injection succeeds. Verify deployment status by inspecting the current farmers/add.php source against the cited commits, since version banners are not meaningful here, and monitor https://vuldb.com/vuln/421853 and https://github.com/Dav-ee/dairy-management-system/issues/2 for an upstream fix; note a public exploit exists, so prioritize the access restriction while awaiting code changes.
Affected VersionsENISA
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 target is a PHP web application backed by MySQL/MariaDB, and the affected code path in farmers/add.php builds SQL statements by interpolating request-supplied values directly into mysqli_query calls. CWE-89 (SQL injection) arises because no parameterization, type casting, or escaping is applied before the query is assembled, allowing an attacker who can submit the add-farmer form to alter query structure - for example to bypass intended constraints, UNION data out of other tables, or use boolean/time-based inference. The CPE cpe:2.3:a:dav-ee:dairy-management-system:*:*:*:*:*:*:*:* carries a wildcard version because the project does not use releases; the disclosure references commits 31ace9692d1e1e6d64339a42c463b361319c615c and f31a584c3330c013b61f8b0306d9e0849c6d693d, so vulnerability status must be established per-deployment by inspecting the farmers/add.php source rather than by version banner. The assessed CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) confirms network reachability and a low-privileged authenticated prerequisite, with limited confidentiality, integrity, and availability impact and no scope change - notably more conservative than the CNA's CVSS 4.0 base of 2.1.
Know when PHP 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:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable SQLi over an authenticated low-privileged form (PR:L, AC:L, UI:N); impacts kept Low to match the limited single-query injection and vendor scoring, scope unchanged.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A weakness has been identified in Dav-ee dairy-management-system 31ace9692d1e1e6d64339a42c463b361319c615c/f31a584c3330c013b61f8b0306d9e0849c6d693d. This affects the function mysqli_query of the file farmers/add.php. Executing a manipulation of the argument f_no/f_id/f_name/f_locallity/f_ac/f_phone can lead to sql injection. The attack can be launched remotely. The exploit has been made available to the public and could be used for attacks. This product does not use versioning. This is why information about affected and unaffected releases are unavailable. The vendor was contacted early about this disclosure.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-104092
GHSA-px89-jcmc-4q3w
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB