Skip to main content

Dairy Farm Shop Management System CVE-2025-5576

| EUVDEUVD-2025-16858 HIGH
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') (CWE-74)
2025-06-04 cna@vuldb.com
7.3
CVSS 3.1 · NVD
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
Impact

This vulnerability presents substantial real-world risk despite a CVSS score of 7.3 (High, not Critical as mislabeled in description). The attack vector is Network (AV:N) with Low complexity (AC:L) and requires no privileges (PR:N) or user interaction (UI:N), making exploitation trivial and widespread. The CVSS impact ratings (Confidentiality:Low, Integrity:Low, Availability:Low) appear artificially conservative for SQL injection—actual impact typically extends to complete database compromise. The publicly disclosed exploit code and confirmed exploitation indicate this moves from theoretical to demonstrated threat. The vulnerability affects an unauthenticated endpoint, eliminating a major defensive layer. However, impact may be limited to the specific reporting functionality scope depending on database user permissions. Real-world priority should be rated as CRITICAL rather than relying on the 7.3 CVSS score, given: (1) confirmed public POC, (2) unauthenticated remote exploitability, (3) trivial attack complexity, (4) likelihood of automated scanning and mass exploitation, and (5) typical SQL injection consequences extending beyond CVSS-rated impacts.

Exploit ScenarioDerived

An attacker identifies a publicly accessible instance of PHPGurukul Dairy Farm Shop Management System 1.3 through search engines (Shodan, Google dorking) or automated vulnerability scanning. They craft an HTTP GET/POST request to /bwdate-report-details.php with a malicious SQL injection payload in the fromdate parameter, such as: fromdate=2025-01-01' OR '1'='1&todate=2025-12-31. This payload breaks the SQL WHERE clause, causing the application to return all records regardless of date range. A more sophisticated attacker uses UNION-based injection to extract sensitive data: fromdate=2025-01-01' UNION SELECT user_name,password,email FROM users--&todate=2025-12-31, exfiltrating user credentials. Alternatively, using time-based blind SQL injection, the attacker confirms database access and systematically extracts data character-by-character. Given the confirmed public POC availability, exploitation is likely already occurring via automated tools and scripts, with minimal technical skill required. The low CVSS complexity (AC:L) means exploitation succeeds on first attempt without specialized conditions. Attack takes seconds to execute with freely available SQL injection testing tools (sqlmap, Burp Suite).

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.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 – Mar 14, 2026

Critical SQL injection vulnerability in PHPGurukul Dairy Farm Shop Management System version 1.3, specifically in the /bwdate-report-details.php file where the fromdate and todate parameters are inadequately sanitized. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially leading to unauthorized data access, modification, or deletion. The exploit has been publicly disclosed with proof-of-concept availability, indicating active exploitation risk.

RemediationAI

Immediate remediation steps: (1) Apply vendor security patch immediately if available from PHPGurukul official sources; (2) If no patch exists, implement emergency input validation by replacing direct SQL concatenation with prepared statements/parameterized queries for all date parameters; (3) Implement input whitelist validation restricting fromdate/todate to expected date format (e.g., YYYY-MM-DD via regex); (4) Apply principle of least privilege to database user account executing these queries, limiting to SELECT-only permissions if possible; (5) Implement Web Application Firewall (WAF) rules to detect and block common SQL injection patterns in date parameters (e.g., strings containing quotes, SQL keywords, semicolons); (6) Disable or restrict access to /bwdate-report-details.php via authentication controls or IP whitelisting until patched; (7) Review query logs for evidence of exploitation attempts. Long-term: Upgrade to a maintained version of the application or consider migration to actively supported Dairy Farm management solutions. Recommend checking PHPGurukul's official website or GitHub repository for patch availability.

Affected VersionsENISA

Dairy Farm Shop Management System 1.3

Affected Packages

euvd dairy_farm_shop_management_system no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

