CVE-2021-31856
Layer5 Meshery 0.5.2 - SQL Injection
Record summary
CVE-2021-31856 has a selected CVSS score of 9.8 (critical); EIP currently links 1 repository PoC and 1 Nuclei template.
Description
A SQL Injection vulnerability in the REST API in Layer5 Meshery 0.5.2 allows an attacker to execute arbitrary SQL commands via the /experimental/patternfiles endpoint (order parameter in GetMesheryPatterns in models/meshery_pattern_persister.go).
Exploitation context
Proofs of concept
1Repository PoCs
GitHubssst0n3/CVE-2021-31856Repository PoCby ssst0n3Stars: 0Not analyzed2 files
Nuclei templates
1ProjectDiscoveryCRITICALLayer5 Meshery 0.5.2 - SQL InjectionCVSS 9.8
Layer5 Meshery 0.5.2 contains a SQL injection vulnerability in the REST API that allows an attacker to execute arbitrary SQL commands via the /experimental/patternfiles endpoint (order parameter in GetMesheryPatterns in models/meshery_pattern_persister.go).
Impact
Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
Remediation
Upgrade to a patched version of Layer5 Meshery or apply the necessary security patches to mitigate the SQL Injection vulnerability (CVE-2021-31856).
Source: ProjectDiscovery