what you don't know can hurt you

WordPress Adminer 1.4.4 Interface Exposure

WordPress Adminer 1.4.4 Interface Exposure
Posted Mar 3, 2017
Authored by David Vaartjes

WordPress Adminer plugin version 1.4.4 suffers from an interface exposure issue.

tags | exploit
MD5 | 5d84a7176c6dac3cd7b08219cfdbe8b9

WordPress Adminer 1.4.4 Interface Exposure

Change Mirror Download
------------------------------------------------------------------------
WordPress Adminer plugin allows public (local) database login
------------------------------------------------------------------------
David Vaartjes, July 2016

------------------------------------------------------------------------
Abstract
------------------------------------------------------------------------
The Adminer WordPress plugin allows public login to the site's editor.
As a result this allows an attacker to connect to any database running
on the local host or on internal systems which are accessible from the
target WordPress server.

------------------------------------------------------------------------
OVE ID
------------------------------------------------------------------------
OVE-20160728-0001

------------------------------------------------------------------------
Tested versions
------------------------------------------------------------------------
This issue was successfully tested on the Adminer WordPress Plugin
version 1.4.4.

------------------------------------------------------------------------
Fix
------------------------------------------------------------------------
Currently no fix for this issue is available.

------------------------------------------------------------------------
Details
------------------------------------------------------------------------
https://sumofpwn.nl/advisory/2016/wordpress_adminer_plugin_allows_public__local__database_login.html

This issue exists because a publicly accessible interface (Adminer editor) is exposed that can be used by anyone from the web. No login to the WordPress dashboard is required. From git it seems that the Adminer editor component was added early '16.

Since an attacker can also specify the target host:port combination of the database to connect too, this issue can also be used to connect to any (also non WP) databases which are accessible from the target WordPress server.

The script has a measure in place to limit brute-force attacks. Upon 30 connection attempts from a single IP your IP will be blocked for 30 minutes.

The script can be found at the following location:
http://<target>/wp-content/plugins/adminer/inc/editor/index.php

Using Google many sites can be found that have a publicly accessible database login page exposed:
https://www.google.nl/search?q=inurl:/adminer/inc/
Proof of concept

- http://<target>/wp-content/plugins/adminer/inc/editor/index.php
- http://<target>/wp-content/plugins/adminer/inc/editor/index.php?server=10.0.0.1&username=root&db=wordpress&password=root

------------------------------------------------------------------------
Summer of Pwnage (https://sumofpwn.nl) is a Dutch community project. Its
goal is to contribute to the security of popular, widely used OSS
projects in a fun and educational way.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

February 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Feb 1st
    1 Files
  • 2
    Feb 2nd
    2 Files
  • 3
    Feb 3rd
    17 Files
  • 4
    Feb 4th
    15 Files
  • 5
    Feb 5th
    24 Files
  • 6
    Feb 6th
    16 Files
  • 7
    Feb 7th
    19 Files
  • 8
    Feb 8th
    1 Files
  • 9
    Feb 9th
    2 Files
  • 10
    Feb 10th
    15 Files
  • 11
    Feb 11th
    20 Files
  • 12
    Feb 12th
    12 Files
  • 13
    Feb 13th
    18 Files
  • 14
    Feb 14th
    17 Files
  • 15
    Feb 15th
    4 Files
  • 16
    Feb 16th
    4 Files
  • 17
    Feb 17th
    34 Files
  • 18
    Feb 18th
    15 Files
  • 19
    Feb 19th
    19 Files
  • 20
    Feb 20th
    20 Files
  • 21
    Feb 21st
    11 Files
  • 22
    Feb 22nd
    0 Files
  • 23
    Feb 23rd
    0 Files
  • 24
    Feb 24th
    0 Files
  • 25
    Feb 25th
    0 Files
  • 26
    Feb 26th
    0 Files
  • 27
    Feb 27th
    0 Files
  • 28
    Feb 28th
    0 Files
  • 29
    Feb 29th
    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