This vulnerability is classified as CWE-74 (Improper Neutralization of Special Elements in Output Used by a Downstream Component - 'Injection'), a classic input validation failure in PHP-based web applications. The affected component is the Dairy Farm Shop Management System, a PHP application built on traditional LAMP stack architecture. The vulnerability exists in the date-filtering functionality of the bwdate-report-details.php endpoint, which constructs SQL queries by directly concatenating user-supplied input (fromdate/todate parameters) without proper parameterized queries or prepared statements. This allows attackers to break out of intended SQL context and inject arbitrary SQL syntax. The root cause is improper input sanitization before SQL query construction, a common issue in legacy PHP applications that predate widespread adoption of prepared statements and ORM frameworks.

Know when Dairy Farm Shop Management 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 7.3 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
PoC Detected
Jun 04, 2025 - 18:28 vuln.today
Public exploit code
CVE Published
Jun 04, 2025 - 08:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability, which was classified as critical, has been found in PHPGurukul Dairy Farm Shop Management System 1.3. This issue affects some unknown processing of the file /bwdate-report-details.php. The manipulation of the argument fromdate/todate leads to sql injection. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A publicly disclosed SQL injection vulnerability in PHPGurukul Dairy Farm Shop Management System 1.3 allows remote attackers to manipulate database queries through the date filter parameters, potentially compromising customer data, financial records, and system integrity. Organizations running this application face immediate risk of unauthorized data access and operational disruption, with no vendor patch currently available.

Business Impact: High
Compensating Controls

Deploy Web Application Firewall (WAF) rules to detect and block SQL injection attempts in fromdate/todate parameters; implement network segmentation restricting access to /bwdate-report-details.php to authorized personnel only; disable the date report feature if business-critical functionality allows; apply strict input validation and output encoding at application layer; enforce principle of least privilege for database accounts; implement comprehensive logging and monitoring of the affected endpoint for suspicious activity.

Threat Intelligence Overview

EPSS Score
0.1%
Top 75% exploitable
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

56
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
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.

CVE-2022-40944 CRITICAL POC
9.8 Sep 30

Dairy Farm Shop Management System 1.0 is vulnerable to SQL Injection via sales-report-ds.php file. Rated critical severi

CVE-2022-29007 CRITICAL POC
9.8 May 11

Multiple SQL injection vulnerabilities via the username and password parameters in the Admin panel of Dairy Farm Shop Ma

CVE-2020-5307 CRITICAL POC
9.8 Jan 07

PHPGurukul Dairy Farm Shop Management System 1.0 is vulnerable to SQL injection, as demonstrated by the username paramet

CVE-2025-51672 HIGH POC
8.0 Jun 26

A time-based blind SQL injection vulnerability was identified in the PHPGurukul Dairy Farm Shop Management System 1.3. T

CVE-2023-41594 HIGH POC
7.5 Sep 08

Dairy Farm Shop Management System Using PHP and MySQL v1.1 was discovered to contain multiple SQL injection vulnerabilit

CVE-2025-5578 HIGH POC
7.3 Jun 04

PHPGurukul Dairy Farm Shop Management System version 1.3 contains a critical SQL injection vulnerability in the /sales-r

CVE-2025-5577 HIGH POC
7.3 Jun 04

SQL injection vulnerability in PHPGurukul Dairy Farm Shop Management System version 1.3, specifically in the /profile.ph

CVE-2025-5579 HIGH POC
7.3 Jun 04

A critical SQL injection vulnerability exists in PHPGurukul Dairy Farm Shop Management System version 1.3 within the /se

CVE-2025-5575 HIGH POC
7.3 Jun 04

PHPGurukul Dairy Farm Shop Management System version 1.3 contains a critical SQL injection vulnerability in the /add-pro

CVE-2025-5574 HIGH POC
7.3 Jun 04

Critical SQL injection vulnerability in PHPGurukul Dairy Farm Shop Management System version 1.3, specifically in the /a

CVE-2020-5308 MEDIUM POC
6.1 Jan 09

PHPGurukul Dairy Farm Shop Management System 1.0 is vulnerable to XSS, as demonstrated by the category and CategoryCode

CVE-2024-46241 MEDIUM POC
5.9 Sep 23

PHPGurukul Dairy Farm Shop Management System v1.1 is vulnerable to Cross-Site Scripting (XSS) via the pname parameter in

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