[NEWS] Multiple SQL Injection Vulnerabilities in DBMS_METADATA Package

SecuriTeam <[email protected]>
Newsgroups gmane.comp.security.securiteam
Message-ID <[email protected]>
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:[email protected]> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.