CVE-2022-41547: MobSF allows attackers to read arbitrary files via a crafted HTTP request
7.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.86236%
CWE
-
Published
10/18/2022
Updated
2/1/2023
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
mobsf | pip | < 0.9.3 | 0.9.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stemmed from improper input validation
in the ViewSource
function. The commit b9cdd1f fixed the regex pattern to ^[0-9a-f]{32}$ in StaticAnalyzer/views.py
, which directly addresses the LFI vector. The advisory explicitly mentions StaticAnalyzer/views.py
as the vulnerable component, and the GitHub PR #166 confirms the ViewSource
function was the attack surface for path traversal via MD5 parameter manipulation.