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
cve-2015-7547-public — PoC attack server for CVE-2015-7547 buffer overflow vulnerability in glibc DNS stub resolver (public version) | Kitploit
Tools/GitHubGitHub/esentire/cve-2015-7547-public
Vulnerability AnalysisExploitationFuzzingPenetration TestingDNS AnalysisBinary ExploitationArchived
GitHubesentire/cve-2015-7547-public

cve-2015-7547-public

PoC attack server for CVE-2015-7547 buffer overflow vulnerability in glibc DNS stub resolver (public version)

View Repository
10541Apr 25, 2016Not yet reviewed

Related Tools

  • nuclei

    Fast YAML-based vulnerability scanner with template-driven detection engine for automated security testing across web apps, APIs, networks, DNS, and cloud infrastructure.

  • zaproxy

    Open-source web application security scanner for automated vulnerability detection, manual penetration testing, and API security testing with a proxy-based interception engine.

  • openvas-scanner

    This repository contains the scanner component for Greenbone Community Edition.

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.2k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    841
  • 3

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    449
  • 4

    ARTEX

    baarai/artex

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

    387
  • 5

    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.

    348
  • 6

    faraday

    infobyte/faraday

    Open-source and AI-powered cybersecurity tools for offensive security, vulnerability management, and autonomous pentesting. Built by hackers in Latin America, used worldwide.

    334

Explore all tools

Browse our collection of tools

View all tools →
Share

PoC attack server for CVE-2015-7547 vulnerability in glibc DNS stub resolver

To test on local machine with a vulnerable glibc version:

user@localhost:/$ echo 'nameserver 127.0.0.127' | sudo tee /etc/resolv.conf
user@localhost:/$ echo 'nameserver 127.0.0.127' | sudo tee -a /etc/resolv.conf
user@localhost:/$ sudo python3 attack-server.py 127.0.0.127
Starting UDP server on 127.0.0.127:53...
Starting TCP server on 127.0.0.127:53...

Then, from another terminal session, execute the attacks as shown in the examples below.

Attack 1 (UDP+TCP)

Needs ability to send replies > 2048 bytes over UDP and TCP.

Attack Sequence:

  1. UDP reply, > 2048 bytes, valid header/question, TC flag set (triggers buffer mismanagement and TCP retry)

  2. TCP reply, valid header/question (forces next reply to be stored in stack-allocated buffer)

  3. TCP reply, > 2048 bytes (overflows stack-allocated buffer)

Example:

user@localhost:/$ curl http://attack1
*** stack smashing detected ***: curl terminated
Segmentation fault (core dumped)

Attack 2 (UDP only)

Needs ability to send replies > 2048 bytes over UDP.

Attack Sequence:

  1. UDP reply, > 2048 bytes, invalid header (triggers buffer mismanagement, not counted as a valid response)

  2. Ignore next request (triggers UDP retry due to polling timeout)

  3. UDP reply, valid header/question (forces next reply to be stored in stack-allocated buffer)

  4. UDP reply, > 2048 bytes (overflows stack-allocated buffer)

Example:

user@localhost:/$ curl http://attack2
*** stack smashing detected ***: curl terminated
Segmentation fault (core dumped)

Attack 3 (UDP+TCP)

Needs ability to send replies > 1024 bytes over UDP and > 2048 bytes over TCP.

Attack Sequence:

  1. UDP reply, 1024 bytes, valid header/question (fills up half of the stack-allocated buffer)

  2. UDP reply, > 1024 bytes, valid header/question, TC flag set (triggers buffer mismanagement and TCP retry)

  3. TCP reply, valid header/question (forces next reply to be stored in stack-allocated buffer)

  4. TCP reply, > 2048 bytes (overflows stack-allocated buffer)

Example:

user@localhost:/$ curl http://attack3
*** stack smashing detected ***: curl terminated
Segmentation fault (core dumped)

Attack 4 (UDP only)

Needs ability to send replies > 2048 bytes over UDP.

Attack Sequence:

  1. UDP reply, 2048 bytes, valid header/question (fills up the stack-allocated buffer)

  2. UDP reply (triggers buffer mismanagement and UDP retry due to 0-byte socket receive)

  3. UDP reply, valid header/question (forces next reply to be stored in stack-allocated buffer)

  4. UDP reply, > 2048 bytes (overflows stack-allocated buffer)

Example:

user@localhost:/$ curl http://attack4
*** stack smashing detected ***: curl terminated
Segmentation fault (core dumped)

Attack 5 (TCP only)

Needs ability to send replies > 2048 bytes over TCP and at least two nameserver entries in /etc/resolv.conf.

Attack Sequence:

  1. UDP reply, valid header/question, TC flag set (optional, triggers TCP retry if initial query is over UDP)

  2. TCP reply, > 2048 bytes (triggers buffer mismanagement)

  3. TCP reply, empty (triggers TCP retry due to 0-byte socket receive)

  4. TCP reply, valid header/question (forces next reply to be stored in stack-allocated buffer)

  5. TCP reply, > 2048 bytes (overflows stack-allocated buffer)

Example:

user@localhost:/$ curl http://attack5
*** stack smashing detected ***: curl terminated
Segmentation fault (core dumped)

Payload Tests

To trigger a valid type A/AAAA reply of a certain size from the server, send a request for one of the following:

  • payload1 (> 64 bytes)
  • payload2 (> 128 bytes)
  • payload3 (> 256 bytes)
  • payload4 (> 512 bytes)
  • payload5 (> 1024 bytes)
  • payload6 (> 2048 bytes)
  • payload7 (> 4096 bytes)
  • payload8 (> 8192 bytes)

The requests can be issued over UDP or TCP, and the responses will contain the appropriate number of valid A or AAAA answers to pad the reply to the requested size. When the PoC server is set up as the authoritative name server for a test domain, this allows for exploring the behaviour of DNS cache hierarchies when faced with oversized replies.

Example:

user@localhost:/$ curl http://payload1.somedomain.com
Download Tool