Metasploit Module Lookup API

Metasploit Framework exploit, auxiliary and post modules as flat rows: name, type, reliability rank, disclosure date, platforms, CVE ids, references and targets. Look up which CVEs already have a module.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 12 fieldsv1.0

Data from github.com/rapid7/metasploit-framework/blob/master/db/modules_metadata_base.json

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Cve IDsoptional
Only modules that reference one of these CVE ids, for example CVE-2021-44228. One per line, or separated by commas.
Example: CVE-2021-44228
Searchoptional
Words that must all appear in the module name or its path.
Example: 2wire
Module typeoptional
Only this kind of module.
Platformoptional
Only modules for this platform, for example Windows, Linux or PHP.
Example: Windows
Disclosed afteroptional
Only modules whose vulnerability was disclosed on or after this day, as YYYY-MM-DD.
Example: 2024-01-01

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/metasploit-modules/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/metasploit-modules/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"cve_ids":["CVE-2021-44228"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

cve_idslist
Only modules that reference one of these CVE ids, for example CVE-2021-44228.
example: CVE-2021-44228
searchtext
Words that must all appear in the module name or its path.
example: 2wire
module_typetext
Only this kind of module.
one of: exploit, auxiliary, post, payload, encoder, evasion, nop
platformtext
Only modules for this platform, for example Windows, Linux or PHP.
example: Windows
disclosed_aftertext
Only modules whose vulnerability was disclosed on or after this day, as YYYY-MM-DD.
example: 2024-01-01

What's in each record

12 fields: 11 here, 1 technical one under Technical details.

Basics

  • Module path

    The module's path in Metasploit, such as exploit/multi/http/log4shell_header_injection.

    Example exploit/linux/http/mobileiron_core_log4shell

  • Name

    The module's title.

    Example MobileIron Core Unauthenticated JNDI Injection RCE (via Log4Shell)

  • Type

    exploit, auxiliary, post, payload, encoder, evasion or nop.

    Example exploit

  • Rank

    Reliability rank number: 0 manual to 600 excellent.

    Example 600

  • Rank label

    The rank in words: Manual, Low, Average, Normal, Good, Great or Excellent.

    Example Excellent

  • Description

    What the module does, in plain text, cut at 500 characters.

    Example MobileIron Core is affected by the Log4Shell vulnerability whereby a JNDI string sent to the server will cause it to…

  • Platforms

    Platforms the module applies to, such as Windows or Linux.

    Example Unix

  • References

    All references of the module: CVE, advisory ids and links.

    Example CVE-2021-44228, URL-https://attackerkb.com/topics/in9sPR2Bzt/cve-2021-44228-log4shell/rapid7-analysis

  • Targets

    Target systems or versions the module lists.

    Example Linux

Dates

  • Disclosure date

    The day the vulnerability was disclosed, when known.

    Example Dec 12, 2021

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • Cve IDs cve_idsCVE ids the module references.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
module_pathtextModule path3 of 3
urllinkLink3 of 3
nametextName3 of 3
typetextType3 of 3
ranknumberRank3 of 3
rank_labeltextRank label3 of 3
disclosure_datedateDisclosure date3 of 3
descriptiontextDescription3 of 3
platformslistPlatforms2 of 3
cve_idslistCve IDs (hidden)3 of 3
referenceslistReferences3 of 3
targetslistTargets2 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordNameModule pathTypeRankRank labelDescriptionPlatformsReferencesTargetsDisclosure dateLink
1MobileIron Core Unauthenticated JNDI Injection RCE (via Log4Shell)exploit/linux/http/mobileiron_core_log4shellexploit600ExcellentMobileIron Core is affected by the Log4Shell vulnerability whereby a JNDI string sent to the server will cause it to connect to the attacker and deserialize a malicious Java object. This results in OS command execution in the context of the tomcat user. This module will start an…UnixCVE-2021-44228, URL-https://attackerkb.com/topics/in9sPR2Bzt/cve-2021-44228-log4shell/rapid7-analysis, URL-https://forums.ivanti.com/s/article/Security-Bulletin-CVE-2021-44228-Remote-code-injection-in-Log4j?language=en_US, URL-https://www.mandiant.com/resources/mobileiron-log4shell-exploitationLinuxDec 12, 2021github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/mobileiron_core_log4shell.rb
2Log4Shell HTTP Scannerauxiliary/scanner/http/log4shell_scannerauxiliary300NormalVersions of Apache Log4j2 impacted by CVE-2021-44228 which allow JNDI features used in configuration, log messages, and parameters, do not protect against attacker controlled LDAP and other JNDI related endpoints. This module will scan an HTTP end point for the Log4Shell…—CVE-2021-44228, CVE-2021-45046, URL-https://attackerkb.com/topics/in9sPR2Bzt/cve-2021-44228-log4shell/rapid7-analysis, URL-https://logging.apache.org/log4j/2.x/security.html—Dec 9, 2021github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/http/log4shell_scanner.rb
3Log4Shell HTTP Header Injectionexploit/multi/http/log4shell_header_injectionexploit600ExcellentVersions of Apache Log4j2 impacted by CVE-2021-44228 which allow JNDI features used in configuration, log messages, and parameters, do not protect against attacker controlled LDAP and other JNDI related endpoints. This module will exploit an HTTP end point with the Log4Shell…Java, Unix, WindowsCVE-2021-44228Automatic, Windows, LinuxDec 9, 2021github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/log4shell_header_injection.rb

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Reads the module list the Metasploit project keeps in its public repository; it changes whenever modules are added, about weekly. Rapid7 does not endorse this API. Metasploit Framework is BSD-3-Clause; only module metadata is returned, never module code.
  • The source is one 11 MB file, read once per run (about 1.4 MB compressed), so a run takes a few seconds whatever the limit.
  • About 7,300 modules exist; payloads, encoders, NOPs and evasion modules are included when no module_type is set.
  • disclosure_date is empty for many modules, and cve_ids is empty for modules without a CVE reference (most auxiliary and post modules).
  • platforms is empty for modules that are not tied to a platform; targets is filled mainly for exploits.
  • A CVE with no module here only means this project has none; it says nothing about exploits elsewhere.

Version history

A run uses the live version unless the request names another one with version.