Directory Traversal and File Extension Check Bypass in ATutor Course Component
ATutor 2.2.1 and earlier contain multiple path handling flaws. In the Course component, insufficient validation of user-supplied file paths allows directory traversal, and file extension checks can be bypassed, enabling an attacker to upload or place executable files in unintended locations and achieve code execution. The same CVE also covers a directory traversal issue in the Course Icon component, where improper restriction of path input can expose arbitrary files and lead to information disclosure.
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 can allow remote attackers to execute arbitrary code via the Course component by bypassing file type restrictions and leveraging directory traversal to place executable content in a web-accessible or otherwise executable location. The Course Icon traversal issue can also expose sensitive files, resulting in information disclosure. Combined, these issues can lead to compromise of the ATutor application and underlying server data.
If you can’t patch tonight, do this now.
If immediate patching is not possible, disable or restrict access to the affected Course and Course Icon functionality, especially file upload features. Prevent execution of uploaded files in web-accessible directories, apply strict filesystem permissions to limit writable paths, and use web server rules or application controls to block traversal patterns such as '../'. Monitor for suspicious upload activity and requests targeting file path manipulation.
Patch, then assume compromise.
Upgrade ATutor to a version newer than 2.2.1 that corrects the directory traversal and file validation flaws. Ensure file upload handling enforces strict server-side path canonicalization, rejects traversal sequences, and validates uploads using allowlisted file types and safe storage locations outside executable web roots.
1 exploit validated by Mallory's analysis.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.