| CVE |
Vendors |
Products |
Updated |
CVSS v3.1 |
| FOG Project before 1.5.10.1870 and 1.6.0-alpha.980 before 1.6.0-beta.2356 contains a stored cross-site scripting vulnerability in the Hosts and Users report that renders the usertracking username without output encoding after usertrack.class.php stores it unescaped from the request. Attackers who can submit user tracking events for a managed host, using that host's MAC address and token, can inject a script payload in the user parameter that executes in the browser of a FOG user who opens the report. |
| FOG Project 1.6.0-alpha.1328 before 1.6.0-beta.2341 contains a path traversal vulnerability in the filedeletequeue API and the FileDeleter service (filedeleter.class.php), which joins the queued path to the storage root without rejecting ../ sequences and deletes the result recursively over SSH. Authenticated API users can create file delete queue entries with traversal paths to delete files and directories outside the image and snapin storage roots on storage nodes. |
| FOG Project before 1.5.10.2149 and 1.6.0-alpha.980 before 1.6.0-beta.2737 contains an authorization bypass through user-controlled key vulnerability in SnapinClient (snapinclient.class.php) that loads the snapin task named by the taskid parameter without verifying that it belongs to the host resolved from the mac parameter. Attackers on the imaging network who control a host with a queued snapin task can enumerate sequential task IDs through snapins.file.php and snapins.checkin.php to download every snapin package on the server and alter or spoof completion of other hosts' snapin tasks. |
| FOG Project 1.6.0-alpha.1385 before 1.6.0-beta.2726 contains an information disclosure vulnerability in BootMenu::generateIpxeItems() in bootmenu.class.php, which serializes host and inventory records into iPXE variables using a denylist that omits pub_key, sec_tok, and productKey. Unauthenticated attackers who know a registered host's MAC address can request service/ipxe/boot.php to obtain the host's AES-256 session key, its client authentication token, and its decrypted Windows product key, allowing them to decrypt that host's FOG Client traffic and impersonate it. |
| FOG Project before 1.5.10.2149 and 1.6.0-alpha.980 before 1.6.0-beta.2765 contains an OS command injection vulnerability in MulticastTask::getCMD() in multicasttask.class.php, which interpolates the image path, image filenames, and multicast settings unescaped into the udp-sender command line that the root FOGMulticastManager service runs through proc_open(). Attackers on the imaging network can plant a filename containing shell metacharacters in an image directory through the world-writable NFS export, and authenticated users can supply a crafted image path or multicast setting, to execute arbitrary commands as root when the image is multicast. |
| FOG Project 1.6.0-alpha.980 before 1.6.0-beta.2726 contains a cross-site request forgery vulnerability in FOGPage::delete() in fogpage.class.php, which destroys the requested object without requiring POST or validating a CSRF token, while the SameSite=Lax session cookie is still sent on top-level cross-site GET navigations. Attackers can lure an authenticated administrator to a crafted page that navigates to the delete URL, deleting arbitrary hosts, images, snapins, groups, users, or storage nodes. |
| FOG Project before 1.5.10.2149 and 1.6.0-alpha.980 before 1.6.0-beta.2726 contains an improper authentication vulnerability in FOGPage::authorize() in fogpage.class.php, which identifies the host by MAC address alone and clears its stored AES session key whenever the supplied token does not match. Unauthenticated attackers who know host MAC addresses can send bare authorize requests to wipe those hosts' keys, breaking encrypted FOG Client communication across the fleet until the keys are reset. |
| 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. |
| Netatalk 3.1.0 before 4.6.0 contains an out-of-bounds write vulnerability in decompose_w() in libatalk/unicode/util_unistr.c that does not reserve space for the UTF-16 NUL terminator, so a decomposed string that exactly fills the destination is terminated two bytes past the end of the fixed stack buffer in charset_decompose(). Authenticated AFP users who can create a file path near the MAXPATHLEN limit containing selected Unicode characters can request its Spotlight metadata to corrupt stack memory and crash their AFP session process. |
| Netatalk 1.5.0 before 4.6.0 contains an improper privilege management vulnerability in afppasswd (bin/afppasswd/afppasswd.c), which when installed setuid-root accepts the administrative -a and -p options from unprivileged callers and opens the selected file for writing with root privileges before verifying the caller. Local users can append a fixed-format SRP placeholder record to any existing root-writable file, corrupting configuration, credential, or service state files. |
| Netatalk 2.1.0 before 4.6.0 contains an improper link resolution vulnerability in check_addir() and read_addir() in bin/dbd/cmd_dbd_scanvol.c, which open and chdir() into a volume's .AppleDouble directory without rejecting a symbolic link and then unlink entries that have no matching file in the parent directory. Local users who can replace a .AppleDouble entry in a volume directory, for example through shell, SFTP, or NFS access to the same storage, can redirect dbd into an arbitrary directory so that a later repair-mode run by an administrator deletes files there with root privileges. |
| FOG Project before 1.5.10.1870 and 1.6.0-alpha.980 before 1.6.0-beta.2316 contains an insufficiently protected credentials vulnerability in BootMenu (bootmenu.class.php), which embeds a host's Active Directory domain, OU, join username, and plaintext join password as kernel arguments in the iPXE boot script served by the unauthenticated service/ipxe/boot.php endpoint. Attackers on the imaging network who know the MAC address of a host with domain join enabled can request the boot script, or capture it during a PXE boot, to obtain reusable domain-join credentials, which may also be recorded in boot and server logs. |
| In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: L2CAP: fix race condition in l2cap_sock_shutdown()
l2cap_sock_shutdown() has the race condition
[Task 1] [Task 2]
l2cap_sock_shutdown l2cap_sock_connect
l2cap_chan_lock l2cap_chan_connect
conn = ... /* == NULL*/
l2cap_chan_unlock ------------> l2cap_chan_lock
if (conn) /* false */
__l2cap_chan_add(conn, chan)
l2cap_chan_lock <-------------- l2cap_chan_unlock
l2cap_chan_close /* chan->conn->lock not held! */
conn->lock protects conn->chan_l and is not properly held here.
Use the l2cap_chan_close_unlocked() helper that ensures conn->lock is
held for l2cap_chan_close(). |
| In the Linux kernel, the following vulnerability has been resolved:
netlink: check sk_rcvbuf before charging the dump skb
Since commit ae8f160e7eb2 ("netlink: Fix wraparounds of
sk->sk_rmem_alloc."), netlink_dump() charges the dump skb first and
queues it only if sk_rmem_alloc is still below sk_rcvbuf. Commit
a215b5723922 ("netlink: make sure we allow at least one dump skb")
added an exception for an empty socket.
A dump that starts while something else is still charged to a socket
with a small receive buffer fails with ENOBUFS and stays running.
Every recvmsg() retries it, fails again and sets sk_err, so a reader
that peeks before reading, as libnl does, gets ENOBUFS on the read
after each peek, never consumes the message at the head of the queue
and spins forever.
I hit this with "iw dev wlan0 scan" hanging at 100% CPU on an arm64
board with a 6.6 based kernel (iw 5.19 sets SO_RCVBUF to 8KiB). A
kprobe trace showed the scan dump starting while the NEW_SCAN_RESULTS
notification iw had just read was still charged to its socket,
because iw had preempted the sender before netlink_broadcast()
returned.
Check the limit before charging, as before ae8f160e7eb2, which also
covers the empty socket. netlink_recvmsg() continues a dump only at
or below half of sk_rcvbuf, so the skb is then always queued, and a
dump goes over the limit by at most one skb. Refuse a skb that would
take sk_rmem_alloc past INT_MAX, so the wraparound stays fixed.
Reproduced on net in a KVM guest with a userspace reproducer and the
selftest in the next patch; both pass with this fix. |
| In the Linux kernel, the following vulnerability has been resolved:
tcp: initialize mapped children before route lookup
IPv4 passive opens on a dual-stack listener go through
tcp_v4_syn_recv_sock() with tcp_v6_mapped_child_init() as the optional
initializer. The callback currently runs after the output route lookup.
If that lookup fails, tcp_done() destroys a clone whose pinet6 and
ipv6_fl_list still refer to the listener's state.
With the flowlabel list head in inet_sock, fl6_free_socklist() walks
the clone's list and RCU-frees its nodes without unlinking them from the
live listener. Subsequent flowlabel operations can use or free the nodes
again. Commit 858d2a4f67ff ("tcp: fix potential race in
tcp_v6_syn_recv_sock()") moved the initializer before ehash insertion,
but did not cover this error path.
Invoke the existing initializer after the IPv4 fields it consumes have
been set, but before route lookup can fail. It needs neither the
destination nor sk_setup_caps(), and all later disposal paths remain
covered. |
| In the Linux kernel, the following vulnerability has been resolved:
tcp: avoid double destroy in tcp_abort() of an unaccepted child
tcp_abort() checks for TCP_CLOSE while only owning the socket lock,
then grabs the BH lock before calling tcp_done_with_error().
For a child still sitting in a listener accept queue (which can be
reached via SOCK_DESTROY or bpf_sock_destroy()), inet_csk_listen_stop()
can run in this window: it only holds the child BH lock, and calls
inet_child_forget(), which disconnects, orphans and destroys the child.
tcp_abort() then calls tcp_done_with_error() -> tcp_done(), which sees
SOCK_DEAD and calls inet_csk_destroy_sock() a second time, leading to
a double sock_put() and a use-after-free.
Recheck TCP_CLOSE after acquiring the BH lock, unless we just closed
a listener ourselves, in which case tcp_done_with_error() must still
run to report the error.
Note that the WARN_ON(sock_owned_by_user(child)) in
inet_csk_listen_stop() can still trigger in this window.
[edumazet: recheck TCP_CLOSE under the BH lock instead of moving the test, smaller diff] |
| In the Linux kernel, the following vulnerability has been resolved:
net: bgmac: fix TX DMA unmapping and slot cleanup
When mapping a fragment fails, bgmac_dma_tx_add() unwinds with the
wrong slots. It passes the failed fragment's slot->dma_addr, which
holds the mapping error, to dma_unmap_single() for the head. The
fragment loop indexes from ring->end instead of ring->end + 1, so it
unmaps the head a second time as a page and leaves the last mapped
fragment mapped. None of the affected slots get their dma_addr cleared
either, which includes the head slot when mapping the head fails.
bgmac_dma_tx_ring_free() unmaps every slot with a non-zero dma_addr,
so tearing down the ring unmaps these addresses again. It also frees
the skbs of pending TX slots but leaves slot->skb and slot->dma_addr
set. The slots survive a down/up cycle, and bgmac_dma_tx_add() only
sets slot->skb on the last slot of a packet. If a slot with a stale
pointer is later used for the head or a fragment of a scatter/gather
packet, bgmac_dma_tx_free() frees the old skb a second time when that
slot completes.
bgmac_dma_tx_ring_free() also picks dma_unmap_single() or
dma_unmap_page() by looking at slot->skb, which is set on the last slot
of a packet, while the head was mapped with dma_map_single() and the
fragments with skb_frag_dma_map().
In the error path, unmap the head and each mapped fragment from their
own slots, and clear dma_addr on every slot the failed packet touched.
In bgmac_dma_tx_ring_free(), choose the unmap function by the SOF flag
of the descriptor like bgmac_dma_tx_free() does, unmap every slot
before freeing any skb, since a packet can wrap around the end of the
ring with its skb on the last slot, and clear both fields.
This was found through code inspection by an LLM while hitting other
bugs on an Asus RT-N16. It did not hit these ones specifically. |
| In the Linux kernel, the following vulnerability has been resolved:
tls: keep TX and RX hardware offload on the same device
After TX is offloaded on device A, a route change, or a change in the
usable-slave set of an 802.3ad or balance-xor (layer3+4) bond, can make
RX setup program device B. tls_device_attach() sees the existing TLS
destructor and keeps ctx->netdev pointing at A. The RX driver state on B
is then untracked: tls_dev_resync() and tls_dev_del() are invoked on A
for a context it never created, and neither socket close nor
NETDEV_DOWN on B calls tls_dev_del() for B, so the driver context leaks.
The reverse setup order has the same problem.
Check the shared device binding under device_offload_lock before each
tls_dev_add(). Permit the first attachment and a second direction on the
same device. Reject a different device, including when the old binding
was cleared by NETDEV_DOWN: the TLS destructor remains installed and
tls_device_attach() cannot establish a new binding. Setup then falls
back to software for the requested direction.
The RX check precedes allocation and software setup. TX uses its existing
resource unwind path without calling the driver. Document the shared
binding and clarify that fallback is per direction.
This issue was discovered during code review and subsequently
reproduced on hardware using mlx5 and TLS 1.2 AES-GCM-128.
Changing the route between TX and RX setup installed the second
direction on a different device. Driver traces showed successful adds
on both devices, but both deletes at socket close targeted the first
device, leaving an orphaned context on the second. Both setup orders
reproduced the leak, even though all current core TLS context counters
returned to zero. No crash was observed.
With the fix, the same tests correctly fall back to software for the
second direction and leave no orphaned hardware context. |
| In the Linux kernel, the following vulnerability has been resolved:
md: take reconfig_mutex when enabling PPL on an inactive array
consistency_policy_store() sets MD_HAS_PPL for an external-metadata array
that is not running yet, without holding reconfig_mutex. But ->pers is
only assigned after pers->run() returns, so "not running" also covers an
md_run() that is in progress under the lock.
If the write lands inside raid5_run() after log_init() has decided not to
set up PPL, or after a failed ppl_init_log() has cleared the flag, the
flag ends up set with conf->log_private still NULL. The next idle pass
of raid5d() then does:
raid5d() -> handle_active_stripes() -> log_flush_stripe_to_raid()
-> ppl_write_stripe_run()
and dereferences the NULL ppl_conf:
Oops: general protection fault, probably for non-canonical address
0xdffffc0000000002
KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017]
RIP: 0010:ppl_write_stripe_run+0x60/0x1320 drivers/md/raid5-ppl.c:538
Take reconfig_mutex around the update and refuse it with -EBUSY once the
array is running, in which case ->change_consistency_policy() is the
right interface. |
| In the Linux kernel, the following vulnerability has been resolved:
fuse: zero the correct range on a short read reply
When a read reply is shorter than the requested range, fuse_copy_folio()
zeroes everything in the folio outside the copied bytes. However, for
folios with block sizes smaller than the folio size, this can clear
blocks outside the requested range which are uptodate, or dirty and have
not yet been written back.
Move the zeroing logic into fuse_copy_folios(), since descs[i].length
needs to be used, and clear only the tail of the requested range that
the server did not send.
The range is also no longer cleared upfront in the non
cs->skip_folio_copy case. This is fine since a failed copy leaves those
blocks non-uptodate, so the uncopied bytes are never visible. This also
matches the pre-existing behavior in the non-short-read case (a failed
copy doesn't zero out the range in the folio). This lets the zeroing
logic stay the same regardless of whether the folio copy is skipped or
not. |