
CVE-1999-0678- /doc directory browsable
Author: Pham Huu Minh
Date: December 2025
This project demonstrates the complete lifecycle of a vulnerability assessment, specifically targeting the legacy Directory Traversal vulnerability (CVE-1999-0678) on an Apache Web Server. The goal was to simulate an attack, detect it using an IDS, and permanently fix the security hole.
I configured a local testing lab with a vulnerable Ubuntu target (192.168.45.132).
/doc/ directory via browser and terminal.
Figure 1: Successful unauthorized access to system documentation.
I deployed Snort on the victim server to detect this specific attack pattern in real-time.
alert tcp any any -> any 80 (content:"/doc/"; msg:"CVE-1999-0678 Detected";)
Figure 2: Snort IDS detecting the directory traversal attempt.
To secure the system, I implemented both temporary and permanent fixes.
iptables to immediately stop the active intrusion./etc/apache2/sites-available/000-default.conf) to remove the insecure Alias /doc directive.Verification: After patching, I attempted the attack again. The server returned a 404 Not Found error, confirming the system is secure.

Figure 3: Curl command returning 404, proving the vulnerability is fixed.
This project highlights the importance of Defense in Depth. While Firewalls provide immediate containment, true security requires root-cause remediation (configuration patching) and continuous monitoring via IDS.