SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Database)  >   Oracle Reports Server Vendors:   Oracle
Oracle Reports Server 'desformat' Parameter Lets Remote Authenticated Users Overwrite Files
SecurityTracker Alert ID:  1014527
SecurityTracker URL:  http://securitytracker.com/id/1014527
CVE Reference:   CVE-2005-2378   (Links to External Site)
Updated:  Jul 6 2008
Original Entry Date:  Jul 19 2005
Impact:   Disclosure of system information, Disclosure of user information
Exploit Included:  Yes  

Description:   A vulnerability was reported in Oracle Reports Server. A remote authenticated user can read portions of arbitrary files on the target system.

A remote authenticated user can supply a URL with a specially crafted 'desformat' parameter to view portions of the target file as part of the error message returned by the system. The parameter accepts absolute and relative path names.

A demonstration exploit URL is provided:

http://[target]:7778/reports/rwservlet?server=myserver+report=test.rdf+u
serid=scott/tiger@iasdb+destype=file+MODE=CHARACTER+desformat=/etc/passwd

The vendor was notified on August 27, 2003.

Impact:   A remote authenticated user can read portions of arbitrary files on the target system.
Solution:   No solution was available at the time of this entry.

An unofficial workaround is available at:

http://www.red-database-security.com/advisory/oracle_reports_read_any_file.html

Vendor URL:  www.oracle.com/ (Links to External Site)
Cause:   Access control error
Underlying OS:  Linux (Any), UNIX (AIX), UNIX (HP/UX), UNIX (Solaris - SunOS), UNIX (Tru64), Windows (NT), Windows (2000)

Message History:   None.


 Source Message Contents

Subject:  [Full-disclosure] Oracle Advisory: Read parts of any file via


Hello

3 months ago (15-april-2005) I informed the Oracle Security Team
(secalert_us@oracle.com) that I will publish bug details if the bugs are
not fixed with the next critical patch update (CPU July 2005). I know
that Oracle products are complex and a good patch quality need some
time. That's why I offered Oracle additional time if 3 months are not
sufficient for fixing the bugs. Oracle never asked for more time.

Oracle's behaviour not fixing critical security bugs for a long time
(over 650 days) is not acceptable for their customers. Oracle put their
customers in danger. At least one critical vulnerability can be abused
from any attacker via internet.

I decided to publish these vulnerabilities because it is possible to
mitigate the risk of these vulnerabilities by using the workarounds
provided in the advisories.


Kind Regards

 Alexander Kornbrust

 www.red-database-security.com

##################################################
Red-Database-Security GmbH  - Oracle Security Advisory

Read parts of any file via desformat in Oracle Reports


 Name                Read parts of any file via desformat in Oracle
Reports
 Systems Affected    All version of Oracle Reports
 Severity            Medium Risk 
 Category            Information disclosure
 Vendor URL          http://www.oracle.com 
 Author              Alexander Kornbrust (ak at
red-database-security.com) 
 Date                19 July 2005 (V 1.00) 
 Advisory            AKSEC2003-007
 Inital bug report   692 days ago
 Advisory-URL       
http://www.red-database-security.com/advisory/oracle_reports_read_any_fi
le.html


Details
#######
Oracle Reports is Oracle's award-winning, high-fidelity enterprise
reporting
tool. It enables businesses to give immediate access to information to
all
levels within and outside of the organization in an unrivaled scalable
and
secure environment. Oracle Reports, a component of the Oracle
Application
Server, is used by Oracle itself for the E-Business Suite. Many large
customers are using Oracle Reports as reporting tool for their
enterprise applications.

The Oracle Reports parameter desformat can read any file by using an
absolute or relative file name.
Parts of the file content are displayed in the Reports error message
(see test case)

The DESFORMAT parameter specifies the format for the job output. In
bit-mapped environments, use DESFORMAT to specify the printer driver to
be used when DESTYPE is FILE. In character-mode environments, use it to
specify the
characteristics of the printer named in DESNAME.



Testcase
########

http://myserver:7778/reports/rwservlet?server=myserver+report=test.rdf+u
serid=scott/tiger@iasdb+destype=file+MODE=CHARACTER+desformat=/etc/passw
d


***Reports Output****

REP-3002: Error in column 5 of line 1 of printer definition file
/etc/passwd:
Unknown keyword "root".
REP-3002: Error initializing printer. Please make sure a printer is
installed.

***Reports Output****

 


Workaround
##########
Available at
http://www.red-database-security.com/advisory/oracle_reports_read_any_fi
le.html
 

Affected systems
################
All versions of Oracle Reports are affected.



Patch Information
#################
This bug is NOT FIXED with Critical Patch Update July 2005 (CPU July
2005).
It seems that Oracle is NOT INTERESTED to fix this issue and provide
patches for this issue. If you think you need a patch to protect your
Oracle Application Server you should contact Oracle.


History
#######
27-aug-2003 Oracle secalert was informed

27-aug-2003 Bug confirmed

15-apr-2005 Red-Database-Security informed Oracle secalert that this
vulnerability will publish after CPU July 2005 Red-Database-Security
offered 
Oracle more time if it is not possible to provide a fix ==> NO FEEDBACK.

12-jul-2005 Oracle published CPU July 2005 without fixing this issue

19-jul-2005 Red-Database-Security published this advisory




(c) 2005 by Red-Database-Security GmbH - last update 19-july-2005

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2022, SecurityGlobal.net LLC