Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/tungduongnt/cve-2014-0160.
Vulnerability AnalysisExploitationWeb SecurityIntrusion DetectionLearning & EducationLabs & Practice
GitHubtungduongnt/cve-2014-0160.

CVE-2014-0160.

Docker-based lab environment for exploiting CVE-2014-0160 (Heartbleed) to leak sensitive memory from nginx web servers, with Snort IDS detection rules.

View Repository
324 months agoNot yet reviewed
Share

CVE-2014-0160

Lab setup using Heartbleed to leak memory of webapps

This repo focuses on building a container to create an environment to easily exploit nginx using the Heartbleed technique, focusing on:

  • Setting up environment using Docker
  • Server setup diagram
  • Demo steps

Server diagram

diagram

The CVE-2014-0160 vulnerability occurs when the OpenSSL library provides TLS heartbeat functionality with a buffer size of 64KB, causing an excess that leaks sensitive information from server memory.

Attack flow

Using the heartbleed.py payload

The webapp is processing sensitive messages that are cached by nginx in memory.

We exploit by checking whether the environment supports TLS heartbeat.

openssl s_client -connect : -tlsdebug

Note: modern OpenSSL versions may no longer support the TLS heartbeat protocol; please use a version that supports it.

Heartbleed is an out-of-bounds read vulnerability that is random in nature. The server will return 64KB of adjacent memory.

Header of a heartbeat (RFC6520) 18 03 02 00

Demo

Use docker build to build the heartbleed lab docker build -t heartbleed-lab . docker run heartbleed-lab -p port:8443

Default port of the webapps is served at 8443

Use the payload heartbleed.py to test We can observe that the payload returns results in hexdump format.

In the example dump, we can see the request just sent and the memory cells are mostly 0x00; because the payload is random, we must run it several times to leak the desired results.

We can run memory.py to request nginx to store into memory and then obtain the leaked results as seen in result.txt

Rules

Since we know that an attacker will use heartbeat requests to leak messages,

alert tcp any any -> any 443 (msg:"Heartbeat request"; content:"|18 03 02 00|"; rawbytes;sid:100000)

Use snort IDS to detect intrusion.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    806
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    523
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    441
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    270
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    264

Explore all tools

Browse our collection of tools

View all tools →