HTML Form Without CSRF protection
The report flags a login form as possibly lacking CSRF protection, warning that an attacker could make a user submit actions, potentially compromising data or the whole app if the victim is an administrator.
- Triaged in 4 hours
- Fixed in 5 hours
- Disclosed after 11 hours
Cross-site request forgery, also known as a one-click attack or session riding and abbreviated as CSRF or XSRF, is a type of malicious exploit of a website whereby unauthorized commands are transmitted from a user that the website trusts.
Vulnerable Form- http://www.localize.io/
Form inputs:
sign_in[username] [Text] sign_in[password] [Password]
The impact of this vulnerability:-
An attacker may force the users of a web application to execute actions of the attacker's choosing. A successful CSRF exploit can compromise end user data and operation in case of normal user. If the targeted end user is the administrator account, this can compromise the entire web application.
How to fix this vulnerability:-
Check if this form requires CSRF protection and implement CSRF countermeasures if necessary
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 login form does not include a per-session anti-CSRF token, so the server cannot tell a genuine submission from a forged one.
Impact
An attacker could force users to execute actions of the attacker's choosing, which could compromise end user data and operations, and if the victim is an administrator, the entire web application could be compromised.
What the attacker needed
Victim has a trusted session; victim is induced to send a request
The fix
The form should be protected with CSRF countermeasures, such as a unique token checked on each submission.
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.
CSRF is when a malicious site tricks your browser into sending a request to another site where you are already logged in. Because your browser automatically includes your session cookie, the other site thinks the request came from you. This report says the login form does not have a secret token to prove the request really came from the site's own page.
What is Crypto?
Encryption, signatures, randomness or certificate checks that do not protect what they claim to.