{"id":"CVE-2026-112090","kind":"vulnerability","aliases":["CVE-2026-112090"],"related":[],"title":"Dairy management system: SQL injection in payment page lets attackers read database","description":"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.","summary":"The dairy-management-system payment/pay.php script passes the f_no/farmer argument into a SQL query without proper parameter binding, despite using mysqli_real_escape_string. A remote attacker can inject SQL to read or change data in the application database.","severity":"medium","cvss":6.5,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["dairy-management","mysql","package","php","self-hosted"],"not_affected_if":["no-deployment-of-this-repo","payment-page-not-exposed"],"how_to_check":"- Check whether your deployment includes payment/pay.php from the Dav-ee dairy-management-system repository (commit 31ace9692d1e1e6d64339a42c463b361319c615c or later rolling commits).\n- Test whether the f_no or farmer parameter on that page is reachable from the internet, for example with `curl` against the payment page.\n- unknown for a definitive version check, since the project is rolling release with no version numbers.","fix":"- unknown: no fixed version or commit is named in the sources.\n- Until a fix is published, restrict access to the payment page or replace the string concatenation with prepared statements (mysqli prepare and bind_param).\n- Rotate database credentials if the page has been reachable from untrusted networks.","status":"open","published_at":"2026-10-19T08:17:02+00:00","first_seen_at":"2026-10-23T21:57:17+00:00","triaged_at":"2026-10-25T03:57:21+00:00","updated_at":"2026-10-25T03:57:21+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-25T03:57:21Z","model":"claude-haiku-5-5","output":{"fix":"- unknown: no fixed version or commit is named in the sources.\n- Until a fix is published, restrict access to the payment page or replace the string concatenation with prepared statements (mysqli prepare and bind_param).\n- Rotate database credentials if the page has been reachable from untrusted networks.","reach":"internet","title":"Dairy management system: SQL injection in payment page lets attackers read database","impact":"high","summary":"The dairy-management-system payment/pay.php script passes the f_no/farmer argument into a SQL query without proper parameter binding, despite using mysqli_real_escape_string. A remote attacker can inject SQL to read or change data in the application database.","category":"package","nicknames":[],"who_cares":["php","self-hosted","mysql","dairy-management"],"confidence":0.6,"needs_auth":"unknown","worst_case":"Attacker reads or alters application database contents through injected SQL.","analyst_note":"Confirm whether the f_no/farmer parameter needs login and whether any fixed commit exists; check the NVD entry and the linked advisory for details.","how_to_check":"- Check whether your deployment includes payment/pay.php from the Dav-ee dairy-management-system repository (commit 31ace9692d1e1e6d64339a42c463b361319c615c or later rolling commits).\n- Test whether the f_no or farmer parameter on that page is reachable from the internet, for example with `curl` against the payment page.\n- unknown for a definitive version check, since the project is rolling release with no version numbers.","needs_analyst":true,"not_affected_if":["payment-page-not-exposed","no-deployment-of-this-repo"],"who_is_affected":"Teams that deploy the Dav-ee dairy-management-system from its repository and expose payment/pay.php to the network are affected. The sources say the project has not responded, and no fixed release is listed. Installations where the payment page is not reachable from untrusted networks carry less risk.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"medium"},"cost_usd":0.000693,"input_tokens":3422,"output_tokens":701,"severity_before":"medium"},"analyst_status":null,"analyst_note":null,"search":"'-112090':15A,18A '-2026':14A,17A '31ace9692d1e1e6d64339a42c463b361319c615c/f31a584c3330c013b61f8b0306d9e0849c6d693d':81C 'affect':84C,140C 'applic':67B 'argument':39B,99C 'attack':10A,56B,107C 'basi':128C 'bind':47B 'chang':63B 'consequ':132C 'continu':130C 'cve':13A,16A 'dairi':1A,20B,30B,78C 'dairy-manag':19B 'dairy-management-system':29B,77C 'data':64B 'databas':12A,68B 'dav':75C 'dav-e':74C 'deliveri':131C 'despit':48B 'detail':137C 'detect':72C 'earli':151C 'ee':76C 'either':139C 'ensur':129C 'escap':52B,89C 'exploit':113C 'f':37B,100C 'file':93C 'function':86C 'host':27B 'inform':147C 'inject':5A,58B,105C 'issu':83C,154C 'launch':110C 'let':9A 'manag':2A,21B,31B,79C 'manipul':96C 'may':108C,118C 'mysql':22B 'mysqli':50B,87C 'no/farmer':38B,101C 'oper':123C 'packag':23B 'page':8A 'paramet':46B 'pass':35B 'payment':7A 'payment/pay.php':33B,94C 'php':24B 'problem':150C 'product':122C 'project':145C 'proper':45B 'public':116C 'queri':43B 'read':11A,61B 'real':51B,88C 'releas':127C,143C 'remot':55B,111C 'report':155C 'respond':159C 'result':102C 'roll':126C 'script':34B 'self':26B 'self-host':25B 'sql':4A,42B,59B,104C 'string':53B,90C 'system':3A,32B,80C 'updat':142C 'use':49B,120C 'version':136C 'vulner':70C 'without':44B 'yet':160C","nicknames":[],"mitigations":[],"who_affected":"Teams that deploy the Dav-ee dairy-management-system from its repository and expose payment/pay.php to the network are affected. The sources say the project has not responded, and no fixed release is listed. Installations where the payment page is not reachable from untrusted networks carry less risk.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-19T08:17:02+00:00","kev":null,"cvss_vector":"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"cna@vuldb.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-112090","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112090","severity":null,"published_at":"2026-10-19T08:17:02+00:00","modified_at":"2026-10-19T18:17:02+00:00","first_seen_at":"2026-10-23T21:57:17+00:00","fetched_at":"2026-10-23T22:28:56+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}