[AppSecInc Team SHATTER Security Advisory] Multiple SQL Injection vulnerabilities in DBMS_METADATA package
-----BEGIN PGP SIGNED MESSAGE-----
Multiple SQL Injection vulnerabilities in DBMS_METADATA package
AppSecInc Team SHATTER Security Advisory
April 18, 2005
Affected Versions: Oracle Database Server versions 9i and 10g
Risk Level: High
Credits: This vulnerability was discovered and researched by Esteban
Martínez Fayó of Argeniss for Application Security Inc.
The OBJECT_TYPE parameter -- used in various procedures of the
DBMS_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.
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.
Revoke Execute privilege on the vulnerable package.
Vendor was contacted and a patch was released.
Apply Oracle Critical Patch Update April 2005 available at
Application Security, Inc advisory:
Oracle security alert:
Advanced SQL Injection in Oracle databases presentation:
Application Security, Inc.
AppSecInc is the leading provider of database security solutions for the
enterprise. AppSecInc products proactively secure enterprise
applications at more than 300 organizations around the world by
discovering, assessing, and protecting the database against rapidly
changing security threats. By securing data at its source, we enable
organizations to more confidently extend their business with customers,
partners and suppliers. Our security experts, combined with our strong
support team, deliver up-to-date application safeguards that minimize
risk and eliminate its impact on business.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
-----END PGP SIGNATURE-----