Lucene search
K

WordPress Adminer 1.4.4 Interface Exposure Vulnerability

🗓️ 04 Mar 2017 00:00:00Reported by David VaartjesType 
zdt
 zdt
🔗 0day.today👁 29 Views

WordPress Adminer 1.4.4 Interface Exposure Vulnerability allows local database login without authentication. No fix available

Code
------------------------------------------------------------------------
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.

#  0day.today [2018-03-19]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation