the original cloud security

Backupbuddy 2.2.4 Sensitive Data Exposure

Backupbuddy 2.2.4 Sensitive Data Exposure
Posted Mar 24, 2013
Authored by Rob Armstrong

Backupbuddy versions 2.2.4 and below suffer form sensitive data exposure vulnerabilities.

tags | exploit, vulnerability
MD5 | 33f2a2d411ef34e5b0e1e7d84ddecc35

Backupbuddy 2.2.4 Sensitive Data Exposure

Change Mirror Download
#
#
# Backupbuddy - sensitive data exposure in importbuddy.php
#
# "the premiere WordPress backup plugin to backup, restore and move
WordPress"
# http://ithemes.com/purchase/backupbuddy/
#
# known versions affected: v1.3.4, v2.1.4, v2.2.25, v2.2.28, v2.2.4, likely
other versions also
#
# impact:
# access to wordpress site and sql backups
# disclosure of server configuration information
#
# author: robarmstrong.te71@gmail.com


# summary

The final step in the importbuddy backup restoration process is supposed to
remove importbuddy.php from the root of the site, however this step often
fails (most commonly as a result of filesystem permissions) allowing an
attacker access to some or all of the functions and information provided by
importbuddy.php.

An access password for importbuddy does not appear to be a mandatory
requirement. Forcing the user to set a password (and fixing the
authentication bypass) would go some way to mitigating the risk of
importbuddy.php not being deleted.



# details

The name of the backup file contains a random string intended to prevent an
attacker from guessing its value.
However if backup files are present, browsing to
http://site/importbuddy.phpwill expose their filenames; these can then
be used to download the files
from the site:

<select name="file" style="max-width: 590px;">
<option
value="backup-zipfile-date-randomstring.zip">backup-zipfile-date-randomstring.zip</option>
</select>

The desired backup file can be retrieved with: wget
http://site/backup-zipfile-date-randomstring.zip

The backup consists of a zip archive containing the wordpress directory,
complete with wp-config.php and often a .sql dump containing a full copy of
the wordpress database and any other databases the backupbuddy plugin has
been configured to include.


Importbuddy also presents the option to upload a backup on step 1 of the
restoration process, potentially allowing defacement or deletion and also
trojanning the site if an existing backup is available.

Additionally there are issues affecting the 'step' query string field. This
has a differing impact depending on the version of Backupbuddy targeted:

http://site/importbuddy.php?step=1

- Can be used to avoid the password check on step 1 (if a password has
been set) by passing ?step=[2-7]
- Steps 2 and 3 expose the full path of the wordpress install
- Skipping to step 7 has the potential to erase the wordpress install
(only known to affect v2.2.4)
- Accessing http://site/importbuddy.php?step=0&action=phpinfo provides
phpinfo information (confirmed on v2.2.25)

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

July 2017

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    2 Files
  • 2
    Jul 2nd
    3 Files
  • 3
    Jul 3rd
    15 Files
  • 4
    Jul 4th
    4 Files
  • 5
    Jul 5th
    15 Files
  • 6
    Jul 6th
    15 Files
  • 7
    Jul 7th
    10 Files
  • 8
    Jul 8th
    2 Files
  • 9
    Jul 9th
    10 Files
  • 10
    Jul 10th
    15 Files
  • 11
    Jul 11th
    15 Files
  • 12
    Jul 12th
    19 Files
  • 13
    Jul 13th
    16 Files
  • 14
    Jul 14th
    15 Files
  • 15
    Jul 15th
    3 Files
  • 16
    Jul 16th
    2 Files
  • 17
    Jul 17th
    8 Files
  • 18
    Jul 18th
    11 Files
  • 19
    Jul 19th
    15 Files
  • 20
    Jul 20th
    15 Files
  • 21
    Jul 21st
    15 Files
  • 22
    Jul 22nd
    7 Files
  • 23
    Jul 23rd
    0 Files
  • 24
    Jul 24th
    0 Files
  • 25
    Jul 25th
    0 Files
  • 26
    Jul 26th
    0 Files
  • 27
    Jul 27th
    0 Files
  • 28
    Jul 28th
    0 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2016 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close