Product: SocialNetwork
Download: https://github.com/andreas83/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:
Poc:
Post: mail=" /><script>alert(1);</script><input type="text
To http://localhost/.../SocialNetwork-andrea/app/template/pw_forgot.php
The text was updated successfully, but these errors were encountered:
Product: SocialNetwork
Download: https://github.com/andreas83/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:
Poc:
Post: mail=" /><script>alert(1);</script><input type="text
To
http://localhost/.../SocialNetwork-andrea/app/template/pw_forgot.php
The text was updated successfully, but these errors were encountered: