What is Blind XSS?
A blog writer signup form stored user input without sanitisation, leading to blind XSS that executed in the admin panel. The attacker also uploaded a PHP file that was accessible and executable, allowing OS command execution.
Hey, thanks for coming again here ๐. Today I am going to share one of our cool finding at antihack.me .
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 the application stored user-supplied input without sanitisation and allowed unrestricted file uploads to a web-accessible directory.
Impact
An attacker could execute arbitrary JavaScript in the admin's browser and upload a PHP file that allowed OS command execution.
What the attacker needed
Ability to sign up as a writer; admin reviews the signup
The fix
The report says the issues were patched, but does not describe the fix; likely input sanitisation and restricting file uploads to safe types and non-executable directories.
How it was found
- The attacker found a writer signup endpoint.
- The attacker registered an account with an XSS hunter payload in the 'about me' field.
- The attacker waited for the payload to fire in the admin panel.
- The attacker used the blind XSS to discover the URL of an uploaded file.
- The attacker uploaded a PHP file and confirmed it was accessible and executable.
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 is a story about a website that let people sign up as writers. The signup form saved what people typed without cleaning it, so when an administrator later looked at the signup list, hidden code ran in the admin's browser. The same upload feature also let the attacker put a PHP script on the server, which could run commands on the machine.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.