SecurityTracker.com
Keep Track of the Latest Vulnerabilities
with SecurityTracker!
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 
Sign Up
Sign Up for Your FREE Weekly SecurityTracker E-mail Alert Summary
Instant Alerts
Buy our Premium Vulnerability Notification Service to receive customized, instant alerts
Affiliates
Put SecurityTracker Vulnerability Alerts on Your Web Site -- It's Free!
Partners
Become a Partner and License Our Database or Notification Service
Report a Bug
Report a vulnerability that you have found to SecurityTracker
bugs
@
securitytracker.com






Category:   Application (Web Server/CGI)  >   DB4Web Vendors:   Siemens
Siemens DB4Web Application Server Discloses Files on the System to Remote Users
SecurityTracker Alert ID:  1005241
SecurityTracker URL:  http://securitytracker.com/id/1005241
CVE Reference:   GENERIC-MAP-NOMATCH   (Links to External Site)
Date:  Sep 18 2002
Impact:   Disclosure of system information, Disclosure of user information
Fix Available:  Yes  Vendor Confirmed:  Yes  Exploit Included:  Yes  
Version(s): 3.4, 3.6; possibly other versions
Description:   An input validation and information disclosure vulnerability was reported in Siemens DB4Web application server. A remote user can view files on the server that are located outside of the intended directory.

Guardeonic Solutions reported that a remote user can request a specially crafted URL to view arbitrary files on the system that are readable by the web server process.

The flaw reported resides in the db4web_c binary (on Unix/Linux systems) and db4web_c.exe binary (on Microsoft Windows systems).

Some demonstration exploit URLs are provided:

http://[target]/scripts/db4web_c.exe/dbdirname/c%3A%5Cboot.ini

http://[target]/cgi-bin/db4web_c/dbdirname//etc/hosts

Impact:   A remote user can view files located anywhere on the system that are readable by the web daemon.
Solution:   The vendor has released a fix. The patches are available at:

http://www.db4web.de/DB4Web/home/DB4Web/hotfix_e.html

Vendor URL:  www.db4web.de/DB4Web/home/DB4Web/hotfix_e.html (Links to External Site)
Cause:   Input validation error
Underlying OS:   Linux (Any), UNIX (HP/UX), UNIX (Solaris - SunOS), Windows (NT), Windows (2000)

Message History:   None.


 Source Message Contents

Date:  Tue, 17 Sep 2002 14:44:11 +0200
Subject:  Advisory: File disclosure in DB4Web


------_=_NextPart_000_01C25E47.EC18C350
Content-Type: text/plain

Hi all,
There is file disclosure bug in the application DB4Web. Attached you will
find the advisory with technical details and vendors response.
regards,
 Stefan



------_=_NextPart_000_01C25E47.EC18C350
Content-Type: text/plain;
	name="guardadv-01-2002-db4web-file-disclosure.release.txt"
Content-Disposition: attachment;
	filename="guardadv-01-2002-db4web-file-disclosure.release.txt"

Guardeonic Solutions AG (www.guardeonic.com)

Security Advisory #01-2002

Advisory Name:        DB4Web (R) File Disclosure
Release Date:         09/17/02
Affected Product:     DB4Web (R) Application Server
Platform:             Linux, *nix, MS Windows
Version:              Unknown

Severity:             A DB4Web component allows files on the server to be
                      downloaded

Author:               Stefan Bagdohn <stefan.bagdohn@guardeonic.com>
                                     <buggy@segmentationfault.de> 

Vendor Communication: 08/29/02 Initial Notification via email to 
                               support@db4web.de, 
                               cc: Juergen.Kettlitz@siemens.com
                      08/30/02 Got vendor receipt via phone
                      09/02/02 Phone call by vendor regarding details
                      09/09/02 Second email to vendor asking for patch
                               status information
                      09/16/02 Phone call and email from vendor,
                               Update/Patch available

Overview:

(From vendors website): "DB4Web, Your Application Server for high performance
and secure Web-Applications with access to various data sources"
...
"DB4Web (R) is a high-performance application server that makes available a
multitude of data sources on the Web. This means that you can simultaneously
read from and write to relational databases and a multitude of other
information sources and applications through Intranet or the Internet."
(end of vendor citation)

The DB4Web (R) application can be misused to view (resp. download) files
located on the server by sending special http requests.

Decription:

A DB4Web (R) server accessed with a webbrowser usually requests local or remote
databases to generate dynamic html pages. By requesting malicious URLs one can
manipulate the server application to disclose files located on the server
system. The browser will download them and (according to the mime-type) show
them directly within the browser window.
The db4web_c binary (on Unix/Linux systems) or db4web_c.exe binary (on 
MS Windows) is located within the cgi-bin (scripts) directory of the
webserver on the DB4Web (R) system. This binary executes the database query
and is accessibly by the clients webbrowser.

Example:

On MS Windows systems the URL to retrieve the boot.ini file would
look like:
http://db4web.server.system/scripts/db4web_c.exe/dbdirname/c%3A%5Cboot.ini

On Linux/Unix servers the following URL will show /etc/hosts:
http://db4web.server.system/cgi-bin/db4web_c/dbdirname//etc/hosts

In the above examples db4web.server.system means the Name or IP address of
the server, dbdirname ist the name of the local database directory and 
%3A%5C is the representation of :\ needed to access c:\boot.ini.

One can also download files, cmd.exe for example, by requesting
c%3A%5Cwinnt%5Csystem32%5Ccmd.exe.

Solution:

The DB4Web team provided an update of their software and notified their
customers about the problem. The patches can be found at:
http://www.db4web.de/DB4Web/home/DB4Web/hotfix_e.html

Credit:

Thanks to the DB4Web team for good cooperation and fast response!

(more to come...)
EOF


------_=_NextPart_000_01C25E47.EC18C350--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

Copyright 2013, SecurityGlobal.net LLC