CSRF in Rapid7 Metasploit
CVE-2017-5244
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.
Vulnerability class: CSRF (Cross-Site Request Forgery)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.5 (Low). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS: 0.007 (51.9th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 52nd percentile — 51.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.007 · newest: 0.007 · change: 0.000
Affected products
- Rapid7 Metasploit
- Rapid7 Metasploit (Pro, Express, And Community Editions) — versions < 4.14.0 (Update 2017061301)
Weakness classification (CWE)
Public proof-of-concept exploits
- 0xsaju/Awesome-Bugbounty-Writeups
- 302Found1/Awesome-Writeups
- Fa1c0n35/Awesome-Bugbounty-Writeups
- Hacker-Fighter001/Bug-Bounty-Hunter-Articles
- ImranTheThirdEye/Awesome-Bugbounty-Writeups
- Neelakandan-A/BugBounty_
- Patrikx0x0/Awesome-Bugbounty-Writeups
- Prabirrimi/Awesome-Bugbounty-Writeups
- Prabirrimi/BugBounty_
- Prodrious/writeups
References
- www.securityfocus.com/bid/99082 (VDB Entry, Third Party Advisory, vdb-entry)
- community.rapid7.com/community/metasploit/blog/2017/06/15/r7-2017-16-cve-2017-5… (Exploit, VDB Entry, Vendor Advisory)
- www.seekurity.com/blog/general/metasploit-web-project-kill-all-running-tasks-cs… (Third Party Advisory)
Frequently asked questions
- What is CVE-2017-5244?
- CVE-2017-5244 is a low-severity vulnerability in Rapid7 Metasploit, classified under Cross-Site Request Forgery (CSRF). CVSS score: 3.5/10. Published 2017-06-15.
- How severe is CVE-2017-5244?
- Low severity. CVSS v3 base score is 3.5 out of 10.
- Is CVE-2017-5244 known to be exploited?
- 37 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.