David Litchfield's Weblog

Home
Archives
NGSSoftware
DatabaseSecurity.com


Greymatter Forums

November 2007
SMTWTFS
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30  

Valid XHTML 1.0!

Powered By Greymatter

RSS 1.0 FEED
RSS 2.0 FEED
Atom 0.3 FEED
Powered by gm-rss 2.0.1
Home » Archives » November 2007 » 11g UTL_HTTP update

[Previous entry: "Another set of 11g Security Improvements"] [Next entry: "A new SQL Injection Breach"]

11/03/2007: "11g UTL_HTTP update"


So I've installed 11g on my laptop to revisit this. If you have the connect privilege for a host you don't need the resolve privilege. Further, if you've been given the connect privilege to any host you still don't need the resolve:

SQL> EXEC DBMS_NETWORK_ACL_ADMIN.CREATE_ACL(acl=>'www.xml', description=>'WWW ACL', principal=>'SCOTT', is_grant=>true, privilege=>'connect');

PL/SQL procedure successfully completed.

SQL> EXEC DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL(acl=>'www.xml', host=>'*');

PL/SQL procedure successfully completed.

SQL> connect scott/tiger
Connected.
SQL> select utl_http.request('www.databasesecurity.com') from dual;

UTL_HTTP.REQUEST('WWW.DATABASESECURITY.COM')
------------------------------------------------------------------------------
"http://www.w3.org/TR/html4/loose.dtd">


Database Security
...
...