Hackthebox - Chemistry
Chemistry
10.10.11.38
app.py
1 | app = Flask(__name__) |
可知用户表存储在 sqlite 数据库中,下载 /home/app/instance/database.db
得到用户 rosa
的密码 MD5 Hash 63ed86ee9f624c7b14f1d4f43dc251a5
。
可知用户凭据 rosa:unicorniosrosados
。
成功登陆用户 rosa
提权
pspy
看看 /opt
权限不足
linpeas.sh
CVEs
均利用失败
Ports
看看 8080
1 | $ ssh -L 8080:127.0.0.1:8080 [email protected] |
aiohttp/3.9.1
存在路径穿越漏洞,验证 CVE-2024-23334:
只是读取 /root/root.txt
到这里就够了,接下来看看怎么获得 root shell