CVE-2022-50950
Directory Traversal in Webile 1.0.1 Enables Remote File Access
Publication date: 2026-02-01
Last updated on: 2026-02-01
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| webile | webile | 1.0.1 |
| webile | webile | to 1.0.1 (exc) |
| techprd | wi_fi_file_transfer | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-22 | The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2022-50950 is a directory traversal vulnerability in Webile version 1.0.1, a cross-platform file management tool operating over WiFi LAN. The vulnerability arises because the application does not properly validate the file path parameter in its web server component, specifically in the 'change_upload_dir' function. This flaw allows remote attackers to manipulate the 'filepath' parameter to traverse directories and access sensitive files on the local file system of the device running Webile without requiring authentication or user interaction. Exploiting this vulnerability can lead to unauthorized disclosure of sensitive system files and potential compromise of the mobile application. [1, 2]
How can this vulnerability impact me? :
This vulnerability can allow remote attackers to access sensitive system directories and files on your device running Webile without needing to authenticate. This unauthorized access can lead to information disclosure, such as reading environment variables and sensitive system paths, which may compromise the security of your mobile device and the Webile application. Attackers could potentially use this access to further exploit or compromise the device. [1, 2]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by sending an HTTP GET request to the vulnerable endpoint with a manipulated filepath parameter to test for directory traversal. For example, you can use the following curl command to check if the server returns directory contents of a sensitive folder like /etc/: curl -v "http://<target-ip>/webile_select_dir?t=change_upload_dir&filepath=../../../../../../../../../../../../etc/" If the response contains directory listings or files from the /etc/ directory, the vulnerability is present. This test requires access to the device over WiFi and does not require authentication. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include restricting network access to the Webile application to trusted users only, such as limiting WiFi access or using network segmentation. Additionally, disabling or restricting the vulnerable endpoint or function (change_upload_dir) until a patch or update is available is recommended. Monitoring network traffic for suspicious requests targeting the filepath parameter can help detect exploitation attempts. Applying any available updates or patches from the vendor as soon as possible is also critical to fully remediate the vulnerability. [1, 2]