{"schemaVersion":3,"id":"CVE-2019-5624","aliases":[],"status":"published","duplicateOf":null,"title":"Rapid7 Metasploit Framework Zip Import Directory Traversal","description":"Rapid7 Metasploit Framework suffers from an instance of CWE-22, Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in the Zip import function of Metasploit. Exploiting this vulnerability can allow an attacker to execute arbitrary code in Metasploit at the privilege level of the user running Metasploit. This issue affects: Rapid7 Metasploit Framework version 4.14.0 and prior versions.","dates":{"published":"2019-04-30T16:53:31.816Z","modified":"2024-09-17T04:29:13.622Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.4,"severity":"high","version":"3.0","versionLabel":"v3.0","source":"CVE.org","vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7.4,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7.4,"severity":"high","vector":"CVSS:3.0/AV:L/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.5,"severity":"medium","vector":"AV:N/AC:L/Au:S/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.02758,"percentile":0.8615,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.02758},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.02758,"percentile":0.8615}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.02758,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.02758,"percentile":0.8615}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_RAPID7_METASPLOIT-FRAMEWORK","name":"Metasploit Framework","source":"github","url":"https://github.com/rapid7/metasploit-framework/pull/17067","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_4738142A46687A50","name":"Exploit Reference (blog.doyensec.com)","source":"reference","url":"https://blog.doyensec.com/2019/04/24/rubyzip-bug.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","description":"The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/22.html"}],"affected":[{"vendor":"rapid7","product":"metasploit","name":"metasploit","label":"metasploit","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.14.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.14.0","eol":null,"hubHref":"/vendor/rapid7/metasploit"},{"vendor":"rapid7","product":"metasploit framework","name":"Metasploit Framework","label":"metasploit framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.14.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.14.0","eol":null,"hubHref":"/vendor/rapid7/metasploit_framework"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/rapid7/metasploit-framework/pull/11716","label":"github.com/rapid7/metasploit-framework/pull/11716","hostname":"github.com","tags":["X Refsource CONFIRM","Exploit","Patch","Third Party Advisory"]},{"url":"https://help.rapid7.com/metasploit/release-notes/archive/2019/04/#20190416","label":"help.rapid7.com/metasploit/release-notes/archive/2019/04/","hostname":"help.rapid7.com","tags":["X Refsource CONFIRM","Release Notes","Vendor Advisory"]},{"url":"https://blog.doyensec.com/2019/04/24/rubyzip-bug.html","label":"blog.doyensec.com/2019/04/24/rubyzip-bug.html","hostname":"blog.doyensec.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2019-04-30T16:53:31.816Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-09-17T04:29:13.622Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T17:07:58.434Z","stale":false,"partial":false}}