From: SecuriTeam <support@securiteam.com.>
To: [email protected]
Date: 21 Apr 2005 16:21:33 +0200
Subject: [NEWS] Multiple SQL Injection Vulnerabilities in DBMS_METADATA Package
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20050421141030.0F30957CD@mail.tyumen.ru.>
X-Virus-Scanned: antivirus-gw at tyumen.ru
The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com
- - promotion
The SecuriTeam alerts list - Free, Accurate, Independent.
Get your security news from a reliable source.
http://www.securiteam.com/mailinglist.html
- - - - - - - - -
Multiple SQL Injection Vulnerabilities in DBMS_METADATA Package
------------------------------------------------------------------------
SUMMARY
The OBJECT_TYPE parameter -- used in various procedures of
theDBMS_METADATA package -- is vulnerable to SQL injection. Although this
package executes with the privileges of the calling user, it internally
uses another package that executes the injected SQL with the privileges of
the SYS user thereby allowing an attacker to gain DBA privileges. By
default PUBLIC has EXECUTE privilege on DBMS_METADATA.
DETAILS
Vulnerable Systems:
* Oracle Database Server versions 9i
* Oracle Database Server versions 10g
Impact:
Any low privileged database user can execute functions with DBA
privileges. Users with privilges to create or modify a function can
inject a user-defined function in the vulnerable procedure and thus
execute SQL statements with DBA privileges.
Workaround:
Revoke Execute privilege on the vulnerable package.
Vendor Status:
Vendor was contacted and a patch was released.
Fix:
Apply Oracle Critical Patch Update April 2005 available at:
<http://metalink.oracle.com> http://metalink.oracle.com,
<http://www.oracle.com/technology/deploy/security/pdf/cpuapr2005.pdf>
http://www.oracle.com/technology/deploy/security/pdf/cpuapr2005.pdf
ADDITIONAL INFORMATION
The information has been provided by <mailto:shatter@appsecinc.com.> Team
SHATTER.
The original article can be found at:
<http://www.appsecinc.com/resources/alerts/oracle/2005-03.html>
http://www.appsecinc.com/resources/alerts/oracle/2005-03.html
This bulletin is sent to members of the SecuriTeam mailing list.
To unsubscribe from the list, send mail with an empty subject line and body to: [email protected]
In order to subscribe to the mailing list, simply forward this email to: [email protected]
DISCLAIMER:
The information in this bulletin is provided "AS IS" without warranty of any kind.
In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages.