CVE-2025-7588
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-14

Last updated on: 2026-04-29

Assigner: VulDB

Description
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 edit-product.php. The manipulation of the argument productname leads to sql injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-14
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2025-07-14
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
phpgurukul dairy_farm_shop_management_system 1.3
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-7588 is a critical SQL injection vulnerability in version 1.3 of the PHPGurukul Dairy Farm Shop Management System. It exists in the edit-product.php file, specifically in the productname parameter, which lacks proper sanitization and validation. This allows attackers to inject malicious SQL code remotely, manipulating database queries to access, leak, or tamper with data, and potentially compromise the entire system. [1]


How can this vulnerability impact me? :

Exploitation of this vulnerability can lead to unauthorized access to the database, data leakage, data tampering, full system compromise, and service disruption. Attackers can manipulate SQL queries to extract sensitive information or alter data, severely impacting the confidentiality, integrity, and availability of the system. [1]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by testing the 'productname' parameter in the 'edit-product.php' file for SQL injection. One method is to use a time-based blind SQL injection payload such as: productname=Paneer 250gm' RLIKE SLEEP(5) AND 'UcUI'='UcUI which causes a delay in the database response if vulnerable. Additionally, the sqlmap tool can be used to automate detection by targeting the 'productname' parameter for injection. [1]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include: 1) Use prepared statements with parameter binding to separate SQL code from user input, preventing injection. 2) Implement strict input validation and filtering to ensure inputs conform to expected formats. 3) Restrict database user permissions to the minimum necessary, avoiding use of high-privilege accounts for routine operations. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart