發表文章

HackTheBox:Lame writeup

圖片
 開始根據TJ null's OSCP list 刷靶機。 這是第1台。希望能堅持把它刷完。 先 nmap 檢查它開什麼服務 加 -sC 做script scan 原本以為ftp有洞;vsFTPd 2.3.4有個 RCE ( CVE-2011-2523 ),但 exploit 跑完沒反應。 仔細看看smb: Samba 3.0.20 查一下看到有 CVE ( CVE-2007-2447 ) 跟 metasploit 模組 直接拿來用: 然後就拿到root shell了。

TOTOLINK N200RE_v5 Telnet Backdoor

圖片
Wenyi Li @UCCU Hacker Description The telnet service on the router, though disabled by default, can be enabled by an unauthenticated attacker with a single POST request.  The attacker can then login as root with hardcoded credentials. Affected versions Tested on firmware version  V9.3.5u.6139, other versions may also be vulnerable. Cause Analysis The web interface issues  a SESSION_ID cookie upon a successful login. However, the request endpoints do not check for it, resulting in broken access control. POC demo

SurveyCake stored XSS

圖片
  2022 9/3 發現surveycake表單有資安漏洞。是個很裸的 stored xss。 只要填表單的時候在文字區塞入 xss payload,表單管理員收到回覆,點開來看,帳號就被黑掉了。 像這樣: 那陣子參加很多活動,一堆回饋表單要填。好巧不巧都用 surveycake。 填表單的時候無聊玩看看有沒有 xss。 自己創表單,填的時候塞最陽春的<script>alert(document.domain)</script> 然後真的有。 哈哈,太酷了吧。沒想到2022年還有這種 low hanging fruit 可以拿。很不錯,慢慢建立信心。 回報給hitcon zeroday,完整報告在這裡: https://zeroday.hitcon.org/vulnerability/ZD-2022-00716 當時這是我通報過最有影響力的漏洞,蠻開心的。 雖然漏洞最後有修好,過程中沒有收到任何廠商的回饋,感覺有點可惜。

It works!

 第一篇文章