DBMS_SQL new security features and ROWID hacking
David's second interesting post is titled 0wned by the lowly Oracle rowid pseudo function? and discusses the use of the ROWID function to predict information that is there but is perhaps not visible because of the use of VPD. This could undermine VPD in some circumstances but would require predictable other data to enable someone with SQL access to use the ROWID function to predict missing records. What is intersting about this post is that it uses the same method I suggested around 4 years ago but from another angle. I used it in Oracle forensics to show how a deleted record from SYS.AUD$ could be identified and also how altered records showed up in the same table when comparing the ROWID and also the timestamps.
There has been 2 Comments posted on this article
November 5th, 2007 at 12:44 pm
Pete Finnigan says:
Hi Gary,
Thanks for your comment and point. This is a very good observation as Rowids that are visble can as you point out be linked back to physical information about the database structure, version and more.
Thanks Gary,
cheers
Pete
November 4th, 2007 at 10:28 am
Pete Finnigan says:
I read David's post, and had a thought about ROWID. Since he doesn't have comments, I will add it here instead.
I think the file id component of the rowid could be quite revealing in some circumstances. It may, for example, suggest if a table is time-partitioned where old records may be in a read-only tablespace.
Where ROWID analysis indicated partitioning, you'd know you were dealing with Enterprise Edition which may be useful information