Commit Graph
23 Commits
Author SHA1 Message Date
robert dennis 838b154168 validation cleanup 2026-10-12 05:18:56 -04:00
robert dennis aad1b0c387 activity rules 2026-10-12 05:18:56 -04:00
robert dennis 66ae42a8dc ssh key rules 2026-10-12 05:18:56 -04:00
robert dennis 89d8cd8717 server startup action 2026-10-12 05:18:56 -04:00
robert dennis ac79b03483 server details action 2026-10-12 05:18:56 -04:00
robert dennis f4eee5e3f6 server build action 2026-10-12 05:18:56 -04:00
robert dennis b218339495 server create action 2026-10-12 05:18:56 -04:00
robert dennis 6cf48a6bb4 egg actions 2026-10-12 05:18:56 -04:00
robert dennis b362df4c5f api key actions 2026-10-12 05:18:56 -04:00
robert dennis 735308cdd3 database actions 2026-10-12 05:18:56 -04:00
robert dennis 25701a0d37 database host actions 2026-10-12 05:18:56 -04:00
robert dennis d006674f6d tag actions 2026-10-12 05:18:56 -04:00
robert dennis 01ff4a3d1e mount actions 2026-10-12 05:18:56 -04:00
robert dennis b91a8696b0 allocation actions 2026-10-12 05:18:56 -04:00
robert dennis e99328e03f node actions 2026-10-12 05:18:56 -04:00
robert dennis 25ec34fad4 user actions 2026-10-12 05:18:55 -04:00
robert dennis 66765eef2d location actions 2026-10-12 05:18:55 -04:00
robert dennis 492a5a4f40 schedule actions 2026-10-12 05:18:55 -04:00
robert dennis 17b2091a98 egg import validation 2026-10-12 05:18:55 -04:00
robert dennis df428075c3 integer inputs 2026-10-12 05:18:54 -04:00
Sky Mulley 5ce75cf50f fix bug introduced by security hardening that blocks mounts from being allocated onto server containers 2026-10-09 12:49:59 +01:00
Sandip Ghimire bb4e89826e fix(security): harden path validation, session revocation, and request handling (#7255)
# Security, Validation & Session Improvements

## Changes

* **Hardened IP/CIDR validation**
* Properly handles invalid IP addresses and CIDR ranges during API key
creation.
* Invalid IP/CIDR data now fails safely instead of causing a 500 error.

* **Improved reCAPTCHA error handling**
  * Handles network and verification failures gracefully.
  * Fixed undefined result notices and removed duplicate checks.

* **Added file permission activity logging**
* File permission (`chmod`) changes are now recorded in the activity
log.

* **Removed duplicate 2FA middleware**
* Cleaned up duplicate `RequireTwoFactorAuthentication` registration
from API routes.

* **Improved session revocation on password changes**
  * Password changes now invalidate other active sessions.
* Rotates the `remember_token` and removes stale database sessions where
applicable.
* Applies consistently across password resets and user password changes.

* **Reduced unnecessary public storage access**
* Disabled automatic public storage routes for the local filesystem disk
to reduce the attack surface.

* **Hardened file manager request validation**
  * Added strict validation for file permission modes.
  * Fixed optional `root` validation rules.
  * Added length limits for file paths, roots, and file/folder names.

* **Hardened mount source and target path validation**
* Prevents path traversal and subpath-based bypasses in mount source and
target validation.
  * Handles trailing slashes and normalized paths correctly.
* Prevents mounts from targeting protected subdirectories, such as
another server's volume directory.
2026-10-07 12:39:12 -04:00
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00