Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XSS vulnerability in login redirect param #550

Closed
Danielss89 opened this issue Jan 8, 2015 · 0 comments
Closed

XSS vulnerability in login redirect param #550

Danielss89 opened this issue Jan 8, 2015 · 0 comments

Comments

@Danielss89
Copy link
Member

Security advisory: XSS vulnerability in login redirect param

ZfcUser version 1.2.2 has been released and includes a security for this vulnerability. Fix has been applied in @baf0e460

Affected versions

All versions below 1.2.2 are affected. dev-master is fixed starting from @2cc167a

Exploits

Because of missing escaping of the URL param redirect a XSS attack is possible.
For example: Setting the redirect param to "><a%20href="http://github.com">GitHub.com</a><inpu%20type="hidden"%20" would result in a link added to the login page.

Resolution

If you are using any version of ZfcUser below 1.2.2 please upgrade immediately by running composer update.

Credits

The vulnerability was discovered and fixed by @GyunerZeki

@Danielss89 Danielss89 changed the title XSS vulnerability in login redirect link XSS vulnerability in login redirect param Jan 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant