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. |
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 /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
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 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
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 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
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.
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.
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
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
Critical SQL injection vulnerability in PHPGurukul Dairy Farm Shop Management System version 1.3, specifically in the /b
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
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-16853
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB