Dragonfly did not enable authentication for some Manager’s endpoints
dragonflyoss dragonfly
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| github.com/dragonflyoss/dragonfly Go |
|
|
| d7y.io/dragonfly/v2 Go |
|
|
dragonflyoss dragonfly
| Product | Affected | Fixed in |
|---|---|---|
| github.com/dragonflyoss/dragonfly Go |
|
|
| d7y.io/dragonfly/v2 Go |
|
|
Dragonfly is an open source P2P-based file distribution and image acceleration system. Prior to 2.1.0, The /api/v1/jobs and /preheats endpoints in Manager web UI are accessible without authentication. Any user with network access to the Manager can create, delete, and modify jobs, and create preheat jobs. An unauthenticated adversary with network access to a Manager web UI uses /api/v1/jobs endpoint to create hundreds of useless jobs. The Manager is in a denial-of-service state, and stops accepting requests from valid administrators. This vulnerability is fixed in 2.1.0.
From the CVE record · GitHub_M
Before 2.1.0, Dragonfly Manager web UI exposes the /api/v1/jobs and /preheats endpoints without authentication. An attacker with network access can create, delete, or modify jobs and create preheat jobs; creating hundreds of useless jobs can leave the Manager unable to accept requests from administrators. No user interaction is required.
Teams running Dragonfly Manager or using the Go packages github.com/dragonflyoss/dragonfly or d7y.io/dragonfly/v2 should check installations before 2.1.0.