|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Subject: Potential Vulnerabilities in Oracle Internet Application Server
From: Rajiv Sinha (rajiv.sinha
ORACLE.COM)Date: Sat Dec 23 2000 - 20:24:35 CST
- Next message: Ian Bryant: "Re: Advisory:Multiple Vulnerabilities in ZoneAlarm"
- Previous message: debian-security-announce
LISTS.DEBIAN.ORG: "[SECURITY] [DSA-010-1] two gpg problems"
- Next in thread: Michal Zalewski: "Re: Potential Vulnerabilities in Oracle Internet Application Server"
- Reply: Michal Zalewski: "Re: Potential Vulnerabilities in Oracle Internet Application Server"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Potential Vulnerabilities in Oracle Internet Application Server
Versions Affected:
The first potential vulnerability is found in the WebDB/Portal component
of Oracle Internet Application Server (iAS) Listener and modplsql, up to
and including release 3.0.7 (associated modplsql version is 3.0.0.8.1).
The second potential vulnerability affects all versions of the PL/SQL
gateway including Oracle Application Server (OAS), the WebDB/Portal
listener, and iAS.
Platforms Affected:
All platforms.
Description:
The first possible vulnerability is essentially a configuration issue
associated with the Portal Listener and modplsql. When these are
installed, the default configuration allows all users access to the
Listener and modplsql administration pages.
A second potential vulnerability may occur if customers grant public
access to PL/SQL procedures, in particular those which access an Oracle
database such as OWA, SYS and DBMS. Since publicly accessible
procedures may be accessed through a URL, it may be possible to to
invoke these procedures through a URL and cause SQL statements to be
executed on a back-end Oracle database.
Likelihood of Occurrence:
The first vulnerability may occur if the default permission for admin
pages is not changed after WebDB/Portal install. The second
vulnerability depends on the design of applications which use the PL/SQL
gateway, but may occur whenever procedures are granted public access.
Possible Symptoms:
The first vulnerability may allow unauthorized access to administrative
pages. The second vulnerability may allow unauthorized access to data
within a back-end Oracle database.
Workaround:
The workaround for the first vulnerability is to specify that the
Listener and modplsql administrator must be one or more known users.
This may be done by simply editing the wdbsvr.app configuration file on
WebDB/Portal. All versions of the Listener and modplqsl use this file;
at the top of the file is a setting entitled 'administrators='.
Customers should set this property to specify one or more named users
who are allowed to have administrative privileges.
In addition, customers can change the path used to reference the admin
Customers who have granted public access to PL/SQL procedures on
The first is to revoke public access to procedures such as OWA, SYS and
For modplsql in iAS, a second solution is to disable access to URLs
# Disallow direct access to any PL/SQL procedure in the SYS schema, in
# Disallow direct access to any DBMS* PL/SQL procedure which is called
# Disallow direct access to any owa_util procedure:
Note that since Apache treats these rules as case sensitive, the first
Note also that the plsql.conf file can be configured to include rules
Patches:
Oracle is developing enhancements for iAS which will allow customers to
pages. By default this path is 'admin_', but can be changed in the
wdbsvr.app file to something else (e.g., changing it to 'foo' would
change the admin page URL to
http://
WebDB/Portal can mitigate the risk associated with second vulnerability
in two ways.
DBMS which can potentially execute user-specified SQL statements.
which match certain criteria. For example, in the case of SYS, OWA, and
DBMS this may be done by adding the following rules to the plsql.conf
file:
particular sys.dbms_job:
<Location /pls/*/sys.*>
SetHandler pls_handler
Order deny,allow
Deny from all
</Location>
thru public synonyms:
<Location /pls/*/dbms*>
SetHandler pls_handler
Order deny,allow
Deny from all
</Location>
<Location /pls/*/owa_util.*>
SetHandler pls_handler
Order deny,allow
Deny from all
</Location>
rule prevents access to any URL including sys.*, but would allow access
to URLs with SYS.* or Sys.*. It may be therefore be necessary to
include additional rules with different case combinations in the names
of the procedures (e.g., repeat rule 1 in the config. file, substituting
SYS.*, Sys.*, etc. for sys.*).
which prevent access to URLs containing specific SQL statements such as
select, insert, grant, etc., keeping in mind that rules are case
sensitive.
Release 3.0.8 of Portal will restrict default access to the Listener and
modplsql admin pages on installation.
define case insensitive rules to disable access to certain procedures
via URL.
LISTS.DEBIAN.ORG: "[SECURITY] [DSA-010-1] two gpg problems"