Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to FOG web UI with snapin permission
-
DeliveryIntercept multipart upload, set filename to '.'
-
ExploitSanitizer preserves dot, destination resolves to snapin directory
-
ExecutionFOGSSH::delete() recursively unlinks directory contents
-
ImpactDestroy top-level snapin payloads or queue root-level FileDeleter deletion across nodes
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated FOG web-UI session held by a user with the snapin.create or snapin.edit permission, who then intercepts the snapin-upload multipart POST (or hits POST /storagegroup/{id}/uploadsnapinfiles, or persists a snapin row with file='.' and deletes it) and sets the upload filename to '.'. Limiting factors: on a stock install only administrators hold snapin.create/snapin.edit, so impact depends on whether those permissions are delegated to a custom role; the flaw affects only the working-1.6 branch (1.6.0-alpha.1315 through pre-beta.2760) where snapin transfer uses SFTP, and is NOT exploitable on 1.5.x dev-branch (FOGFTP::exists() skips '.' and '..'). A filename of '..' destroys nothing on a default install because /opt/fog is root:root 755 under a non-root SFTP session; the destructive '.' deletion is limited to top-level files on the group's master node, but the file-delete-queue path escalates it to root across all enabled nodes via the FileDeleter daemon. |
| Impact | This is a genuine but access-gated risk rather than a mass-exploitation emergency. The CVSS vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L, base 7.1) is network-reachable and low-complexity but requires privileges (PR:L) - specifically an authenticated web-UI user holding the snapin.create or snapin.edit permission, which on a stock FOG install only administrators possess. The vuln.today decision label is 'this_week', consistent with a serious but not drop-everything priority. No CISA KEV listing is present in the input, so this is not confirmed actively exploited; no EPSS score was supplied, so widespread-exploitation probability cannot be quantified from the data. The GHSA advisory includes a concrete step-by-step PoC (multipart filename set to '.'), so exploitability is well-documented even though no independent weaponized exploit tool is cited. The real risk concentrates where snapin.create/snapin.edit is delegated to a non-admin custom role (the FOG role model supports this), turning the flaw into privilege escalation into destructive file deletion; the file-delete-queue path is the most dangerous channel because the FileDeleter daemon runs as root across every enabled node, bypassing the SFTP user's constraints. Impact is integrity/availability (data destruction and worker DoS), not confidentiality - so despite the 7.1 score this is a destructive-availability issue, not an RCE or data-theft bug. |
| Exploit ScenarioDerived | An authenticated FOG user with snapin create or edit permission opens Add/Edit Snapin, chooses any file, then intercepts the multipart POST and rewrites the file part's Content-Disposition filename to '.'; the sanitizer preserves the dot so the destination resolves to the snapin storage directory itself and FOGSSH::delete() empties every top-level snapin payload on the master node before the upload completes (the request returns HTTP 500 from recursive stack exhaustion). A documented PoC for this exact flow exists in the vendor GHSA advisory. The low-complexity network vector (AV:N/AC:L) means the only real barrier is holding the snapin permission. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Authenticated FOG Project users on the working-1.6 branch who hold snapin.create or snapin.edit can destroy every top-level snapin payload on a storage group's master node by submitting a snapin upload whose multipart filename is '.', because the sanitizer in snapinmanagement.page.php preserves the dot so the destination resolves to the snapin storage directory itself and FOGSSH::delete() empties it before the upload proceeds. The same deletion can be queued for the root-running FileDeleter daemon, which carries it across all enabled nodes in the group, and the recursive self-call in delete() also exhausts the PHP worker stack, returning HTTP 500. Only 1.6.0-alpha.1315 through versions before 1.6.0-beta.2760 are affected (1.5.x dev-branch is not exploitable), exploitation requires an authenticated session with those snapin permissions (CVSS PR:L), and a public proof-of-concept procedure is published in the vendor advisory; no confirmed working exploit code or KEV-listed active exploitation is identified in the available data.
RemediationAI
Upgrade FOG Project to 1.6.0-beta.2760 or later on the working-1.6 branch, which contains commit f1bf27a37f689482d1aa7cc7dfa7661b83a406e7 (advisory GHSA-jrqm-2f74-45vc). The fix routes all snapin upload sites through a single sanitizeSnapinFileName() chokepoint that rejects '', '.' and '..' outright, replaces the recursive FOGSSH::delete() calls in the upload paths with a new non-recursive unlinkFile() helper so a bad filename fails the upload instead of emptying the directory, and widens the FileDeleter guard to (^|/)\.\.?(/|$) so queued deletions of exactly '.' or '..' are blocked. Because exploitation requires snapin.create or snapin.edit, the vendor notes that on a stock install only administrators hold those permissions; where they have been delegated to custom roles, revoke that delegation from non-administrative roles until the upgrade is applied, and audit existing snapin rows for a stored file value of '.' so the FileDeleter queue path is not left pending. Note that no workaround short of upgrading or restricting those permissions addresses the queued FileDeleter path, since that daemon runs as root against every enabled node in the group.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a CWE-22 path traversal that reaches a destructive filesystem operation through PHP's upload handling combined with SFTP. In both the snapin create flow (addPost()/Snapin::uploadAndCreate()) and the edit flow (snapinGeneralPost()), the client-supplied multipart filename is passed through basename() and then a normalizer, preg_replace('/[^\-\w\.]+/', '_', ...), which preserves '.' and '..' verbatim; the result is concatenated into a destination path of the form <snapinpath>/<filename>. With filename '.', that destination names the snapin directory itself rather than a file. FOGSSH, the SFTP wrapper built on the ssh2 extension (ssh2.sftp:// stream wrapper, sftp_rmdir/sftp_unlink), then calls delete() on the destination; rmdir on '.' fails with EINVAL and unlink fails with EISDIR, so delete() falls into its recursive branch, scans the directory and unlinks its contents. A double-prefix bug in that scan limits the blast radius to top-level files (subdirectories survive), and an unconditional self-recursion at the end of delete() exhausts the PHP worker stack, producing the HTTP 500 that terminates the request. Three additional sinks were identified by the maintainer: Snapin::uploadFilesToNode(), reachable via POST /storagegroup/{id}/uploadsnapinfiles, and a second-order path in which a snapin row is persisted with file='.' and no upload at all, so that deleting the snapin queues a deletion the FileDeleter daemon executes as root against every enabled node in the group - bypassing the non-root SFTP user's permission constraints. On a default install that constraint is what makes filename '..' harmless: /opt/fog is root:root 755 and the SFTP session is non-root, so child entries cannot be unlinked. The dot-preserving normalizer has existed since 2019 (8e44954c37) but the destructive delete-before-put path was introduced in June 2024 (8b5bac565e / a7a39da0e9) with the move to SFTP snapin transfer; the 1.5.x dev-branch uses FTP and FOGFTP::exists() explicitly skips '.' and '..', so it is not exploitable.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:L
Network-reachable web upload (AV:N/AC:L) but requires the snapin.create/edit privilege (PR:L); destructive file deletion gives I:H, worker/snapin outage gives A:L, no data disclosure so C:N.
Primary rating from Vendor (AISLE).
CVSS VectorVendor: AISLE
Lifecycle Timeline
2DescriptionCVE.org
FOG Project 1.6.0-alpha.1315 before 1.6.0-beta.2760 contains a path traversal vulnerability in the snapin upload handlers in snapinmanagement.page.php, whose filename sanitizer preserves . and .., so a filename of . resolves to the snapin storage directory itself, which FOGSSH::delete() then empties before the upload. Authenticated users with snapin create or edit permission can upload a file named . to delete every top-level snapin file on the storage group's master node, or queue the same deletion for the root FileDeleter service across all nodes in the group.
Technical POC Analysis
CWE-22 path traversal in FOG Project's own web application code, not in a third-party library.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity flaw in FOG Project's 1.6 development branch allows authenticated users holding snapin create or edit privileges to wipe all top-level snapin payloads across a storage group's nodes, potentially disrupting imaging and software deployment operations organization-wide. Leadership should care because a single low-privileged insider or compromised account could cause broad, cross-node data loss and service disruption, though exploitation requires valid credentials and no confirmed working attack code or active exploitation has been observed.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting snapin.create and snapin.edit to trusted administrators, enforcing least privilege on FOG accounts, monitoring or blocking uploads with '.' filenames, backing up master-node snapin storage, and monitoring FileDeleter daemon activity across nodes.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
EUVD-2026-141226
GHSA-pmw2-3ff7-39m8
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB