Miggo Logo

CVE-2022-31022: Missing Role Based Access Control for the REST handlers in bleve/http package

5.5

CVSS Score
3.1

Basic Information

EPSS Score
0.39496%
Published
6/3/2022
Updated
2/14/2023
KEV Status
No
Technology
TechnologyGo

Technical Details

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
github.com/blevesearch/blevego<= 1.10.14
github.com/blevesearch/bleve/v2go<= 2.3.6

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability documentation explicitly identifies CreateIndexHandler and DeleteIndexHandler as problematic endpoints that lack RBAC and validation. These handlers are specifically called out in CVE-2022-31022, GHSA advisory, and Go vulnerability report GO-2022-0470. The functions directly manipulate filesystem paths based on user input without authentication/authorization checks. While other HTTP handlers in the package may also lack security controls, these two are explicitly demonstrated as dangerous in the vulnerability reports with concrete attack scenarios.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t _W**t kin* o* vuln*r**ility is it? W*o is imp**t**?_ *l*v* in*lu**s *TTP utiliti*s un**r *l*v*/*ttp p**k***, t**t *r* us** *y its s*mpl* *ppli**tion. (*ttps://*it*u*.*om/*l*v*s**r**/*l*v*-*xplor*r) T**s* *TTP m*t*o*s p*v*s w*y *or *xploi

Reasoning

T** vuln*r**ility *o*um*nt*tion *xpli*itly i**nti*i*s *r**t*In**x**n*l*r *n* **l*t*In**x**n*l*r *s pro*l*m*ti* *n*points t**t l**k R*** *n* v*li**tion. T**s* **n*l*rs *r* sp**i*i**lly **ll** out in *V*-****-*****, **S* **visory, *n* *o vuln*r**ility