Description
Locust through 2.46.7 contains a cross-site request forgery vulnerability that allows remote attackers to stop load tests or reset statistics via GET requests to /stop and /stats/reset. Attackers can lure an operator to a malicious page triggering cross-site GET requests, terminating running swarms and wiping recorded performance results.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| locustio | locust | ≤ 2.46.7 | — |
References
- https://github.com/locustio/locust/issues/3566 issue-tracking
- https://github.com/locustio/locust/commit/3a1d0caa5bde59494ede55f513fcb4becbf406a0 patch
- https://github.com/locustio/locust/blob/2.46.7/locust/web.py technical-description
- VulnCheck Advisory: Locust through 2.46.7 CSRF via Web UI /stop and /stats/reset third-party-advisory