Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Bug Bounty Hunting Essentials

You're reading from   Bug Bounty Hunting Essentials Quick-paced guide to help white-hat hackers get through bug bounty programs

Arrow left icon
Product type Paperback
Published in Nov 2018
Publisher
ISBN-13 9781788626897
Length 270 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Shahmeer Amir Shahmeer Amir
Author Profile Icon Shahmeer Amir
Shahmeer Amir
Carlos A. Lozano Carlos A. Lozano
Author Profile Icon Carlos A. Lozano
Carlos A. Lozano
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Basics of Bug Bounty Hunting FREE CHAPTER 2. How to Write a Bug Bounty Report 3. SQL Injection Vulnerabilities 4. Cross-Site Request Forgery 5. Application Logic Vulnerabilities 6. Cross-Site Scripting Attacks 7. SQL Injection 8. Open Redirect Vulnerabilities 9. Sub-Domain Takeovers 10. XML External Entity Vulnerability 11. Template Injection 12. Top Bug Bounty Hunting Tools 13. Top Learning Resources 14. Other Books You May Enjoy

Sub-Domain Takeovers

The vulnerability we will be talking about in this chapter is so tricky that it is more like a configuration management error than a vulnerability. However, there are bounty platforms, such as HackerOne, that include it as vulnerability, so it's still worth discussing.

The problem in this case arises when someone registers a new domain to point to another domain. So, we will cover the following topics in the chapter:

  • Sub-domain takeovers
  • Internet-wide scans

In a vulnerability example, the sub domain (hello.domain.com) uses a canoninal name (CNAME) record to point to fulanito.com. A CNAME record is a domain name service (DNS) register, and it allows us to specify an alias for a domain name to a user. For example, if we have the Mexican domain, mitiendita.com.mx, we can create a CNAME register to point it to mitiendita.com.cl using the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image