
Exploit for CVE-1999-0524 that sends ICMP Timestamp and Address Mask requests to expose network information or trigger denial of service. Supports bulk IP processing and optional port checking.
This tool is designed to target CVE-1999-0524, a vulnerability in the ICMP protocol, which allows arbitrary hosts to send ICMP Timestamp and Address Mask requests to a target system. This can expose sensitive network information or lead to DoS (Denial of Service) attacks.
Author: Afif Hidayatullah
Organization: ITSEC Asia
To use this tool, simply clone the repository and run the script.
git clone https://github.com/threatlabindonesia/CVE-1999-0524-ICMP-Timestamp-and-Address-Mask-Request-Exploit.git
cd CVE-1999-0524-ICMP-Timestamp-and-Address-Mask-Request-Exploit
python3 CVE-1999-0524.py
usage: CVE-1999-0524.py [-h] [--type TYPE] [--code CODE] [--output OUTPUT] [--port PORT] [--bulk] target
target-h, --help
Show help message and exit.
--type TYPE
ICMP Type (default is 13 for Timestamp Request).
Example: --type 17 for Address Mask Request.
--code CODE
ICMP Code (default is 0).
--output OUTPUT
File to export the output (default is no output).
Example: --output results.txt
--port PORT
Port number to check for an open connection (optional). If not provided, only IP will be used for ICMP requests.
Example: --port 80 to check HTTP port.
--bulk
Process multiple IPs from a file. If this flag is set, the script will read from the file provided as the target and process each line as an individual target.
python CVE-1999-0524.py 192.168.1.1 --type 13 --code 0 --output output.txt --port 80
This sends an ICMP Timestamp request to 192.168.1.1, checks if port 80 is open, and saves the output to output.txt.
python CVE-1999-0524.py targets.txt --bulk --output output.txt
This reads a list of IPs/domains from targets.txt, sends ICMP Timestamp requests to each, and exports the responses to output.txt.
python CVE-1999-0524.py 192.168.1.2 --type 17 --code 0
This sends an ICMP Address Mask request to 192.168.1.2.
[2024-11-25 12:34:56] Received response from 192.168.1.1:
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
No response received from 192.168.1.1.
Port 80 is closed on 192.168.1.1. Skipping ICMP request.
If the --output option is used, each result will be saved to the specified file, and the file will look like this:
Target: 192.168.1.1
[2024-11-25 12:34:56] Received response from 192.168.1.1:
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
Target: 192.168.1.2
No response received from 192.168.1.2.
sudo.If you have any questions or suggestions, feel free to reach out to the author: