CVE-2021-47921
Directory Traversal in Free Photo & Video Vault Allows Unauthorized File Access
Publication date: 2026-02-01
Last updated on: 2026-02-03
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| scott_ferreira | free_photo_video_vault | 0.0.2 |
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-2021-47921 is a directory traversal vulnerability in Free Photo & Video Vault version 0.0.2. It allows remote attackers to manipulate file path requests through the app's embedded web server to access sensitive system files and environment variables outside the intended directories. This can be done without any user interaction or elevated privileges by injecting path traversal sequences into URLs, effectively bypassing access controls. [1, 3]
How can this vulnerability impact me? :
This vulnerability can lead to unauthorized disclosure of sensitive information stored on the device, such as environment variables and system files like '/etc/passwd'. Attackers can exploit it remotely without authentication or user interaction, potentially compromising the security of the mobile device and the application by exposing confidential data. [1, 3]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by monitoring web requests to the Free Photo & Video Vault app's embedded web server for directory traversal patterns, such as path traversal sequences like '../../../../../../etc/passwd'. You can use network traffic analysis tools (e.g., Wireshark or tcpdump) to capture HTTP requests and look for suspicious URL patterns attempting to access sensitive system files. Additionally, you can attempt to manually send crafted HTTP requests to the app's web server to test for directory traversal, for example using curl commands like: curl 'http://<target-ip>:<port>/../../../../../../etc/passwd' to see if unauthorized files are accessible. [1, 3]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include implementing strict validation and sanitization of all path variables in the application to prevent directory traversal sequences. Enforce restrictive access controls on the embedded web server to limit file access only to authorized directories. If possible, update or patch the Free Photo & Video Vault app to a version that addresses this vulnerability. Additionally, restrict network access to the app's web server to trusted users only, such as limiting WiFi access or using firewall rules to block unauthorized requests. [3]