Skip to main content

Dairy Farm Shop Management System CVE-2025-5578

| EUVDEUVD-2025-16856 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 HIGH real-world risk despite a moderate CVSS 7.3 score. Risk indicators: (1) CVSS vector shows network-exploitable (AV:N), no authentication required (PR:N), and low complexity (AC:L), making exploitation trivial; (2) Public POC availability significantly increases exploitation probability; (3) The vulnerability affects a web-facing parameter (date fields) that is commonly probed by automated vulnerability scanners; (4) CWE-74 combined with SQL injection context suggests high automatable risk; (5) PHPGurukul products are known targets for mass exploitation campaigns; (6) No patch status is indicated, suggesting unpatched systems remain vulnerable. SSVC assessment: Exploitation = PoC Available, Automatable = Yes, Technical Impact = Total. This is a priority vulnerability requiring immediate action despite not being a 9.0+ CVSS.

Exploit ScenarioDerived

An attacker discovers a publicly accessible PHPGurukul Dairy Farm Shop Management System installation (common in small business deployments). The attacker crafts a malicious HTTP GET/POST request to /sales-report-details.php with a payload in the fromdate parameter such as: '2025-01-01' OR '1'='1' -- or more sophisticated union-based SQL injection like ' UNION SELECT user(),database(),version() -- . With no authentication required, the SQL injection executes in the context of the application's database connection, allowing the attacker to extract sensitive data (customer information, sales records, credentials), modify records, or execute administrative operations depending on database permissions. Automated scanning tools can identify vulnerable instances by testing standard SQL injection patterns against the date parameters, enabling mass exploitation across multiple victims.

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

PHPGurukul Dairy Farm Shop Management System version 1.3 contains a critical SQL injection vulnerability in the /sales-report-details.php file affecting the fromdate and todate parameters. An unauthenticated remote attacker can exploit this vulnerability to execute arbitrary SQL queries, leading to unauthorized data access, modification, or deletion. The vulnerability has been publicly disclosed with working proof-of-concept code available, making active exploitation likely in the wild.

RemediationAI

patch: Check PHPGurukul official website or GitHub repository for version 1.4+ which may contain fixes; contact vendor directly for security updates workaround: Implement strict input validation on date parameters using whitelist patterns (YYYY-MM-DD format only); reject any input containing SQL metacharacters or unexpected syntax workaround: Use prepared statements/parameterized queries in /sales-report-details.php; refactor all date parameter handling to use bound parameters instead of string concatenation mitigation: Deploy Web Application Firewall (WAF) rules to block SQL injection payloads targeting date parameters; monitor for suspicious query patterns in application logs mitigation: Restrict database user privileges to read-only where possible; implement principle of least privilege for database connections used by this application mitigation: Consider disabling or restricting access to /sales-report-details.php until patching is available; limit access by IP address or require VPN authentication

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

The vulnerability is a classic SQL injection (CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component) in a PHP-based web application. The /sales-report-details.php endpoint fails to properly sanitize or parameterize user input from the 'fromdate' and 'todate' HTTP parameters before incorporating them into SQL queries. The affected product is PHPGurukul Dairy Farm Shop Management System (CPE approximation: cpe:2.3:a:phpgurukul:dairy_farm_shop_management_system:1.3:*:*:*:*:*:*:*). The root cause is insufficient input validation and lack of prepared statements or parameterized queries, allowing attackers to break out of intended SQL query context and inject malicious SQL syntax.

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:27 vuln.today
Public exploit code
CVE Published
Jun 04, 2025 - 08:15 nvd
HIGH 7.3

DescriptionCVE.org

A vulnerability has been found in PHPGurukul Dairy Farm Shop Management System 1.3 and classified as critical. Affected by this vulnerability is an unknown functionality of the file /sales-report-details.php. The manipulation of the argument fromdate/todate leads to sql injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A remote SQL injection vulnerability in PHPGurukul Dairy Farm Shop Management System v1.3 allows attackers to potentially extract or manipulate database records without authentication. This poses a direct threat to organizations using this system, as public exploits are available and the vendor has not yet released a patch, creating an immediate window of exposure.

Business Impact: High
Compensating Controls

Implement Web Application Firewall (WAF) rules to block SQL injection payloads targeting /sales-report-details.php parameters; restrict network access to this application via IP whitelisting or VPN; disable the sales report feature if not business-critical; implement database activity monitoring to detect anomalous queries; apply input validation and parameterized queries at the application layer if source code access is available.

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-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-5576 HIGH POC
7.3 Jun 04

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

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