Comex has already released his universal jailbreak for each and every iDevice (iOS 4.0, 4.0.1).To apply the jailbreak solution, you need to visit to jailbreakme.us with mobile Safari, then slide with finger-tip is enough to make your unit free from Apple’s restrictions.
Since JailbreakMe has been released, and that the exploit is public, hackers can make use of this exploit by making you download a PDF file in Safari, in the process installing some malicious code to ultimately take control of your iOS device.
Solution : PDF Loading Warner
cdevwill member of chronic dev-team released a little utility called PDF Loading Warner. After installing this little package if you visit to the “malicious site” you will get a pop-up to warn you about danger, you must logically deny the execution of the code. If you are downloading a file from a trusted source, click “Load”, otherwise “Cancel”.
Installation Procedure
1. Make sure you are jailbroken and on WiFi or 3G.
2. Launch Cydia and search for “PDF Loading Warner”.
3. Install PDF Loading Warner and restart the springboard after the installation.
4. Now you’ll be warned every time any site trying to inject malicious code in form of pdf file.
Thanks to ihackintosh , redmondpie