Secunia SmallBusiness
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA16092

Oracle Reports / Forms Multiple Vulnerabilities
Secunia Advisory SA16092
Secunia VIM 4.0 - Free Trial
Release Date 2005-07-20
Last Update 2006-01-20
   
Popularity 30,452 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Cross Site Scripting
Manipulation of data
Exposure of sensitive information
Privilege escalation
System access
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Partial Fix
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
   
Software:
Oracle Application Server 10g
Oracle Developer Suite 10g
Oracle9i Application Server
Oracle9i Developer Suite

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2005-2371 CVSS score available to Secunia VIM customers
CVE-2005-2372 CVSS score available to Secunia VIM customers
CVE-2005-2378 CVSS score available to Secunia VIM customers
CVE-2005-2379 CVSS score available to Secunia VIM customers
  

Description

Alexander Kornbrust has reported some vulnerabilities in Oracle Reports and Forms, which can be exploited to gain escalated privileges, gain knowledge of certain information, overwrite arbitrary files, conduct cross-site scripting attacks, or potentially compromise a vulnerable system.

1) Input passed to various parameters is not properly sanitised before being returned to users. This can be exploited to execute arbitrary HTML and script code in a user's browser session in context of a vulnerable site.

Examples:
http://[host]:7778/reports/rwservlet/showenv?server=reptest&debug=[code]
http://[host]:7778/reports/rwservlet/parsequery?server=myserver&test=[code]
http://[host]:7778/reports/rwservlet?server=myserver+report=test.rdf+userid=
user/pass@iasdb+destype=localFile+desformat=delimited+desname=
FILE:+CELLWRAPPER=*+delimiter=[code]
http://[host]:7778/reports/rwservlet?server=myserver+report=test.rdf+userid=
user/pass@iasdb+destype=localFile+desformat=delimited+desname=
FILE:+CELLWRAPPER=[code]

The vulnerability has been reported in Oracle Reports 9.0.2 with patchset 2. Other versions may also be affected.

2) It's possible to read a small part of the beginning of any XML file on a vulnerable system by passing the path to the file in the "customize" parameter.

Example:
http://[host]:7778/reports/rwservlet?server=myserver+report=test.rdf+userid=
userid=user/pass@iasdb+destype=cache+desformat=xml+CUSTOMIZE=[path_to_file]

3) It's possible to read a small part of the beginning of any file on a vulnerable system by passing the path to the file in the "desformat" parameter.

Example:
http://[host]:7778/reports/rwservlet?server=myserver+report=test.rdf+userid=
userid=user/pass@iasdb+destype=file+MODE=CHARACTER+desformat=[path_to_file]

4) It is possible to overwrite arbitrary files by passing a specially crafted string to the "desname" parameter. On Windows, it is reportedly possible to overwrite any file. On Linux, it possible to overwrite any file belonging to the Oracle Application Server user.

The vulnerability has been reported in Oracle Reports 6.0, 6i, 9i, and 10g.

5) It is possible to execute arbitrary reports files (*.rep and *.rdf) by specifying the path to the file in the "report" parameter. This can be exploited to execute arbitrary commands with user "Oracle" or SYSTEM privileges by local users or people, who can place a malicious reports file in a directory on the server.

Example:
http://[host]:7779/reports/rwservlet?server=repserv+report=[path_to_file]
+destype=cache+desformat=PDF

The vulnerability has been reported in Oracle Reports 6.0, 6i, 9i, and 10g.

6) It is possible to execute arbitrary forms files (*.fmx) by specifying the path to the file in the "form" or "module" parameter. This can be exploited to execute arbitrary commands with user "Oracle" or SYSTEM privileges by local users or people, who can place a malicious reports file in a directory on the server.

Examples:
http://[host]:7779/forms90/f90servlet?form=[path_to_file]
http://[host]:7779/forms90/f90servlet?module=[path_to_file]

The vulnerability has been reported in Oracle Forms 4.5, 5.0, 6.0, 6i, 9i, and 10g.


Solution
Vulnerabilities #2, #3 and #4 have been fixed in Oracle Critical Patch Update (January 2006).
Further details available to Secunia VIM customers

Provided and/or discovered by
Alexander Kornbrust, Red-Database-Security.

Changelog
Further details available to Secunia VIM customers

Original Advisory
Oracle:
http://www.oracle.com/technology/deploy/security/pdf/cpujan2006.html

Red-Database-Security:
http://www.red-database-security.com/advisory/oracle_reports_various_css.html
http://www.red-database-security.com/advisory/oracle_reports_read_any_xml_file.html
http://www.red-database-security.com/advisory/oracle_reports_read_any_file.html
http://www.red-database-security.com/advisory/oracle_reports_overwrite_any_file.html
http://www.red-database-security.com/advisory/oracle_reports_run_any_os_command.html
http://www.red-database-security.com/advisory/oracle_forms_run_any_os_command.html

Other references
Further details available to Secunia VIM customers

Deep Links
Links available to Secunia VIM customers


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: Oracle Reports / Forms Multiple Vulnerabilities
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2013 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability