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

SocialNetwork – Cross-Site Scripting (XSS) #84

bestshow opened this issue Mar 23, 2017 · 1 comment


None yet
2 participants
Copy link

commented Mar 23, 2017

Product: SocialNetwork
Vunlerable Version: v1.2.1 and probably prior
Tested Version: v1.2.1
Author: ADLab of Venustech

Advisory Details:
A Cross-Site Scripting (XSS) was discovered in “SocialNetwork v1.2.1”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in the “mail” HTTP POST parameter passed to the “SocialNetwork-andrea/app/template/pw_forgot.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to see a pop-up messagebox:
Post: mail=" /><script>alert(1);</script><input type="text

@andreas83 andreas83 self-assigned this Mar 23, 2017

@andreas83 andreas83 added the bug label Mar 23, 2017

andreas83 added a commit that referenced this issue Mar 23, 2017

Update pw_forgot.php
 #84 XSS Prevention

This comment has been minimized.

Copy link

commented Mar 23, 2017

Should be fixed now, please confirm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.