Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 43 guests and 2 members online
 
Free Business and Tech Magazines and eBooks

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Web Applicationsarrow DVWA 1.07 file upload issue
EH-Net
May 22, 2013, 04:10:37 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: DVWA 1.07 file upload issue  (Read 2455 times)
0 Members and 1 Guest are viewing this topic.
Net_Spy
Newbie
*
Offline Offline

Posts: 2


View Profile
« on: August 29, 2011, 11:29:34 PM »

Greetings ,
              Im having a issue with file upload test using low and medium both . Im keep getting message image was not uploaded .

Im using burf to modify the content type image/jpeg . using with low and medium both setting. Ive tried to upload simple image file but same error message on that image file as well. Looking forward for your kind response.

 Regards
   Net_Spy
Logged
Net_Spy
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #1 on: August 30, 2011, 12:34:38 AM »

Greetings ,
              Im having a issue with file upload test using low and medium both . Im keep getting message image was not uploaded .

Im using burf to modify the content type image/jpeg . using with low and medium both setting. Ive tried to upload simple image file but same error message on that image file as well. Looking forward for your kind response.

 Regards
   Net_Spy


After going through code Ive found that this is a bug in upload .Once you select meduim and click on upload the status still shows high thats mean it is not changing the profile . Either you can disable the high code from /vunlenbility/upload/index.php

Code:
$vulnerabilityFile = '';
switch( $_COOKIE[ 'security' ] ) {
        case 'low':
                $vulnerabilityFile = 'low.php';
                break;
       default:
        case 'medium':
                $vulnerabilityFile = 'medium.php';
                break;

      case 'high':
      default:
              $vulnerabilityFile = 'high.php';
              break;
}

into:
Code:
$vulnerabilityFile = '';
switch( $_COOKIE[ 'security' ] ) {
        case 'low':
                $vulnerabilityFile = 'low.php';
                break;
       default:
        case 'medium':
                $vulnerabilityFile = 'medium.php';
                break;

//      case 'high':
//      default:
//              $vulnerabilityFile = 'high.php';
//              break;
}

Ive notice that version 1.07 having database bug as well that db name is hardcoded into source that will froce to use dvwa as database name . Hope developer notice and fix this issue.

 Regards
   Net_Spy
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.133 seconds with 22 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Advertisement

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.