Arbitrary File Download in Tipask attachment download
CVE-2021-41714 affects Tipask versions prior to 3.5.9. The vulnerability is caused by insufficient validation of user-supplied path parameters in the attachment download functionality. Because the application does not properly restrict or sanitize the file path provided by a user, a registered attacker can traverse or directly reference unintended files on the server and download them. Reported examples include sensitive files such as .env, /etc/passwd, and laravel.log, resulting in arbitrary file read and information disclosure from the Tipask server.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows a registered user to download arbitrary files accessible to the web application on the underlying server. This can expose application secrets and operational data, including environment configuration, system account information, and application logs. Disclosure of files such as .env may reveal database credentials, API keys, or other secrets that can enable follow-on compromise of the application or adjacent infrastructure.
If you can’t patch tonight, do this now.
If immediate upgrade is not possible, restrict access to the attachment download feature to only necessary users and monitor for suspicious file download requests containing traversal or absolute-path patterns. Remove or relocate sensitive files from locations readable by the web application where feasible, harden filesystem permissions to minimize readable secrets, and use web server or WAF rules to block requests attempting path traversal or direct access to sensitive filenames such as .env or system files.
Patch, then assume compromise.
Upgrade Tipask to version 3.5.9 or later, where the issue is addressed. Review the attachment download implementation to ensure user-controlled path parameters are strictly validated, canonicalized, and constrained to an intended attachment directory. Enforce allowlisting of file identifiers rather than accepting raw filesystem paths, and verify that requested files resolve only within approved storage locations.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
3 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.