From Directory Traversal to Full Account Takeover: A Researcher�
A directory traversal vulnerability allowed access to a runtime folder containing logs, which stored plain text user credentials including admin credentials. The attacker used these to log into the admin panel and gain full control over the booking platform.
Published on medium.com
Every vulnerability has a story to tell. While some might dismiss certain bugs as minor or unimportant, an inquisitive mind can dig deeper to uncover their true potential.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Impact
The attacker gained admin-level access, allowing them to add, modify, or delete user accounts, change or cancel bookings, and view sensitive user data.
What the attacker needed
None
How it was found
- Browse the application and notice a sensitive internal directory exposed online.
- Use directory traversal techniques to access a folder named runtime containing a logs folder.
- Inside the logs folder, find detailed application logs with plain text user credentials.
- Find admin credentials in the logs and use them to log into the admin panel.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Directory traversal is a flaw where an application lets you use special characters to move outside the intended folder and read other files on the server. Here, the attacker reached a logs folder that contained usernames and passwords written in plain text, including an administrator's. With those, the attacker could log in as an administrator and control the whole booking system.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.