Tuesday, February 15, 2011

Vulnerability

Critical Patch Update Availability for WebLogic Server Plug-ins
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=REFERENCE&id=1263333.1

The Web Server plug-ins built at change number CL1338089

Supported config:
The WebLogic webserver plugins are common to all versions of WebLogic servers.

Upgrade instructions:
Save a back-up copy of your existing plug-in module.
replace the plug-in module with the one found in this zip-file
restart your web server.

SSL Server Allows Anonymous Authentication Vulnerability

if ssl has been set
apply below flags in startup script.
-Dweblogic.security.SSL.protocolVersion=SSL3
-Dweblogic.security.disableNullCipher=true
-Dweblogic.security.SSL.allowUnencryptedNullCipher=false

ex:
set JAVA_OPTIONS=%SAVE_JAVA_OPTIONS% -Dweblogic.security.SSL.protocolVersion=SSL3 -Dweblogic.security.disableNullCipher=true
or
ex:
SAVE_JAVA_OPTIONS="${JAVA_OPTIONS} -Dweblogic.security.SSL.protocolVersion=SSL3 -Dweblogic.security.disableNullCipher=true"

SSL Server Has SSLv2 Enabled Vulnerability

please shut down your servers and take a backup of config.xml
edit config.xml and add the below lines

in between <name>AdminServer</name> and <listen-address></listen-address> add

<ssl>
<enabled>true</enabled>
<ciphersuite>TLS_RSA_WITH_RC4_128_SHA</ciphersuite>
<ciphersuite>TLS_RSA_WITH_RC4_128_MD5</ciphersuite>
<ciphersuite>TLS_RSA_WITH_DES_CBC_SHA</ciphersuite>
</ssl>

and restart your server.
then check sslv2 using the command utility 
s_client -connect ip:port -ssl2

Doc ID 1312916.1

To enable High ciphers (note id 1067411.1) in nodemanager add the flag -Dweblogic.security.SSL.Ciphersuites=TLS_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_RC4_128_MD5
in your startnodemanger.sh file
or
add it in the nodemanager.properties file.
CipherSuite=TLS_RSA_WITH_RC4_128_SHA,TLS_RSA_WITH_RC4_128_MD5
if nodemanager is being started by wlst and not by startnodemanager.sh

To enable SSLV3 in nodemanager if startnodemanger.sh is not being used
SSLArguments= -Dweblogic.security.SSL.protocolVersion=SSL3 in startup.properties under user_projects\domains\<base_domain>\servers\<new_managedServer>\data\nodemanager

To deactivate SSLV2
 It's not possible to deactivate just SSL2 on Weblogic Server 10.3.x, to leave both SSL3 and TLS1 working at the same time.

The only options are:

- Use exclusively SSL3
- Use exclusively TLS1
- Use the default value which is all.

So for disabling SSLv2, you can additionally add the flag
-Dweblogic.security.SSL.protocolVersion=SSL3         - Only SSL V3.0 messages are sent and accepted.
-Dweblogic.security.SSL.protocolVersion=TLS1         - Only TLS V1.0 messages are sent and accepted.
-Dweblogic.security.SSL.protocolVersion=ALL          - This is the default behavior.

List of supported suites.
http://docs.oracle.com/cd/E17904_01/web.1111/e13707/ssl.htm#BABBDACC

Sunday, February 13, 2011

Disable sun one webserver from displaying server information within response header

Start Web Server 7 Administration Server
Run the below command line
wadm set-http-prop --user=admin --config= server-header=""
wadm deploy-config --user=admin

which does nothing but adding the ServerString none value in magnus.conf file,
you may also change it to ServerString apache where apache is your custom or misleading info.
below is an example.

magnus.conf file
#
# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#

ServerString none

Init fn="load-modules" shlib="lib*****lugin.so"
Init fn="load-modules" funcs="wl_proxy,wl_init" shlib="/opt/s***em/web***gin/lib/lib***xy.so"
Init fn="wl_init"

Wednesday, February 2, 2011

CR295275

CR295275 is associated with Bug 8094100
Description : INVESTIGATE/REMOVE CHECK THAT PREVENTS INTEROP BETWEEN >2 MAJOR VERSIONS
It has been Fixed in Product Version 10.0

