CVE-2017-5244
Routes used to stop running Metasploit tasks (either particular ones or all tasks) allowed GET requests.
Published 9 y ago · modified 4 mo ago · JSON
Summary
Routes used to stop running Metasploit tasks (either particular ones or all tasks) allowed GET requests. Only POST requests should have been allowed, as the stop/stop_all routes change the state of the service. This could have allowed an attacker to stop currently-running Metasploit tasks by getting an authenticated user to execute JavaScript. As of Metasploit 4.14.0 (Update 2017061301), the routes for stopping tasks only allow POST requests, which validate the presence of a secret token to prevent CSRF attacks.
Exploit prediction (EPSS)
0.72% probability of exploitation in the next 30 days, higher than 54% of all scored CVEs.
CVSS scores
| Assigned by | Version | Score | Vector |
|---|---|---|---|
| NVD | 3.0 | 3.5 | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:N/A:P |
Affected products
- Rapid7 Metasploit (Pro, Express, and Community editions)
Classification
- Weakness
- CWE-352 Cross-Site Request Forgery
References
- securityfocus.com /bid/99082 · vdb-entry, x_refsource_BID, x_transferred
- community.rapid7.com /community/metasploit/blog/2017/06/15/r7-2017-16-cve-2017-5244-lack-of-csrf-protection-for · x_refsource_CONFIRM, x_transferred
- seekurity.com /blog/general/metasploit-web-project-kill-all-running-tasks-csrf-CVE-2017-5244/ · x_refsource_MISC, x_transferred
Sources
- CVE List: CVE-2017-5244
- NVD: CVE-2017-5244
vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.