Skip to content

omranisecurity/CacheBoom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CacheBoom!

A tool for discovering Web Cache Deception and Web Cache Poisoning vulnerabilities

FeaturesQuick StartInstallationUsageContributing


Features

  • Scan and identify Web Cache Deception and Web Cache Poisoning vulnerabilities
  • Simple and user-friendly command-line interface
  • Readable result reporting

Quick Start

To set up the project locally, follow these steps:

Prerequisites

  • Python 3.x must be installed.
  • Internet access to install dependencies.

Installation

  1. Clone the repository:
    git clone https://github.com/omranisecurity/cacheboom.git
    cd cacheboom
  2. Install required packages:
    pip install -r requirements.txt

Usage

After installation, you can run CacheBoom from the command line to scan for Web Cache Deception (WCD) and Web Cache Poisoning (WCP) vulnerabilities.

Basic Usage

To scan a single URL for cache poisoning:

python3 cacheboom.py --url https://target.com --mode cp

To scan for cache deception:

python cacheboom.py --url https://target.com --mode cd

Advanced Options

  • Scan multiple URLs from a file:

    python cacheboom.py --list urls.txt --mode cp

    urls.txt should contain one URL per line.

  • Use a raw HTTP request file:

    python cacheboom.py --raw_request raw_request.txt --mode cp
  • Add cookies to your requests:

    python cacheboom.py --url https://target.com --mode cp --cookie "name=value; name2=value2"
  • Set the number of threads (default is 10):

    python cacheboom.py --url https://target.com --mode cp --thread 20
  • Silent mode (show only results):

    python cacheboom.py --url https://target.com --mode cp --silent

Help

To see all available options, run:

python cacheboom.py --help

Replace https://target.com with the target URL you want to test.

For more examples, please refer to the Documentation

Roadmap

  • Basic cache poisoning test implemented
  • Web Cache Deception detection coming soon
  • Implement --output flag for saving results
  • Add advanced cache poisoning tests from research literature

Contributing

Contributions are welcome! If you have ideas, bug reports, or feature requests, please open an issue in the GitHub Issues section before submitting a pull request. This helps us discuss and track changes