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). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
Lifecycle Timeline
2DescriptionCVE.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
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.
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
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.
Dairy Farm Shop Management System 1.0 is vulnerable to SQL Injection via sales-report-ds.php file. Rated critical severi
Multiple SQL injection vulnerabilities via the username and password parameters in the Admin panel of Dairy Farm Shop Ma
PHPGurukul Dairy Farm Shop Management System 1.0 is vulnerable to SQL injection, as demonstrated by the username paramet
A time-based blind SQL injection vulnerability was identified in the PHPGurukul Dairy Farm Shop Management System 1.3. T
Dairy Farm Shop Management System Using PHP and MySQL v1.1 was discovered to contain multiple SQL injection vulnerabilit
PHPGurukul Dairy Farm Shop Management System version 1.3 contains a critical SQL injection vulnerability in the /sales-r
SQL injection vulnerability in PHPGurukul Dairy Farm Shop Management System version 1.3, specifically in the /profile.ph
A critical SQL injection vulnerability exists in PHPGurukul Dairy Farm Shop Management System version 1.3 within the /se
PHPGurukul Dairy Farm Shop Management System version 1.3 contains a critical SQL injection vulnerability in the /add-pro
Critical SQL injection vulnerability in PHPGurukul Dairy Farm Shop Management System version 1.3, specifically in the /a
PHPGurukul Dairy Farm Shop Management System 1.0 is vulnerable to XSS, as demonstrated by the category and CategoryCode
PHPGurukul Dairy Farm Shop Management System v1.1 is vulnerable to Cross-Site Scripting (XSS) via the pname parameter in
EUVD-2025-16858
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB