Reporting Bugs
The report describes three issues: an unrestricted file upload on /artists that could allow an attacker to upload malicious files, a password autocomplete issue on /login and /register that could expose cleartext passwords to someone with local access, and a clickjacking vulnerability on the main domain. An attacker could potentially execute arbitrary code via a crafted upload, obtain saved passwords from the browser cache, or trick users into clicking hidden elements.
Originally disclosed on HackerOne
- Triaged in 4 days
- Fixed in 4 days
- Disclosed after 2.0 years
1)This page allows visitors to upload files to the server. Various web applications allow users to upload files (such as pictures, images, sounds, ...). Uploaded files may pose a significant risk if not handled correctly. A remote attacker could send a multipart/form-data POST request with a specially-crafted filename or mime type and execute arbitrary code. Affected items /artists If the uploaded files are not safely checked an attacker may upload malicious files. Restrict file types accepted for upload: check the file extension and only allow certain files to be uploaded. Use a whitelist approach instead of a blacklist. Check for double extensions such as .php.png. Check for files without a filename like .htaccess (on ASP.NET, check for configuration files like web.config). Change the permissions on the upload folder so the files within it are not executable. If possible, rename the files that are uploaded.
2)When a new name and password is entered in a form and the form is submitted, the browser asks if the password should be saved. Thereafter when the form is displayed, the name and password are filled in automatically or are completed as the name is entered. An attacker with local access could obtain the cleartext password from the browser cache. Affected items /login /register Possible sensitive information disclosure The password auto-complete should be disabled in sensitive applications. To disable auto-complete, you may use a code similar to: <INPUT TYPE="password" AUTOCOMPLETE="off">
3)Vulnerability: Clickjacking Vulnerable Domain: fanfootage.com Vulnerable URL: https://fanfootage.com/ Browser version: Google Chrome 35.0.1916.114 Operating system: Windows Steps to Reproduce;
<html> <style> iframe { width: 800px; height: 500px; position: absolute; top: 0; left: 0; filter: alpha(opacity=50); opacity: 0.5; } </style> <iframe src="https://fanfootage.com/"> </html>Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the upload endpoint does not validate file types or names, the login forms do not disable autocomplete, and the site lacks anti-framing headers.
Impact
An attacker could potentially execute arbitrary code via a malicious upload, obtain cleartext passwords from the browser cache with local access, or trick users into unintended actions through clickjacking.
What the attacker needed
Access to the upload endpoint; local access to the victim's browser; victim visits a malicious page
The fix
The report recommends restricting uploads with a whitelist, disabling autocomplete on sensitive forms, and (implied) preventing framing; it does not state that any fix was applied.
How it was found
- Send a multipart/form-data POST request to /artists with a crafted filename or MIME type.
- Enter a name and password in the /login or /register form and submit it.
- Observe that the browser offers to save the password and later autofills it.
- Create an HTML page with an iframe pointing to the vulnerable site and load it in a browser.
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 report has not been written yet. The Original tab links to the source.
This report lists three separate security problems. First, a file upload feature might let someone upload a harmful file that the server then runs, like a program. Second, the login and registration forms let the browser save passwords, which someone with access to the computer could read. Third, the website can be embedded in another page, so an attacker could trick users into clicking things they did not intend to.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.