Nick Craig-Wood
f6c81d7a4f
serve ftp: fix auth-proxy sessions sharing credentials by username GHSA-c476-6w5q-jw77 CVE-PENDING
...
When serving FTP with --auth-proxy, the obscured password was cached in a
driver-global map keyed only by the username. Two sessions that logged in
with the same username but different credentials shared one map entry, so a
later login overwrote it and every subsequent operation on the earlier,
still-authenticated session was re-authorized with the later session's
credential and executed against the later session's backend.
Bind the credential to the FTP session by storing the obscured password in
the per-session goftp Session.Data map instead, so each session always
resolves the backend it authenticated for.
2026-09-04 19:00:22 +01:00
..
2025-08-26 12:04:00 +02:00
2026-04-10 11:39:50 +01:00
2026-08-21 12:23:31 +01:00
2025-10-02 18:46:16 +02:00
2025-11-04 23:00:46 +01:00
2026-09-02 23:47:07 +01:00
2024-08-15 18:26:34 +02:00
2025-08-26 12:04:00 +02:00
2025-08-26 12:04:00 +02:00
2024-08-15 18:26:34 +02:00
2025-08-26 12:04:00 +02:00
2026-08-18 09:03:12 +01:00
2026-07-10 18:45:41 +01:00
2025-09-15 12:45:57 +01:00
2025-08-26 12:04:00 +02:00
2026-06-29 18:19:49 +01:00
2026-08-21 12:23:31 +01:00
2025-11-13 13:47:40 +00:00
2025-11-01 15:33:38 +01:00
2025-11-01 15:33:38 +01:00
2025-08-26 12:04:00 +02:00
2025-08-26 12:04:00 +02:00
2026-06-18 13:28:23 +01:00
2025-09-02 14:06:31 +02:00
2026-08-02 18:25:09 +01:00
2026-07-31 12:01:05 +01:00
2025-11-01 15:33:38 +01:00
2025-11-01 15:33:38 +01:00
2026-04-24 16:23:12 +01:00
2025-12-15 09:11:00 +01:00
2025-11-01 15:33:38 +01:00
2026-07-24 15:00:09 +01:00
2026-01-18 20:48:33 +01:00
2025-11-01 15:33:38 +01:00
2025-08-26 12:04:00 +02:00
2023-08-02 12:53:09 +01:00
2026-08-18 09:03:12 +01:00
2026-08-18 09:03:12 +01:00
2026-08-18 09:03:12 +01:00
2025-08-26 12:04:00 +02:00
2025-11-01 15:33:38 +01:00
2026-06-05 18:13:16 +01:00
2026-08-18 09:03:12 +01:00
2026-01-18 20:56:26 +01:00
2025-08-26 12:04:00 +02:00
2026-04-19 13:31:27 +01:00
2025-11-01 15:33:38 +01:00
2025-08-26 12:04:00 +02:00
2022-12-03 18:58:55 +01:00
2025-08-26 12:04:00 +02:00
2025-08-26 12:04:00 +02:00
2025-08-26 12:04:00 +02:00
2026-09-04 19:00:22 +01:00
2025-11-01 15:33:38 +01:00
2025-08-26 12:04:00 +02:00
2026-08-13 19:37:59 +02:00
2025-08-26 12:04:00 +02:00
2025-11-21 17:02:45 +00:00
2026-02-26 16:20:24 +00:00
2025-08-26 12:04:00 +02:00
2025-11-01 15:33:38 +01:00
2026-02-18 12:11:52 +00:00
2024-02-29 14:46:50 +00:00
2026-07-29 20:16:22 +01:00
2026-02-18 12:11:52 +00:00
2024-04-18 16:53:55 +02:00
2024-04-18 16:53:55 +02:00
2024-09-06 17:04:18 +01:00
2024-04-18 16:53:55 +02:00