The Attack Surface You Didn’t Know Existed (OnlyOffice)
An unlinked endpoint on the same domain reflected unsanitised user input, allowing an attacker to execute script in the context of an authenticated user's session. This could let the attacker perform actions as the user or display fake prompts within the trusted domain.
Instead of stopping at the login interface, I expanded the scope and began mapping the domain structure. But security assessments shouldn’t stop at what’s visible.
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
An attacker could execute script in the context of an authenticated user's session, potentially performing authenticated actions, showing fake prompts, and accessing session cookies if not properly protected.
What the attacker needed
Victim is authenticated on the main domain; victim clicks a crafted link
How it was found
- Discover the unlinked endpoint /doc/index.php on the target domain.
- Notice the 'user' parameter in the URL.
- Test the parameter with a script payload and observe execution.
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.
A website had a hidden page that took a value from the web address and put it directly into the page without cleaning it. An attacker could craft a link that, when clicked by a logged-in user, would run malicious code in that user's browser as if it came from the trusted site.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.