Filegator
Monthly
Privilege escalation in FileGator (the open-source self-hosted PHP web file manager) lets an authenticated user who holds the 'chmod' permission set arbitrary Unix file modes via the '/chmoditems' API endpoint, ultimately elevating to root. The endpoint forwards attacker-supplied values straight to PHP's chmod() through octdec() with no validation or allow-listing, so a low-privileged operator can make sensitive binaries or files setuid/world-writable and gain full control of the host. No public exploit identified at time of analysis, and the issue is not in CISA KEV; EPSS was not provided.
FileGator 7.14.4 and earlier lets an authenticated low-privileged user holding the upload permission read, append to, or delete other users' transient files in the shared temporary directory, because POST /upload uses the request-supplied resumableFilename as an unnamespaced storage key. Setting resumableTotalChunks and resumableTotalSize to zero skips the chunk-assembly loop, so the handler copies a pre-existing temporary file of that name into the attacker's home directory and then deletes the original; with one or more chunks the same key is reached through an append write instead. The vendor advisory documents a step-by-step proof-of-concept, including byte-for-byte disclosure of another user's pending batch archive and deletion of the md5(ip).'.lock' login lockfile to defeat lockout, but exploitation is conditional: it requires the multi-user configuration with distinct per-user home directories, an account with the upload permission, and knowledge or prediction of the target's transient filename inside a narrow timing window. Fixed in 7.15.0.
Cross-user file disclosure in FileGator before 7.15.0 allows an authenticated user to download another user's pending batch ZIP by replaying its archive identifier against GET /batchdownload, which streams the tmpfs archive selected by the request-supplied uniqid without verifying that the current session created it. Exploitation is context-dependent: it only crosses a real boundary in deployments that establish distinct per-user home directories (per-user homedir in users.json, or private_repos => true on the WordPress/LDAP adapter), the attacker needs read, download and batchdownload permissions, and the victim's id must be obtained while the archive is still alive - a window bounded by the fact that a normal completed download deletes it. A valid replay also removes the victim's pending archive, denying them their own download; the vulnerability class is missing authorization on a temporary download object combined with a timestamp-derived identifier, and a public PoC reference (reproduction steps plus a PHPUnit proof with two live sessions) exists in the vendor advisory; it is not verified as a standalone working exploit, and no confirmed active exploitation has been reported.
Session Fixation in GitHub repository filegator/filegator prior to 7.8.0. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available.
Path Traversal in GitHub repository filegator/filegator prior to 7.8.0. Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available.
Privilege escalation in FileGator (the open-source self-hosted PHP web file manager) lets an authenticated user who holds the 'chmod' permission set arbitrary Unix file modes via the '/chmoditems' API endpoint, ultimately elevating to root. The endpoint forwards attacker-supplied values straight to PHP's chmod() through octdec() with no validation or allow-listing, so a low-privileged operator can make sensitive binaries or files setuid/world-writable and gain full control of the host. No public exploit identified at time of analysis, and the issue is not in CISA KEV; EPSS was not provided.
FileGator 7.14.4 and earlier lets an authenticated low-privileged user holding the upload permission read, append to, or delete other users' transient files in the shared temporary directory, because POST /upload uses the request-supplied resumableFilename as an unnamespaced storage key. Setting resumableTotalChunks and resumableTotalSize to zero skips the chunk-assembly loop, so the handler copies a pre-existing temporary file of that name into the attacker's home directory and then deletes the original; with one or more chunks the same key is reached through an append write instead. The vendor advisory documents a step-by-step proof-of-concept, including byte-for-byte disclosure of another user's pending batch archive and deletion of the md5(ip).'.lock' login lockfile to defeat lockout, but exploitation is conditional: it requires the multi-user configuration with distinct per-user home directories, an account with the upload permission, and knowledge or prediction of the target's transient filename inside a narrow timing window. Fixed in 7.15.0.
Cross-user file disclosure in FileGator before 7.15.0 allows an authenticated user to download another user's pending batch ZIP by replaying its archive identifier against GET /batchdownload, which streams the tmpfs archive selected by the request-supplied uniqid without verifying that the current session created it. Exploitation is context-dependent: it only crosses a real boundary in deployments that establish distinct per-user home directories (per-user homedir in users.json, or private_repos => true on the WordPress/LDAP adapter), the attacker needs read, download and batchdownload permissions, and the victim's id must be obtained while the archive is still alive - a window bounded by the fact that a normal completed download deletes it. A valid replay also removes the victim's pending archive, denying them their own download; the vulnerability class is missing authorization on a temporary download object combined with a timestamp-derived identifier, and a public PoC reference (reproduction steps plus a PHPUnit proof with two live sessions) exists in the vendor advisory; it is not verified as a standalone working exploit, and no confirmed active exploitation has been reported.
Session Fixation in GitHub repository filegator/filegator prior to 7.8.0. Rated medium severity (CVSS 5.4), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available.
Path Traversal in GitHub repository filegator/filegator prior to 7.8.0. Rated high severity (CVSS 8.1), this vulnerability is remotely exploitable, low attack complexity. Public exploit code available.