Skip to main content

Dairy Farm Shop Management System CVE-2025-5574

| EUVDEUVD-2025-16853 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

The CVSS 3.1 score of 7.3 reflects moderate-to-high severity: Network-accessible (AV:N), low attack complexity (AC:L), no privilege requirement (PR:N), no user interaction needed (UI:N), and impact across confidentiality, integrity, and availability (C:L/I:L/A:L). However, this appears to underrate the actual threat: SQL injection on an unauthenticated endpoint without privilege requirements typically enables complete database compromise, not merely 'low' impact. The public disclosure of working exploit code and lack of authentication requirements elevate exploitation probability significantly. Without access to EPSS data or KEV/CISA listing confirmation, the real-world risk should be assessed as CRITICAL based on: (1) remote unauthenticated exploitation, (2) publicly available PoC, (3) trivial attack complexity, (4) SQL injection enabling data exfiltration and potential RCE via database functions. Organizations running this outdated system are at immediate and active risk.

Exploit ScenarioDerived

An attacker crafts a malicious HTTP request to the /add-company.php endpoint, injecting SQL syntax into the companyname parameter (e.g., ?companyname=test' OR '1'='1' UNION SELECT user(),database(),version()--). Since PR:N and UI:N apply, no authentication or user interaction is required. The PHP application concatenates this unsanitized input directly into a SQL query (e.g., INSERT INTO companies (name) VALUES ('test' OR '1'='1'...)), and the database executes attacker-controlled SQL. The attacker can: (1) enumerate the database schema using UNION-based or time-based SQL injection, (2) exfiltrate customer/payment data, (3) modify company records or prices, (4) potentially execute OS commands if the database user has FILE privileges. With a publicly available PoC, exploitation is trivial and automated tools can be weaponized within hours of disclosure.

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 /add-company.php file where the 'companyname' parameter is improperly sanitized. An unauthenticated remote attacker can exploit this to execute arbitrary SQL queries, potentially leading to data theft, modification, or deletion. The exploit has been publicly disclosed and proof-of-concept code is available, significantly increasing real-world exploitation risk.

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 exploits improper input validation in PHP web applications, classified under CWE-74 (Improper Neutralization of Special Elements in Output, 'Injection'). The /add-company.php endpoint accepts user-supplied input (companyname parameter) and passes it directly into SQL queries without parameterized queries or prepared statements. PHPGurukul Dairy Farm Shop Management System 1.3 is a PHP-based e-commerce management application (CPE: cpe:2.3:a:phpgurukul:dairy_farm_shop_management_system:1.3:*:*:*:*:*:*:*) that manages inventory and transactions. The root cause is the absence of input validation and the use of string concatenation for SQL query construction rather than parameterized queries or ORM frameworks that automatically escape user input.

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

DescriptionCVE.org

A vulnerability classified as critical has been found in PHPGurukul Dairy Farm Shop Management System 1.3. This affects an unknown part of the file /add-company.php. The manipulation of the argument companyname leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.

Executive ViewAI

Why It Matters

A SQL injection vulnerability in PHPGurukul Dairy Farm Shop Management System 1.3 allows remote attackers to compromise database integrity and access sensitive business data without authentication. Organizations running this system face immediate risk of data breach, operational disruption, and potential regulatory penalties, particularly if customer or financial data is exposed.

Recommended Action

Within 24 hours: Take the affected /add-company.php endpoint offline or restrict access to trusted IP ranges only; inventory all instances of this system across the organization. Within 7 days: Deploy Web Application Firewall (WAF) rules to block SQL injection patterns in the companyname parameter; validate backups and test recovery procedures. Within 30 days: Migrate to an alternative, actively maintained farm management system or coordinate with the vendor for a patched release; conduct a forensic audit for signs of compromise.

Business Impact: High
Compensating Controls

Implement WAF rules blocking SQL injection payloads in the companyname parameter; restrict network access to /add-company.php to authenticated users only via IP allowlisting; disable the add-company functionality if not critical to operations; enable comprehensive SQL query logging and real-time alerting for suspicious database activity; segment the application database from other production systems; require manual code review and input validation hardening as a temporary measure until patch availability.

Threat Intelligence Overview

EPSS Score
0.1%
Top 80% 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-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-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