You would be only needing the fix if you need interoperability between
WLS 7.0 and WLS 10.0
However the patch is only available for WLS 7.0 SP4, SP6 & SP7
Oracle support for WLS7.x is being terminated from 31st march 2011.

Monday, January 17, 2011

weblogic.management.DeploymentException: Error: Unresolved Webapp Library references for ServletContext

Problem in starting the EMConsole on Weblogic Server 10.3.3
Error in starting the Deployment comonent EM in WLS 10.3.3 Console
-----------------------------------------------------------------------------------------------
@437235777[app:em module:/em path:/em spec-version:2.5]", defined in weblogic.xml
[Extension-Name: jstl, Specification-Version: 1.2, Implementation-Version: 1.2.0.1, exact-match: false],
[Extension-Name: jstl, Specification-Version: 1.2, exact-match: false]
Errors were encountered while performing this operation.
----------------------------------------------------------------------------------------------

************************************************************************************
the applications EAR had an empty lib folder, when i looked in the console to check if any jstl modules were deployed as library, i found that it was not activated.
i had the module activated and redeployed the application and it worked.
************************************************************************************
ref:
http://download.oracle.com/docs/cd/E12840_01/wls/docs103/webapp/configurejsfandjtsl.html#wp162992

Wednesday, December 15, 2010

Scuba diving @ murdeshwar

we boarded a sea bird travels -isuzu bus from bangalore, However i recommend booking a KSRTC - volvo, since Seabird has a reputation of bad service, rash drivers and uncomfortable seats also an 8 hours journey usually takes 10 hours as they made last minute changes and we took a detour to the surrounding places.
murdeshwar happens to be the last stop and we decided to stay at Naveen beach resort,
I highly recommend this place as the rates are fairly good, 2+1 AC room is 2300 a day
also its right in front of the beach and the in-house restaurant is simply amazing.
murdeshwar beach is very pristine and totally unexploited. You also have speed boats, water scooter and other rides available, You can always talk to one of the fishing boats usually anchored on the other side of temple and take deep sea tour would cost you close to 2500 (make sure you carry a copy of your pan card).
The sea food is not only available in abundance but also cheaper than Bangalore.

We had opted for a discover scuba diving course with dreamz diving (5000 INR per person including pics)
trust me its worth every penny. The first morning we had a swimming pool session which included familiarization with the equipment and the next day would be the actual dive near a coral island called netrani.
It was one of the best times of my life as i found my self 15mtrs under the water among corals and pigeon fishes. its simply awesome and even better if you are a swimmer. (check my flickr page for pics). The 2 hour Journey to netrani is simply awesome, you can see loads of Grey dolphins hopping out every were around you and December brings whales.

Total cost : 7500 per person ( group of 3) bangalore - murdeswar - bangalore
(all costs included)

Tuesday, January 27, 2009

Sunday, June 8, 2008

I can't forget that day

It was a fine afternoon, Life was good. I was in my 6th grade.
after lunch classes were spent, day dreaming about girls.
Then suddenly from no where the office assistant drops in to the class and shouts at the top of her voice. ROBBBBBIN The Pricipal wants to see you right away.

Man i froze. Stood up slowly, and walked right out with her and all this while the entire class has its eyes fixed on me.

On my way to the principals office all kinds of thoughts gripped me. Did he come to know about window i broke the other day, or the fight i had in the football field and broke rudy's teeth.

I walked right in and there stood before me a 500 pound grizzly. He turned to me and said, there was a call from your home, You are needed there, you may leave for the day. I was confused and it took a moment for everything to sink in.

Well there i was on my cycle, peddling as hard as i could up the mountain. I was sweating and confused. All kinds of thoughts were circling my mind. What might have gone wrong, Oh no, May be Dad...... or Mom............
Oh no Oh no.... I was close to crying.....
Finally i reached home and from a distance i saw a small crowd near the porch.
I slowly made my way throught he crowd and saw the door closed and one man was peeping in, through our window......
Suddenly dads voice startled me, I turned around , He said softly
Son, the keys are with you.