Squirrelmail Full Disclosure – TROOPERS18
A post-authentication flaw in Squirrelmail lets a logged-in attacker extract files from the server, including configuration and log files and anything readable by all users. The text does not explain the mechanism, only the outcome and that valid credentials are needed.
insinuator.net
Published on insinuator.net
Birk an me basically fully disclosed a 0day in Squirrelmail yesterday. This is a short Q&A to answer the most common questions about the issue to calm you all down a little bit. 😉
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
Root cause
Likely a path or file handling mistake in the webmail application that lets a logged-in user request files outside the intended mail data.
Impact
A logged-in attacker could read server files such as configuration and logs, but only files readable by all users, and only with valid credentials or another unknown bug.
What the attacker needed
Valid login credentials; or a separate unknown vulnerability
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.
Squirrelmail is a webmail program that runs on a server. This bug means someone who already has a working login can trick the program into handing over files stored on that server, such as settings and logs. Because a login is required first, it is not something a random visitor can do on its own.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.