Top10 Website Security Issues
Top10 Website Security Issues
Top10 Website Security Issues
Terms of use
This top 10 list is provided free of charge and without any warranty. Use
of this top 10 list is subject to the terms of use displayed on our website
at http://www.watsonhall.com/terms/
Each top 10 list may need to be amended for the particular website
project’s requirements, functionality and environment.
References
You may want to review all our top 10 website security lists at
http://www.watsonhall.com/methodology/top10s.pl. The latest links to
details of information security related legislation, codes of practice,
organisations, initiative and standards can be found on the Watson Hall
website at http://www.watsonhall.com/security/
All data used by the website (from users, other servers, other websites
and internal systems) must be validated for type (e.g. numeric, date,
string), length (e.g. 200 characters maximum, or a positive integer) and
syntax (e.g. product codes begin with 2 letters and are followed by 5
digits) and business rules (e.g. televisions can only cost between £100 and
£2000, an order can contain at most 20 items, daily credit limit must not
be exceeded). All data written as output (displayed) needs to be safe to
view in a browser, email client or other software and the integrity of any
data that is returned must be checked. Utilising Asynchronous JavaScript
and XML (AJAX) or Adobe Flex increase complexity and the possible attack
vectors.
T3-2009-1.1 1
Top 10 Website security issues
3 Data poisoning
If user’s can amend or delete data inappropriately and this is then used to
update your internal systems, business information is being lost. This can
be hard to detect and it is important that the business rules are examined
and enforced to validate data changes to ensure poisoning is not
occurring. If poisoning is not detected until well after it has occurred, it
may be impossible to recover the original data.
Uploaded files or other data feeds may not be what they seem. Never
allow user-supplied input to be used in any file name or path (e.g. URLs or
file system references). Uploaded files may also contain a malicious
payload so should not be stored in web accessible locations.
2
Top 10 Website security issues
7 Phishing
Phishing, where users are conned into believing some other entity is or
belongs to your own organisation (email messages and websites are the
most common combination), is best tackled through user education but
the way the website is designed, its architecture and how it
communicates with users can reduce the risk.
8 Denial of service
Whilst malicious users might try to swamp the web server with a vast
number of requests or actions that degrade its performance (filling up
logs, uploading large files, undertaking tasks that require a lot of memory
repeatedly) denial of service attacks include locking out valid user
accounts or be caused by coding problems (e.g. memory leaks, resources
not being released).
10 Error handling
3
Top 10 Website security issues