[NEWS] Multiple SQL Injection Vulnerabilities in DBMS_METADATA Package

From: SecuriTeam (support_at_securiteam.com)
Date: 04/21/05

  • Next message: SecuriTeam: "[NEWS] SQL Injection in ALTER_MANUALLOG_CHANGE_SOURCE Procedure"
    To: list@securiteam.com
    Date: 21 Apr 2005 16:21:33 +0200
    
    

    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: list-unsubscribe@securiteam.com
    In order to subscribe to the mailing list, simply forward this email to: list-subscribe@securiteam.com

    ====================
    ====================

    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.


  • Next message: SecuriTeam: "[NEWS] SQL Injection in ALTER_MANUALLOG_CHANGE_SOURCE Procedure"

    Relevant Pages

    • [NEWS] SQL Injection in ALTER_MANUALLOG_CHANGE_SOURCE Procedure
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... This package executes with privileges of the SYS user; ... Any low privileged database user can execute functions with DBA ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)
    • [NEWS] SQL Injection in CREATE_SCN_CHANGE_SET Procedure
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... This procedure executes with privileges of the SYS user; ... Any low privileged database user can execute functions with DBA ... In no event shall we be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages. ...
      (Securiteam)
    • [NEWS] Multiple SQL Injection Vulnerabilities in DBMS_CDC_SUBSCRIBE and DBMS_CDC_ISUBSCRIBE Packages
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... DBMS_CDC_ISUBSCRIBE Packages ... These packages execute with privileges of the ... by default, PUBLIC has EXECUTE privilege. ...
      (Securiteam)
    • Re: sys.DBMS_DDL.CREATE_WRAPPED what other priviledges are needed?
      ... Is there some other package that I should grant execute permissions to? ... that's for definer rights procedures. ... Privileges from roles are not ignored ...
      (comp.databases.oracle.misc)
    • Re: sys.DBMS_DDL.CREATE_WRAPPED what other priviledges are needed?
      ... Is there some other package that I should grant execute permissions to? ... that's for definer rights procedures. ... Privileges from roles are not ignored ...
      (comp.databases.oracle.misc)