Love Letter Locker — TryHackMe Writeup
嗯,用户让我帮忙总结一篇文章,控制在100字以内,而且不需要用“文章内容总结”之类的开头。首先,我得仔细阅读文章内容,理解其主要信息。 文章讲的是一个叫做Love Letter Locker的网络挑战,重点是IDOR(Insecure Direct Object References)。作者通过创建账户并登录应用,发现每封信都有一个唯一的数字编号。他尝试修改URL中的ID,结果成功访问了其他用户的信件,并找到了flag。最后得出结论:缺乏访问控制会导致敏感数据泄露。 现在需要将这些信息浓缩到100字以内。要抓住关键点:挑战名称、IDOR漏洞、作者的操作、结果以及结论。确保语言简洁明了,不使用复杂的术语。 可能的结构是:描述挑战、作者的行为、发现的问题、结果和结论。这样既全面又简洁。 最后检查字数,确保不超过限制,并且表达清晰。 </think> 文章描述了一个基于网络的挑战"Love Letter Locker",通过利用不安全的直接对象引用(IDOR)漏洞,作者通过预测标识符成功访问了其他用户的信件,并最终获取了flag。该挑战展示了缺乏适当访问控制时敏感数据可能面临的风险。 2026-4-9 07:47:18 Author: infosecwriteups.com(查看原文) 阅读量:8 收藏

Death Esther

Introduction

Love Letter Locker is a web-based challenge focused on IDOR. While interacting with the application, I identified how predictable identifiers could be manipulated to access other users’ letters.

Initial Reconnaissance

The room provides a direct entry point to the web application:

Press enter or click to view image in full size

I started by navigating to the target in the browser to understand how the application behaves.

Press enter or click to view image in full size

The landing page presents two basic options: account creation and login. Since no credentials were provided, I proceeded by creating a new account.

Press enter or click to view image in full size

After registering successfully, I logged into the application.

Press enter or click to view image in full size

Once inside, I landed on a dashboard that showed my letters along with a small hint:

“Every love letter gets a unique number in the archive. Numbers make everything easier to find.”

Get Death Esther’s stories in your inbox

Join Medium for free to get updates from this writer.

Remember me for faster sign in

It also displayed the total number of letters currently in the system.

Press enter or click to view image in full size

Exploring Functionality

To understand how the application handles user data, I created a new letter.

Press enter or click to view image in full size

The letter was created successfully, and I was able to open it.

Press enter or click to view image in full size

To inspect things more closely, I opened the letter in a new tab and focused on the URL structure.

Press enter or click to view image in full size

The URL contained a numeric identifier for the letter. Mine was assigned the number 3. That immediately stood out, especially considering the earlier hint about unique numbers.

Accessing Other Letters

At this point, I tested whether the application properly restricts access to other users’ data. I modified the letter ID directly in the URL.

First, I switched from 3 to 2.

Press enter or click to view image in full size

The application returned another letter without any restriction.

Next, I changed the ID to 1.

Press enter or click to view image in full size

This time, I was able to access a different letter, which revealed the flag.

Flag

THM{1_c4n_r3ad_4ll_l3tters_w1th_th1s_1d0r}

Conclusion

This room demonstrates how predictable identifiers in web applications can expose sensitive data when proper access controls are missing.

Press enter or click to view image in full size

Thanks for reading.


文章来源: https://infosecwriteups.com/love-letter-locker-tryhackme-writeup-88ea904851fb?source=rss----7b722bfd1b8d---4
如有侵权请联系:admin#unsafe.sh