
Pentesting caja negra: Shellshock (CVE-2014-6271) + Log4Shell (CVE-2021-44228). Escalada a root. Informe ejecutivo y técnico
Black box pentesting: Shellshock (CVE-2014-6271) + Log4Shell (CVE-2021-44228). Root escalation. Executive and technical report
Project of the 360° Cybersecurity Bootcamp by The Bridge Digital Talent Accelerator (2025-2026).
Perform a security audit on a legacy server using black box methodology, simulating an external threat actor without prior credentials. The goal was to identify vulnerabilities that allowed unauthorized access and privilege escalation to full system control.
Identification of exposed services using Nmap with flags -sV -sC -p-. Discovery of three vectors of interest: SSH (port 22), Apache web service (port 8081), and Java/Nagios service (port 8080).
Web enumeration with DIRB to confirm /cgi-bin/ paths. Nessus scan of port 8080 revealed critical Log4Shell vulnerability with CVSS 10.0.
Exploitation of vulnerable CGI script on port 8081 using Metasploit (apache_mod_cgi_bash_env_exec). Obtained shell as user www-data.
JNDI injection in HTTP headers on port 8080 using Metasploit (log4shell_header_injection). The Java service was running as root — total system compromise.
Documentation of impact on the CIA triad, risk analysis by criticality, and remediation plan with concrete deadlines.
| Tool | Use in the project |
|---|---|
| Nmap | Port, service, and version recognition |
| DIRB | Web directory enumeration |
| Technique | ATT&CK ID | CVE | Port |
|---|
Total server compromise in less than 3 hours. Both vulnerabilities are known and have had patches available for years — demonstrating the real risk of unmaintained legacy systems.
⚠️ Detailed technical reports, screenshots, and project evidence are not published in this repository for confidentiality reasons with the educational institution (The Bridge Digital Talent Accelerator).
If you are a recruiter or industry professional and wish to see the full material (executive reports, PoC, screenshots, and mitigation plans), feel free to contact me:
This project was executed in an isolated lab environment for educational purposes. The documented techniques are aimed at improving defensive capabilities.
| Nessus |
| Automated vulnerability analysis |
| Metasploit | Exploitation of Shellshock and Log4Shell |
| Kali Linux | Attack platform |
| Result |
|---|
| Exploitation of Public-Facing Application | T1190 | CVE-2014-6271 (Shellshock) | 8081 | Shell as www-data |
| Exploitation of Public-Facing Application | T1190 | CVE-2021-44228 (Log4Shell) | 8080 | Shell as root |