Phpgurukul · Phpgurukul Dairy Farm Shop Management System · CVE-2020-5307
**Name of the Vulnerable Software and Affected Versions**
PHPGurukul Dairy Farm Shop Management System version 1.0
**Description**
The issue affects the PHPGurukul Dairy Farm Shop Management System, where SQL injection is possible. This is demonstrated through various parameters in different PHP files, including the `username` parameter in "index.php", the `category` and `CategoryCode` parameters in "add-category.php", the `CompanyName` parameter in "add-company.php", and the `ProductName` and `ProductPrice` parameters in "add-product.php".
**Recommendations**
For PHPGurukul Dairy Farm Shop Management System version 1.0, consider restricting access to the vulnerable parameters `username`, `category`, `CategoryCode`, `CompanyName`, `ProductName`, and `ProductPrice` in their respective PHP files until a patch is available. As a temporary workaround, avoid using these parameters in the affected API endpoints, such as those in "index.php", "add-category.php", "add-company.php", and "add-product.php". At the moment, there is no information about a newer version that contains a fix for this issue.