[UNIX] New YabbSE Remote Code Execution Vulnerability Found (News.php)
From: support@securiteam.com
Date: 01/29/03
- Previous message: support@securiteam.com: "[UNIX] Multiple Vulnerabilities in Old Releases of MIT Kerberos"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: support@securiteam.com To: list@securiteam.com Date: 29 Jan 2003 16:16:44 +0200
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
Beyond Security would like to welcome Tiscali World Online
to our service provider team.
For more info on their service offering IP-Secure,
please visit http://www.worldonline.co.za/services/work_ip.asp
- - - - - - - - -
New YabbSE Remote Code Execution Vulnerability Found (News.php)
------------------------------------------------------------------------
SUMMARY
YabbSE contains a file called News.php that is found in the root
directory. For some unknown reason the vendor did not place this file
inside /Sources even though this file is only intended to be used as an
include. An attacker can combine his own server with the victim in such
way that it would allow him/her to include remote arbitrary code on the
victim's server and run it with web server permissions.
DETAILS
Vulnerable systems:
* Yabb SE version 1.5.1 and prior
The attack works as follows:
********
.
$dbcon = mysql_connect($db_server,$db_user,$db_passwd);
mysql_select_db ($db_name);
.
********
First, we can see News.php is trying to connect to the SQL database. We
can see that the variables above that contain the database information are
not defined and may be changed by the attacker. If the attacker installs
YabbSE on his/her server and allows a remote SQL connection, then News.php
will think the database has been loaded successfully and run the following
lines:
********
.
if ($template == null)
include("news_template.php");
else
{
if ($ext == null)
include($template.".php");
else
include($template.".".$ext);
}
.
********
Since template is never defined before, the attacker may inject into
$template his/her own remote file. News.php will include the attacker's
code, run it on the server, and give the attacker the ability to execute
arbitrary code on the server with web server permissions.
Solution:
Please check the vendor's website for new patches. As a temporary solution
rename News.php to News.inc and wait for vendor's reply.
ADDITIONAL INFORMATION
The information has been provided by <mailto:mindwarper@hush.com>
mindwarper.
========================================
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: list-unsubscribe@securiteam.com
In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com
====================
====================
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.
- Next message: support@securiteam.com: "[UNIX] Multiple Cross-Site Scripting Vulnerabilities in Nuked-Klan"
- Previous message: support@securiteam.com: "[UNIX] Multiple Vulnerabilities in Old Releases of MIT Kerberos"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
- RE: Is this as bad as it seems?
... The network being protected by the router or firewall is still vulnerable to ...
> circumvented - the administrator has explicitly allowed HTTP traffic on ... this exploit
has the effect of allowing the attacker to send *INBOUND* HTTP ... The HTTP server
(located on the internal network or anywhere else that is ... (Security-Basics) - [NEWS] Firewall Circumvention Possible with All Browsers
... The exploit allows an attacker to use any JavaScript-enabled web browser ...
any HTTP server behind the firewall. ... outlined in the section "Quick-Swap DNS".
... If the client in use is Microsoft Internet Explorer, ... (Securiteam) - [NT] Unchecked Buffer in Network Share Provider Can Lead to Denial of Service
... SMB (Server Message Block) is the protocol Microsoft uses to share files, ...
The attacker could use both a user account and anonymous access to ... What's the scope
of the vulnerability? ... (Securiteam) - RE: Private addresses on public network
... anybody accesses those computers from an external network," -- even when the ...
JavaScript delivered to the client that causes the client to retrieve ... the attacker,
the request results in another JavaScript response that tells ... Moving beyond a single server
... (Security-Basics) - Re: Appeal for Help. NOT Code Red But Is It?
... our server immediately responds back to the prober ... What is happening is
that the IDS is becomming confused about who the ... each worm that is still on its way
from the attacker. ... > and outbound port was 2913. ... (Incidents)