iPhone and forced iPhone websites
Posted in Web, iPhone, Apple on June 17, 2009 at 7:52 am
With the advent of OS 3.0 being released imminently, I thought it’s time I highlighted a particular bugbear of mine on the iPhone - well not on the phone itself, but on websites designed for it.
As I spend a fair amount of personal time on the train, I spend it surfing the internet -often following useful links from this site, digg and slashdot. However around once/twice a week I find that the link doesn’t take me to the linked article where I want to go - but to an iPhone specfic website “thats more optimised for a mobile handset”.
A lot of these sites don’t even have a mode to offer to “take me back to the regular browsing experience” - although some thankfully do. Annoyingly those that do have the option don’t you generally to the original article - but it does at least present a way for the normal website to be viewed.
The only way around this appears to be to install an alternate browser sending another user-agent to the website in question - but should we really have to resort to the appstore to fix this?
So I am asking all website designers nicely. Yes you can create an iphone version of the site… but please don’t force it upon us… Some of have iphones for the “real web experience” but on the move, not a “for handset” experience.
Please comment with your thoughts and a list of sites that appear to force this on you if you feel like naming/shaming these annoying sites…
My personal bugbear being a science fiction fan is scifi.com - which on my last visit forced a version of the site that you couldn’t get out of on the handset.
Online future for magazines/books?
Posted in Web, Media, Hardware, Internet on November 21, 2008 at 11:10 am
Looks like another PC magazine is potentially set to close doors to printed text and become online-only.
Automated security testing & its limitations
Posted in security-testing, Web, Security on November 14, 2008 at 11:22 am
Background:
Web Application Security
Posted in Web, Security on July 3, 2008 at 10:31 am
Part of my current role (in fact the main piece now) is Web Application Security Testing. Which means I get paid to hack around with corporate and non corporate web apps (ie, Apps we buy vs app’s we build).
Web application bugs although currently looked by some to not be serious are gathering in momentum and becoming more common - only recently a lot of websites were compromised by Chinese hackers using SQL injection. XSS in particular can also be used to great effect in just one example of many to send a session cookie off site to hacker base - and thus giving them access to the logged in users data.
Over the past year I’ve tested around 40 apps in total, some complex, some simple. Major security defects have been found in all apart from one application during this time.
The fact is, regardless of the language an Web application is written in, it typically is vulnerable to one of the below 3 in my findings.
- SQL Injection
- Cross Site Scripting (XSS)
- Privilege Escalation
The above is not a full list, but its the basics and believe it or not even in 2008 SQL Injection is still the most common flaw we find! For a better view of what you should be doing to stop this, OWASP is a good website to start with.
Of these bugs SQL Injection and Cross site scripting are usually the easier to spot, and also to get developers to fix - and it is surprisingly easy to fix these first two by not trusting user input, and filtering it before it hits database in case of SQL injection, or is formatted back to users ( in case of XSS both preferably). There are good tools to test both in a semi-automated way in the form of a firefox extension here - we use this in combination with commercial tools to test for this in combination with manual testing (for SQL injection typically) with database traces running. Manual testing is far easier if you can see the queries being executed on the database (though you can’t do this in a black-box test where you have no access to remote database obviously.).
Privilege escalation however can be more tricky to both test and find in my experience at least. Its almost always a manual test - as the commerical and free tools do not do as good as job at finding this as they do the XSS/SQL bugs. In my testing I have found that some developers however still seem to think that simply hiding menu’s from a lesser priviledged user is a way to secure their application (though thankfully this is a minority!)..
One application I tested recently did at least get this right, but used a very predictable bash64 encoding to hash message ID’s within the messaging in the app (where critical data was being passed over this) They wrongly assumed the algorithm they devised was strong enough to protect themselves….. as it didn’t look predictable to the developers (who had no experience of that kind of work). The problem was they had negected to do a check when the page was loaded as to whether user had rights to read that message. That simple fix was enough to secure the app…
Where I work at least, we finally are integrating Web security at project design and initial build stages - so finally security is being taken seriously at day one (This is reducing the critical bugs found at testing) - Is this happening elsewhere?
Overall though is it not time for Web developers to take security more seriously? My hit rate on serious defects is showing that in some cases its the last thing on their mind when developing - and those that do make a effort, they sometime miss the mark leading to a nasty bug.
For information, the tools I use daily are : IBM Appscan, Paros, BURP, XSS/SQL-Inject, althugh these are not the only ones - I have a list that fills my screen - of various proxy’s, header modifiers, request modifiers etc, encryption tools etc.
Archives
- July 2009
- June 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- April 2007
- March 2007
- February 2007
- January 2007
- October 2006
- September 2006
- August 2006
Most commented posts
Highest Rated Blog Posts
- Debian & APT - Why I love it (100%)
- PicardTagger - most useful mp3 tool ever? (100%)
- Nokia Comes with Music - doomed to fail? (100%)
- The death of the British High Street (100%)
- Fighting Spam with Spamassassin (100%)
- iPhone 2.1 Upgrade - Genius! (100%)
- ADSL and why I am happy a neighbor is moving. (80%)
- Homebuilt NAS - one week on (80%)
- Second Life - a big waste of time? (75%)
- Day 4 of me.com/iPhone, my mini-review (73.4%)



