Exploiting .DS_Store
The report describes two issues: an unauthenticated information disclosure endpoint in SimpleSAMLphp that leaked internal service details, and a .DS_Store file that revealed a hidden login panel with debug mode enabled, exposing SQL errors. The attacker could access sensitive internal information and potentially exploit the login panel, though SQL injection was not actually possible.
medium.com
Published on medium.com
Heyy Everyone, it’s Jerry1319 from this side . It’s been a while since i wrote mine last writeup, So without wasting a single minute let’s jump towards the latest finding of mine.
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 missing authentication on a sensitive endpoint and leftover debug mode plus a publicly accessible .DS_Store file.
Impact
An unauthenticated attacker could access internal service information and a hidden login panel, and the debug mode exposed database details, though SQL injection was not actually possible.
What the attacker needed
None for the information leak; victim not required
How it was found
- Fuzz directories on the subdomain and find .DS_Store and saml/module.php.
- Fuzz the saml/module.php path and discover it belongs to SimpleSAMLphp.
- Use path traversal with ..; to access module.php/modeinfo and leak internal service details.
- Open the .DS_Store file to extract 49 paths.
- Fuzz the extracted paths and find a hidden login panel.
- Try default credentials admin/admin, triggering a SQL error that reveals database information.
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.
This write-up shows how forgotten files and misconfigured paths can reveal hidden parts of a website. The author found a .DS_Store file (a Mac metadata file) that listed secret folders, and a misconfigured SimpleSAMLphp endpoint that showed internal service details without logging in. These leaks can help attackers map a system and find further weaknesses.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.