Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged user
-
ExploitSubmit crafted f_no/farmer to payment/pay.php
-
ExecutionInjected SQL evaluated by database
-
ImpactRead or alter payment records
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 payment/pay.php endpoint and submit the f_no or farmer request parameter, which is passed to a query where mysqli_real_escape_string is misapplied (e.g., used on a non-string/numeric context or without surrounding quoting) so escaping does not prevent injection. No user interaction and no special non-default configuration are stated as necessary. The limiting factors are the need for valid credentials and access to the payment feature; a fully unauthenticated attacker cannot reach the vulnerable code path based on the provided vector. |
| Impact | This is a moderate, not urgent, priority. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) describes a network-reachable, low-complexity SQL injection, but PR:L means the attacker must already hold a low-privileged authenticated account, which meaningfully narrows the attacker population. Impact is rated Low across confidentiality, integrity, and availability (VC:L/VI:L/VA:L) with no scope change, yielding a modest 5.3 base score. The E:P temporal flag and the 'exploit is now public' statement are consistent with the reported public POC, but there is NO CISA KEV listing and no EPSS score in the provided data, so there is no evidence of active or widespread exploitation - public exploit code is a distinct and lower signal than confirmed in-the-wild use. Weighing these together: a genuine, publicly-exploitable SQLi, but gated behind authentication, limited to low technical impact, and present in an obscure open-source product the vendor has not patched. The practical risk is real for anyone running this specific application but low in absolute terms given the small deployment footprint and the authentication prerequisite. |
| Exploit ScenarioDerived | An attacker with a valid low-privileged account on an exposed dairy-management-system instance sends a crafted value in the f_no or farmer parameter to payment/pay.php, where input reaches a query despite a misused mysqli_real_escape_string call, injecting SQL. A public proof-of-concept exists (GitHub issue #4), lowering the effort to reproduce. The attacker can read or tamper with payment and farmer records in the backing database. |
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 allows authenticated low-privileged users to manipulate the f_no or farmer parameter in payment/pay.php, potentially reading or altering payment and farmer records. The flaw stems from improper use of mysqli_real_escape_string, and publicly available exploit code exists; active exploitation is not confirmed by CISA KEV. Exploitation requires a valid low-privilege session and access to the payment feature, which limits exposure to authenticated staff accounts rather than unauthenticated internet users.
RemediationAI
No vendor-released patch was identified at the time of analysis, and the project has not responded to the issue report. Because Dav-ee dairy-management-system follows a rolling release with no version identifiers, check the repository at https://github.com/Dav-ee/dairy-management-system/ and issue https://github.com/Dav-ee/dairy-management-system/issues/4 for a committed fix; if maintaining a fork, rewrite the payment/pay.php query to use parameterized prepared statements and ensure mysqli_real_escape_string is only used on properly quoted string literals. Until a fix is available, restrict access to payment/pay.php to trusted authenticated roles, enforce least privilege on payment accounts, and add a web application firewall rule targeting the f_no and farmer parameters; disabling or blocking the payment feature reduces exposure but impacts normal business operations. Monitor https://vuldb.com/vuln/421855 for advisory updates.
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 affected component is a PHP/MySQLi web application, Dav-ee dairy-management-system, with the vulnerable code in payment/pay.php. User-supplied values for f_no or farmer are passed into a SQL query after being processed with mysqli_real_escape_string. That function is only effective when the escaped string is placed inside a quoted SQL literal; if the value is used in an unquoted numeric context or the surrounding quoting is absent, SQL metacharacters remain usable and injection is possible. This is CWE-89 SQL injection. The CPE cpe:2.3:a:dav-ee:dairy-management-system:*:*:*:*:*:*:*:* indicates that all releases are in scope because the project uses a rolling release model with no version identifiers. The independent assessment rates the issue as moderate priority and confirms that exploitation requires an authenticated low-privileged session able to reach the payment endpoint and submit the f_no or farmer parameter; no user interaction or special non-default configuration is stated as necessary.
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 needing a low-privileged authenticated account (PR:L) with trivial complexity (AC:L); limited read/write on the app database gives Low C/I/A and no scope change.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was detected in Dav-ee dairy-management-system 31ace9692d1e1e6d64339a42c463b361319c615c/f31a584c3330c013b61f8b0306d9e0849c6d693d. This issue affects the function mysqli_real_escape_string of the file payment/pay.php. The manipulation of the argument f_no/farmer results in sql injection. The attack may be launched remotely. The exploit is now public and may be used. This product operates on a rolling release basis, ensuring continuous delivery. Consequently, there are no version details for either affected or updated releases. The project was informed of the problem early through an issue report but has not responded yet.
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-104108
GHSA-32w6-4x9p-rh4p
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB