<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.owasp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eyal+Lupu</id>
		<title>OWASP - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.owasp.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Eyal+Lupu"/>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php/Special:Contributions/Eyal_Lupu"/>
		<updated>2026-04-03T23:17:51Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.27.2</generator>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=Category:OWASP_Top_Ten_Project&amp;diff=136146</id>
		<title>Category:OWASP Top Ten Project</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=Category:OWASP_Top_Ten_Project&amp;diff=136146"/>
				<updated>2012-09-19T16:06:20Z</updated>
		
		<summary type="html">&lt;p&gt;Eyal Lupu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{OWASP Book|1400974}} &lt;br /&gt;
&lt;br /&gt;
{{Social Media Links}}&lt;br /&gt;
&lt;br /&gt;
= Main =&lt;br /&gt;
&lt;br /&gt;
'''Welcome to the OWASP Top Ten Project'''   - if your looking for the OWASP Top 10 Mobile - [http://www.owasp.org/index.php/OWASP_Mobile_Security_Project#tab=Top_Ten_Mobile_Risks Click Here]&lt;br /&gt;
&lt;br /&gt;
== OWASP Top 10 for 2010 ==&lt;br /&gt;
&lt;br /&gt;
On April 19, 2010 we released the final version of the OWASP Top 10 for 2010, and here is the associated [[OWASPTop10-2010-PressRelease|press release]]. This version was updated based on numerous comments received during the comment period after the release candidate was released in Nov. 2009. &lt;br /&gt;
&lt;br /&gt;
*[http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010.pdf OWASP Top 10 - 2010 Document] &lt;br /&gt;
*[[Top 10 2010|OWASP Top 10 - 2010 - wiki]] &lt;br /&gt;
*[http://owasptop10.googlecode.com/files/OWASP_Top_10_-_2010%20Presentation.pptx OWASP Top 10 - 2010 Presentation]&lt;br /&gt;
*[http://blip.tv/owasp-appsec-conference-in-europe/day2_track1_1430-1505-3936900 OWASP Top 10 Video of the Presentation above - this focused alot on the Top 10 for 2010 approach, rather than the details. (From OWASP AppSec EU 2010)]&lt;br /&gt;
*[http://www.vimeo.com/9006276 OWASP Top 10 Video of this Presentation when the Top 10 for 2010 was 1st released for comment - this goes through each item in the Top 10. (From OWASP AppSec DC 2009)]&lt;br /&gt;
&lt;br /&gt;
The OWASP Top 10 Web Application Security Risks for 2010 are: &lt;br /&gt;
&lt;br /&gt;
*[[Top_10_2010-A1|A1: Injection]]&lt;br /&gt;
*[[Top_10_2010-A2|A2: Cross-Site Scripting (XSS)]]&lt;br /&gt;
*[[Top_10_2010-A3|A3: Broken Authentication and Session Management]]&lt;br /&gt;
*[[Top_10_2010-A4|A4: Insecure Direct Object References]]&lt;br /&gt;
*[[Top_10_2010-A5|A5: Cross-Site Request Forgery (CSRF)]]&lt;br /&gt;
*[[Top_10_2010-A6|A6: Security Misconfiguration]]&lt;br /&gt;
*[[Top_10_2010-A7|A7: Insecure Cryptographic Storage]]&lt;br /&gt;
*[[Top_10_2010-A8|A8: Failure to Restrict URL Access]]&lt;br /&gt;
*[[Top_10_2010-A9|A9: Insufficient Transport Layer Protection]]&lt;br /&gt;
*[[Top_10_2010-A10|A10: Unvalidated Redirects and Forwards]]&lt;br /&gt;
&lt;br /&gt;
Please help us make sure every developer in the ENTIRE WORLD knows about the OWASP Top 10 by helping to spread the word!!! &lt;br /&gt;
&lt;br /&gt;
As you help us spread the word, please emphasize: &lt;br /&gt;
&lt;br /&gt;
*OWASP is reaching out to developers, not just the application security community &lt;br /&gt;
*The Top 10 is about managing risk, not just avoiding vulnerabilities &lt;br /&gt;
*To manage these risks, organizations need an application risk management program, not just awareness training, app testing, and remediation&lt;br /&gt;
&lt;br /&gt;
We need to encourage organizations to get off the penetrate and patch mentality. As Jeff Williams said in his 2009 OWASP AppSec DC Keynote: “we’ll never hack our way secure – it’s going to take a culture change” for organizations to properly address application security. &lt;br /&gt;
&lt;br /&gt;
If you are interested in doing a presentation on the OWASP Top 10, please feel free to use all or parts of this:&lt;br /&gt;
&lt;br /&gt;
== Introduction ==&lt;br /&gt;
&lt;br /&gt;
The OWASP Top Ten provides a powerful awareness document for web application security. The OWASP Top Ten represents a broad consensus about what the most critical web application security flaws are. Project members include a variety of security experts from around the world who have shared their expertise to produce this list. Versions of the 2007 were translated into English, French, Spanish, Japanese, Korean and Turkish and other languages. Translation efforts for the 2010 version are underway and they will be posted as they become available. &lt;br /&gt;
&lt;br /&gt;
We urge all companies to adopt this awareness document within their organization and start the process of ensuring that their web applications do not contain these flaws. Adopting the OWASP Top Ten is perhaps the most effective first step towards changing the software development culture within your organization into one that produces secure code. &lt;br /&gt;
&lt;br /&gt;
== Versions ==&lt;br /&gt;
&lt;br /&gt;
Stable: &lt;br /&gt;
&lt;br /&gt;
*[http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010.pdf OWASP Top 10 2010 - PDF] &lt;br /&gt;
*[[Top 10 2010|OWASP Top 10 2010 - wiki]]&lt;br /&gt;
&lt;br /&gt;
2010 Translations: &lt;br /&gt;
&lt;br /&gt;
*[http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010%20French.pdf OWASP Top 10 2010 - French PDF] &lt;br /&gt;
*[https://www.owasp.org/images/b/b8/OWASPTop10_DE_Version_1_0.pdf OWASP Top 10 2010 - German PDF]&lt;br /&gt;
*[http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010%20Indonesian.pdf OWASP Top 10 2010 - Indonesian PDF]&lt;br /&gt;
*[http://www.owasp.org/images/f/f9/OWASP_Top_10_-_2010_ITA.pdf OWASP Top 10 2010 - Italian PDF]&lt;br /&gt;
*[http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010%20Japanese-A4.pdf OWASP Top 10 2010 - Japanese PDF]&lt;br /&gt;
*[http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010%20Korean.pdf OWASP Top 10 2010 - Korean PDF]&lt;br /&gt;
*[http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010%20Spanish.pdf OWASP Top 10 2010 - Spanish PDF]&lt;br /&gt;
*[http://www.owasp.org/images/a/a9/OWASP_Top_10_2010_Chinese_V1.0_Released.pdf OWASP Top 10 2010 - Chinese PDF]&lt;br /&gt;
*[http://owasptop10.googlecode.com/files/OWASPTop%2010%20-%202010%20Vietnamese.pdf OWASP Top 10 2010 - Vietnamese PDF]&lt;br /&gt;
*[https://www.owasp.org/images/c/cd/OWASP_Top_10_Heb.pdf OWASP Top 10 2010 - Hebrew PDF]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2010 Release Candidate: &lt;br /&gt;
&lt;br /&gt;
*[http://www.owasp.org/index.php/File:OWASP_T10_-_2010_rc1.pdf OWASP Top 10 2010 Release Candidate] &lt;br /&gt;
*[http://www.owasp.org/images/e/e1/OWASP_Top_10_RC-Public_Comments.docx OWASP Top 10 2010 Release Candidate Comments], except for one set of scanned comments [http://www.owasp.org/images/2/2e/OWASP_T10_-_2010_rc1_cmts_Kai_Jendrian.pdf which are here].&lt;br /&gt;
&lt;br /&gt;
Old versions: &lt;br /&gt;
&lt;br /&gt;
*[http://www.owasp.org/images/e/e8/OWASP_Top_10_2007.pdf OWASP Top 10 2007 - PDF] &lt;br /&gt;
*[[Top 10 2007|OWASP Top 10 2007 - wiki]] &lt;br /&gt;
*[http://www.owasp.org/index.php/Category:OWASP_Top_Ten_Project#tab=Project_Details OWASP Top 10 2007 - PDF Translations are here] &lt;br /&gt;
*[[Top 10 2004|OWASP Top 10 2004 - wiki]]&lt;br /&gt;
&lt;br /&gt;
== Users and Adopters ==&lt;br /&gt;
&lt;br /&gt;
The U.S. Federal Trade Commission strongly recommends that all companies use the OWASP Top Ten and ensure that their partners do the same. In addition, the U.S. Defense Information Systems Agency (DISA) has listed the OWASP Top Ten as key best practices that should be used as part of the DoD Information Assurance Certification and Accreditation Process ([http://iase.disa.mil/diacap/ DIACAP]). &lt;br /&gt;
&lt;br /&gt;
In the commercial market, the [http://usa.visa.com/download/business/accepting_visa/ops_risk_management/cisp_PCI_Data_Security_Standard.pdf Payment Card Industry (PCI) standard] has adopted the OWASP Top Ten, and requires (among other things) that all merchants get a security code review for all their custom code. In addition, a broad range of companies and agencies around the globe are also using the OWASP Top Ten, including: &lt;br /&gt;
&lt;br /&gt;
*A.G. Edwards &lt;br /&gt;
*Bank of Newport &lt;br /&gt;
*Best Software &lt;br /&gt;
*British Telecom &lt;br /&gt;
*Bureau of Alcohol, Tobacco, and Firearms (ATF) &lt;br /&gt;
*Citibank &lt;br /&gt;
*Cboss Internet &lt;br /&gt;
*Cognizant &lt;br /&gt;
*Contra Costa County, CA &lt;br /&gt;
*Corillian Corporation &lt;br /&gt;
*Digital Payment Technologies &lt;br /&gt;
*Foundstone Strategic Security &lt;br /&gt;
*HP &lt;br /&gt;
*IBM Global Services &lt;br /&gt;
*National Australia Bank &lt;br /&gt;
*Norfolk Southern &lt;br /&gt;
*OneSAS.com &lt;br /&gt;
*Online Business Systems &lt;br /&gt;
*Predictive Systems &lt;br /&gt;
*Price Waterhouse Coopers &lt;br /&gt;
*Recreational Equipment, Inc. (REI) &lt;br /&gt;
*SSP Solutions &lt;br /&gt;
*Samsung SDS (Korea) &lt;br /&gt;
*Sempra Energy &lt;br /&gt;
*Sprint &lt;br /&gt;
*Sun Microsystems &lt;br /&gt;
*Swiss Federal Institute of Technology &lt;br /&gt;
*Symantec &lt;br /&gt;
*Texas Dept of Human Services &lt;br /&gt;
*The Hartford &lt;br /&gt;
*Zapatec &lt;br /&gt;
*ZipForm &lt;br /&gt;
*...and many others&lt;br /&gt;
&lt;br /&gt;
Several schools have also adopted the OWASP Top Ten as a part of their curriculum, including Michigan State University (MSU), and the University of California at San Diego (UCSD). &lt;br /&gt;
&lt;br /&gt;
Several open source projects have adopted the OWASP Top Ten as part of their security audits, including: &lt;br /&gt;
&lt;br /&gt;
*[http://plone.org Plone open source CMS project] (managed by the Plone Foundation)&lt;br /&gt;
&lt;br /&gt;
== Feedback ==&lt;br /&gt;
&lt;br /&gt;
Please let us know how your organization is using the Top Ten. Include your name, organization's name, and brief description of how you use the list. Thanks for supporting OWASP! &lt;br /&gt;
&lt;br /&gt;
We hope you find the information in the OWASP Top Ten useful. Please contribute back to the project by sending your comments, questions, and suggestions to topten@lists.owasp.org Thanks! &lt;br /&gt;
&lt;br /&gt;
To join the OWASP Top Ten mailing list or view the archives, please visit the [http://lists.owasp.org/mailman/listinfo/owasp-topten subscription page.] &lt;br /&gt;
&lt;br /&gt;
== Project Sponsors ==&lt;br /&gt;
&lt;br /&gt;
The OWASP Top Ten project is sponsored by {{MemberLinks|link=http://www.aspectsecurity.com|logo=Aspect_logo_owasp.jpg}} [[Image:AppSecDC2009-Sponsor-softtek.gif|link=http://www.softtek.com]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ==== Project Identification ====&lt;br /&gt;
{{Template:OWASP OWASP_Top10 Project}} --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= 2010 Translation Efforts =&lt;br /&gt;
&lt;br /&gt;
Efforts are underway in numerous languages to translate the OWASP Top 10. If you are interested in helping, please contact the other members of the team for the language you are interested in contribution to, or if you don't see your language listed, please let me know you want to help and we'll form a volunteer group for your language too!! &lt;br /&gt;
&lt;br /&gt;
Completed Translations:&lt;br /&gt;
&lt;br /&gt;
*French: [http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010%20French.pdf OWASP Top 10 2010 - French PDF] ludovic.petit@owasp.org, sebastien.gioria@owasp.org, antonio.fontes@owasp.org, benoit.guerette@owasp.org, Jocelyn.aubert@owasp.org, Eric.Garreau@gemalto.com, Guillaume.Huysmans@gemalto.com &lt;br /&gt;
*German: [https://www.owasp.org/images/b/b8/OWASPTop10_DE_Version_1_0.pdf OWASP Top 10 - German PDF] top10@owasp.de which is Frank Dölitzscher, Tobias Glemser, Dr. Ingo Hanke, [[User:Kai_Jendrian|Kai Jendrian]], [[User:Ralf_Reinhardt|Ralf Reinhardt]], Michael Schäfer&lt;br /&gt;
*Indonesian: [http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010%20Indonesian.pdf OWASP Top 10 2010 - Indonesian PDF] Tedi Heriyanto (coordinator), Lathifah Arief, Tri A Sundara, Zaki Akhmad&lt;br /&gt;
*Italian: [http://www.owasp.org/images/f/f9/OWASP_Top_10_-_2010_ITA.pdf OWASP Top 10 2010 - Italian PDF] See Italian Translation Tab for Translation Team&lt;br /&gt;
*Japanese: [http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010%20Japanese-A4.pdf OWASP Top 10 2010 - Japanese PDF] cecil.su@owasp.org, Dr. Masayuki Hisada, Yoshimasa Kawamoto, Ryusuke Sakamoto, Keisuke Seki, Shin Umemoto, Takashi Arima&lt;br /&gt;
*Korean: [http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010%20Korean.pdf OWASP Top 10 2010 - Korean PDF] Hyungkeun Park, (mirrk1@gmail.com)&lt;br /&gt;
*Spanish: [http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010%20Spanish.pdf OWASP Top 10 2010 - Spanish PDF] See Spanish Translation Tab for Translation Team&lt;br /&gt;
*Chinese: [http://www.owasp.org/images/a/a9/OWASP_Top_10_2010_Chinese_V1.0_Released.pdf OWASP Top 10 2010 - Chinese PDF] See Chinese Translation Tab for Translation Team&lt;br /&gt;
*Vietnamese: [http://owasptop10.googlecode.com/files/OWASPTop%2010%20-%202010%20Vietnamese.pdf OWASP Top 10 2010 - Vietnamese PDF] (NEW) Translation lead by Cecil Su - Translation Team: Dang Hoang Vu, Nguyen Ba Tien, Nguyen Tang Hung, Luong Dieu Phuong, Huynh Thien Tam&lt;br /&gt;
&lt;br /&gt;
Volunteer Translation Efforts Underway: &lt;br /&gt;
&lt;br /&gt;
*Portuguese: carlos.j.serrao@gmail.com; taquiles@gmail.com; wagner.elias@owasp.org; victoreufrasio@gmail.com; leo.cavallari@owasp.org; victoreufrasio@gmail.com; &lt;br /&gt;
*Greek: Konstantinos Papapanagiotou (conpap@di.uoa.gr) &lt;br /&gt;
*Turkish: bora@abi.com.tr &lt;br /&gt;
*Malay: cecil.su@owasp.org &lt;br /&gt;
*Czech: petr.zavodsky@owasp-czech-republic.cz&lt;br /&gt;
*Dutch: marinus@kuivenhoven.com&lt;br /&gt;
&lt;br /&gt;
= Project Details =&lt;br /&gt;
&lt;br /&gt;
{{:GPC_Project_Details/OWASP_Top10 | OWASP Project Identification Tab}} &lt;br /&gt;
&lt;br /&gt;
= Spanish Translation =&lt;br /&gt;
&lt;br /&gt;
Me complace en informarles que gracias al trabajo excepcional y totalmente voluntario de las personas listadas abajo hemos concluido con la traducción del Top 10 al español. &lt;br /&gt;
&lt;br /&gt;
Muchas gracias a nuestro equipo de traducción! &lt;br /&gt;
&lt;br /&gt;
*Daniel Cabezas Molina &lt;br /&gt;
*Edgar Sanchez &lt;br /&gt;
*Juan Carlos Calderon &lt;br /&gt;
*Jose Antonio Guasch &lt;br /&gt;
*Paulo Coronado &lt;br /&gt;
*Rodrigo Marcos &lt;br /&gt;
*Vicente Aguilera&lt;br /&gt;
&lt;br /&gt;
El documento se puede obtener en la siguiente dirección URL: &lt;br /&gt;
&lt;br /&gt;
*[http://owasptop10.googlecode.com/files/OWASP%20Top%2010%20-%202010%20Spanish.pdf Formato PDF] &lt;br /&gt;
*[http://www.owasp.org/images/8/86/OWASP_Top_10_-_2010_FINAL_%28spanish%29.pptx Formato PPT]&lt;br /&gt;
&lt;br /&gt;
Desde ya, se agradecen los comentarios y/o sugerencias sobre el mismo. &lt;br /&gt;
&lt;br /&gt;
Saludos, &lt;br /&gt;
&lt;br /&gt;
Fabio Cerullo Comité Global de Educación OWASP &lt;br /&gt;
&lt;br /&gt;
= Italian Translation =&lt;br /&gt;
&lt;br /&gt;
Grazie al contributo del seguente team di traduttori, è possibile ottenere il documento OWASP Top 10 2010 in italiano: &lt;br /&gt;
&lt;br /&gt;
*Simone Onofri &lt;br /&gt;
*Paolo Perego &lt;br /&gt;
*Massimo Biagiotti &lt;br /&gt;
*Edoardo Viscosi &lt;br /&gt;
*Salvatore Fiorillo &lt;br /&gt;
*Roberto Battistoni &lt;br /&gt;
*Loredana Mancini &lt;br /&gt;
*Michele Nesta &lt;br /&gt;
*Paco Schiaffella &lt;br /&gt;
*Lucilla Mancini &lt;br /&gt;
*Gerardo Di Giacomo &lt;br /&gt;
*Valentino Squilloni&lt;br /&gt;
&lt;br /&gt;
Il documento è disponibile [http://www.owasp.org/images/f/f9/OWASP_Top_10_-_2010_ITA.pdf qui.] &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Grazie e buona lettura! &lt;br /&gt;
&lt;br /&gt;
[http://www.owasp.org/index.php/Italy OWASP-Italy]&lt;br /&gt;
&lt;br /&gt;
= Chinese Translation =&lt;br /&gt;
感谢以下为中文版本做出贡献的翻译人员和审核人员:&lt;br /&gt;
&lt;br /&gt;
* Rip Torn&lt;br /&gt;
* 钟卫林&lt;br /&gt;
* 高雯&lt;br /&gt;
* 王颉&lt;br /&gt;
* 于振东&lt;br /&gt;
&lt;br /&gt;
下载链接:&lt;br /&gt;
&lt;br /&gt;
点击[http://www.owasp.org/images/a/a9/OWASP_Top_10_2010_Chinese_V1.0_Released.pdf 这里下载PDF格式文档]&lt;br /&gt;
&lt;br /&gt;
其他相关链接:&lt;br /&gt;
&lt;br /&gt;
[http://www.owasp.org/index.php/China-Mainland OWASP China-Mainland]&lt;br /&gt;
&lt;br /&gt;
[http://www.owasp.org/index.php/OWASP_Chinese_Project OWASP Chinese Project]&lt;br /&gt;
&lt;br /&gt;
= How Are Companies-Projects-Vendors Using the OWASP Top 10 =&lt;br /&gt;
&lt;br /&gt;
Click the links for more details on each use! &lt;br /&gt;
&lt;br /&gt;
'''Warning''': these articles have not been rated for accuracy by OWASP. Product companies should be extremely careful about claiming to &amp;quot;cover&amp;quot; or &amp;quot;ensure compliance&amp;quot; with the OWASP Top 10. The current state-of-the-art for automated detection (scanners and static analysis) and prevention (waf) is nowhere near sufficient to claim adequate coverage of the issues in the Top 10. Nevertheless, using the Top 10 as a simple way to communicate security to end users is effective. &lt;br /&gt;
&lt;br /&gt;
;[http://blogs.msdn.com/b/sdl/archive/2008/05/01/sdl-and-the-owasp-top-ten.aspx Microsoft] &lt;br /&gt;
:as a way to measure the coverage of their SDL and improve security&lt;br /&gt;
&lt;br /&gt;
;[http://www.nsa.gov/applications/search/index.cfm?q=owasp NSA] &lt;br /&gt;
:in their developer guidance on web application security&lt;br /&gt;
&lt;br /&gt;
;[https://www.pcisecuritystandards.org/index.shtml PCI Council] &lt;br /&gt;
:as part of the Payment Card Industry Data Security Standard (PCI DSS)&lt;br /&gt;
&lt;br /&gt;
;[http://community.citrix.com/display/ocb/2010/06/02/NetScaler+Application+Firewall+and+the+OWASP+Top+10+2010 Citrix] &lt;br /&gt;
:in a guide showing how to configure their NetScalar product&lt;br /&gt;
&lt;br /&gt;
;[http://msdn.microsoft.com/en-us/library/dd129898.aspx Microsoft] &lt;br /&gt;
:to show how &amp;quot;T10 threats are handled by the security design and test procedures of Microsoft&amp;quot;&lt;br /&gt;
&lt;br /&gt;
;[http://www.web2py.com/examples/default/security web2py] &lt;br /&gt;
:to demonstrate the security of this Python web framework&lt;br /&gt;
&lt;br /&gt;
;[http://www.owasp.org/index.php/Commentary_OWASP_Top_Ten_2004_Project Oracle] &lt;br /&gt;
:for developer awareness&lt;br /&gt;
&lt;br /&gt;
;[http://www.theatremanagerhelp.com/book/export/html/1640 TheatreManager] &lt;br /&gt;
:to show how their product is secure for web use&lt;br /&gt;
&lt;br /&gt;
;[http://knol.google.com/k/automated-vulnerabilty-scanners-and-the-owasp-top-10# WhiteHat] &lt;br /&gt;
:as a way to explain the coverage of their service&lt;br /&gt;
&lt;br /&gt;
;[http://www.imperva.com/docs/TB_SecureSphere_OWASP_2010-Top-Ten.pdf Imperva] &lt;br /&gt;
:to show the coverage of the SecureSphere tool&lt;br /&gt;
&lt;br /&gt;
;[http://blog.cenzic.com/public/item/254309 Cenzic] &lt;br /&gt;
:to enable &amp;quot;focused scans for compliance testing with the updated PCI standard&amp;quot;&lt;br /&gt;
&lt;br /&gt;
= Other uses and resources =&lt;br /&gt;
&lt;br /&gt;
* [[OWASP_Top_10/Mapping_to_WHID | OWASP Top 10 Mapped to the Web Hacking Incident Database]]&lt;br /&gt;
&lt;br /&gt;
__NOTOC__ &amp;lt;headertabs /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:OWASP_Project]] [[Category:OWASP_Document]] [[Category:OWASP_Download]] [[Category:OWASP_Release_Quality_Document]]&lt;/div&gt;</summary>
		<author><name>Eyal Lupu</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=User:Eyal_Lupu&amp;diff=131146</id>
		<title>User:Eyal Lupu</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=User:Eyal_Lupu&amp;diff=131146"/>
				<updated>2012-06-08T08:30:42Z</updated>
		
		<summary type="html">&lt;p&gt;Eyal Lupu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Eyal is a Java/JEE software architect, consultant and trainer. Working as a software professional since 1993 Eyal is specialized in architecting, designing and building infrastructures and frameworks for software development teams.Currently employed at the architect of Websense (http://www.websense.com) management and report applications. &amp;lt;br/&amp;gt;&lt;br /&gt;
You can read Eyal's blog about Java at http://blog.eyallupu.com&lt;/div&gt;</summary>
		<author><name>Eyal Lupu</name></author>	</entry>

	<entry>
		<id>https://wiki.owasp.org/index.php?title=HttpOnly&amp;diff=117019</id>
		<title>HttpOnly</title>
		<link rel="alternate" type="text/html" href="https://wiki.owasp.org/index.php?title=HttpOnly&amp;diff=117019"/>
				<updated>2011-09-09T05:56:25Z</updated>
		
		<summary type="html">&lt;p&gt;Eyal Lupu: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
&lt;br /&gt;
The goal of this section is to introduce, discuss, and provide language specific mitigation techniques for HttpOnly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3 style=color:#4682B4&amp;gt; &amp;lt;u&amp;gt; Who developed HttpOnly? When? &amp;lt;/u&amp;gt; &amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to a daily blog article by Jordan Wiens, “No cookie for you!,” HttpOnly cookies were first implemented in 2002 by Microsoft Internet Explorer developers for Internet Explorer 6 SP1. [http://www.networkcomputing.com/blog/dailyblog/archives/2007/03/no_cookie_for_y.html Wiens],&lt;br /&gt;
[http://www.networkcomputing.com/blog/dailyblog/archives/2007/03/no_cookie_for_y.html]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3 style=color:#4682B4&amp;gt; &amp;lt;u&amp;gt; What is HttpOnly? &amp;lt;/u&amp;gt; &amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to the [http://msdn2.microsoft.com/en-us/library/ms533046.aspx Microsoft Developer Network], HttpOnly is an ''additional flag'' included in a Set-Cookie HTTP response header. Using the HttpOnly flag when generating a cookie helps mitigate the risk of client side script accessing the protected cookie (if the browser supports it).&lt;br /&gt;
&lt;br /&gt;
*The example below shows the syntax used within the '''HTTP response header''':&lt;br /&gt;
&lt;br /&gt;
 Set-Cookie: &amp;lt;name&amp;gt;=&amp;lt;value&amp;gt;[; &amp;lt;Max-Age&amp;gt;=&amp;lt;age&amp;gt;]&lt;br /&gt;
 [; expires=&amp;lt;date&amp;gt;][; domain=&amp;lt;domain_name&amp;gt;]&lt;br /&gt;
 [; path=&amp;lt;some_path&amp;gt;][; secure][; HttpOnly]&lt;br /&gt;
&lt;br /&gt;
If the HttpOnly flag (optional) is included in the HTTP response header, the cookie cannot be accessed through client side script (again if the browser supports this flag). As a result, even if a cross-site scripting '''(XSS)''' flaw exists, and a user accidentally accesses a link that exploits this flaw, the browser (primarily Internet Explorer) will not reveal the cookie to a third party.&lt;br /&gt;
&lt;br /&gt;
If a browser does not support HttpOnly and a website attempts to set an HttpOnly cookie, the HttpOnly flag will be ignored by the browser, thus creating a traditional, script accessible cookie. As a result, the cookie (typically your session cookie) becomes vulnerable to theft of modification by malicious script. [http://msdn2.microsoft.com/en-us/library/ms533046.aspx Mitigating], [http://msdn2.microsoft.com/en-us/library/ms533046.aspx]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3 style=color:#4682B4&amp;gt; &amp;lt;u&amp;gt;Mitigating the Most Common XSS attack using HttpOnly&amp;lt;/u&amp;gt; &amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
According to [http://msdn2.microsoft.com/en-us/library/ms972826.aspx Michael Howard], Senior Security Program Manager in the Secure Windows Initiative group at Microsoft, the majority of XSS attacks target theft of session cookies. A server could help mitigate this issue by setting the HTTPOnly flag on a cookie it creates, indicating the cookie should not be accessible on the client.&lt;br /&gt;
&lt;br /&gt;
If a browser that supports HttpOnly detects a cookie containing the HttpOnly flag, and client side script code attempts to read the cookie, the browser ''returns an empty string'' as the result. This causes the attack to fail by preventing the malicious (usually XSS) code from sending the data to an attacker's website. [http://msdn2.microsoft.com/en-us/library/ms972826.aspx Howard], [http://msdn2.microsoft.com/en-us/library/ms972826.aspx]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5 style=color:#2E8B57&amp;gt; &amp;lt;u&amp;gt;Using Java to Set HttpOnly&amp;lt;/u&amp;gt; &amp;lt;/h5&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Sun Java EE supports HttpOnly flag in Cookie interface since version 6 (Servlet class version 3)[http://java.sun.com/javaee/6/docs/api/javax/servlet/http/Cookie.html#setHttpOnly%28boolean%29], also for session cookies (JSESSIONID)[http://java.sun.com/javaee/6/docs/api/javax/servlet/SessionCookieConfig.html#setHttpOnly%28boolean%29]. Methods ''setHttpOnly'' and ''isHttpOnly'' can be used to set and check for HttpOnly value in cookies.&lt;br /&gt;
&lt;br /&gt;
For older versions there the workaround is to rewrite JSESSIONID value using and setting it as a custom header[http://keepitlocked.net/archive/2007/11/05/java-and-httponly.aspx].&lt;br /&gt;
&lt;br /&gt;
 String sessionid = request.getSession().getId();&lt;br /&gt;
 response.setHeader(&amp;quot;SET-COOKIE&amp;quot;, &amp;quot;JSESSIONID=&amp;quot; + sessionid + &amp;quot;; HttpOnly&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
In '''Tomcat 6''' flag ''useHttpOnly=True'' in context.xml to force this behaviour for applications[http://tomcat.apache.org/tomcat-6.0-doc/config/context.html], including Tomcat-based frameworks like JBoss[http://www.jboss.org/feeds/post/httponly_cookies_in_tomcat_jboss].&lt;br /&gt;
&lt;br /&gt;
Servlet 3.0 (Java EE 6) introduced a standard way to configure HttpOnly attribute for the session cookie, this can be done by applying the following configuration in web.xml&lt;br /&gt;
 &amp;amp;lt;session-config&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;cookie-config&amp;amp;gt;&lt;br /&gt;
   &amp;amp;lt;http-only&amp;amp;gt;true&amp;amp;lt;/http-only&amp;amp;gt;&lt;br /&gt;
  &amp;amp;lt;/cookie-config&amp;gt;&lt;br /&gt;
 &amp;amp;lt;session-config&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5 style=color:#2E8B57&amp;gt; &amp;lt;u&amp;gt;Using .NET to Set HttpOnly&amp;lt;/u&amp;gt; &amp;lt;/h5&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*By ''default'', '''.NET 2.0''' sets the HttpOnly attribute for&lt;br /&gt;
*#Session ID&lt;br /&gt;
*#Forms Authentication cookie&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In .NET 2.0, HttpOnly can also be set via the HttpCookie object for all custom application cookies&lt;br /&gt;
*Via '''web.config''' in the system.web/httpCookies element&lt;br /&gt;
 &amp;lt;httpCookies httpOnlyCookies=&amp;quot;true&amp;quot; …&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*Or '''programmatically'''&lt;br /&gt;
C# Code:&lt;br /&gt;
 HttpCookie myCookie = new HttpCookie(&amp;quot;myCookie&amp;quot;);&lt;br /&gt;
 myCookie.HttpOnly = true;&lt;br /&gt;
 Response.AppendCookie(myCookie);&lt;br /&gt;
&lt;br /&gt;
VB.NET Code:&lt;br /&gt;
 Dim myCookie As HttpCookie = new HttpCookie(&amp;quot;myCookie&amp;quot;)&lt;br /&gt;
 myCookie.HttpOnly = True&lt;br /&gt;
 Response.AppendCookie(myCookie)&lt;br /&gt;
&lt;br /&gt;
*However, in '''.NET 1.1''', you would have to do this ''manually'', e.g.,&lt;br /&gt;
 Response.Cookies[cookie].Path += &amp;quot;;HttpOnly&amp;quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5 style=color:#2E8B57&amp;gt; &amp;lt;u&amp;gt; Using PHP to set HttpOnly &amp;lt;/u&amp;gt; &amp;lt;/h5&amp;gt; &lt;br /&gt;
PHP supports setting the HttpOnly flag since version 5.2.0 (November 2006).&lt;br /&gt;
&lt;br /&gt;
For session cookies managed by PHP, the flag is set either permanently in php.ini[http://www.php.net/manual/en/session.configuration.php#ini.session.cookie-httponly PHP manual on ''HttpOnly''] through the parameter:&lt;br /&gt;
 session.cookie_httponly = True&lt;br /&gt;
or in and during a script via the function[http://pl.php.net/manual/en/function.session-set-cookie-params.php]:&lt;br /&gt;
 void session_set_cookie_params  ( int $lifetime  [, string $path  [, string $domain  &lt;br /&gt;
                                   [, bool $secure= false  [, bool $httponly= false  ]]]] )&lt;br /&gt;
For application cookies last parameter in setcookie() sets HttpOnly flag[http://pl.php.net/setcookie]:&lt;br /&gt;
 bool setcookie  ( string $name  [, string $value  [, int $expire= 0  [, string $path  &lt;br /&gt;
                  [, string $domain  [, bool $secure= false  [, bool $httponly= false  ]]]]]] )&lt;br /&gt;
&lt;br /&gt;
===Web Application Firewalls===&lt;br /&gt;
If code changes are infeasible, web application firewalls can be used to add HttpOnly to session cookies:&lt;br /&gt;
&lt;br /&gt;
* Mod_security - using SecRule and Header directives[http://blog.modsecurity.org/2008/12/fixing-both-missing-httponly-and-secure-cookie-flags.html]&lt;br /&gt;
* ESAPI WAF[http://code.google.com/p/owasp-esapi-java/downloads/list] using ''add-http-only-flag'' directive[http://www.slideshare.net/llamakong/owasp-esapi-waf-appsec-dc-2009]&lt;br /&gt;
&lt;br /&gt;
==Browsers Supporting HttpOnly==&lt;br /&gt;
&lt;br /&gt;
Using WebGoat's HttpOnly lesson, the following web browsers have been tested for HttpOnly support. If the browsers enforces HttpOnly, a client side script will be unable to read or write the session cookie. However, there is currently no prevention of reading or writing the session cookie via a XMLHTTPRequest.&lt;br /&gt;
&lt;br /&gt;
Note: These results may be out of date as this page is not well maintained. A great site that is focused on keeping up with the status of browsers is at: http://www.browserscope.org/. For the most recent security status of various browsers, including many details beyond just HttpOnly, go to the browserscope site, and then click on the Security Tab on the table at the bottom of the page. The Browserscope site does not provide as much detail on HttpOnly as this page, but provides lots of other details this page does not.&lt;br /&gt;
&lt;br /&gt;
Our results as of Feb 2009 are listed below in '''table 1'''.&lt;br /&gt;
&lt;br /&gt;
{|border=&amp;quot;2&amp;quot; width=&amp;quot;100%&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|+ '''Table 1:''' Browsers Supporting HttpOnly&lt;br /&gt;
|-&lt;br /&gt;
! style=&amp;quot;background:black; color:white&amp;quot; | '''Browser'''&lt;br /&gt;
! style=&amp;quot;background:black; color:white&amp;quot; | '''Version'''&lt;br /&gt;
! style=&amp;quot;background:black; color:white&amp;quot; | '''Prevents Reads'''&lt;br /&gt;
! style=&amp;quot;background:black; color:white&amp;quot; | '''Prevents Writes'''&lt;br /&gt;
! style=&amp;quot;background:black; color:white&amp;quot; | '''Prevents Read within XMLHTTPResponse*'''&lt;br /&gt;
|-&lt;br /&gt;
| Microsoft Internet Explorer&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 8 Beta 2&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Partially (set-cookie is protected, but not set-cookie2, see [http://www.microsoft.com/technet/security/bulletin/ms08-069.mspx]). Fully patched IE8 passes http://ha.ckers.org/httponly.cgi&lt;br /&gt;
|-&lt;br /&gt;
| Microsoft Internet Explorer&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 7&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Partially (set-cookie is protected, but not set-cookie2, see [http://www.microsoft.com/technet/security/bulletin/ms08-069.mspx]). Fully patched IE7 passes http://ha.ckers.org/httponly.cgi&lt;br /&gt;
|-&lt;br /&gt;
| Microsoft Internet Explorer&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 6 (SP1)&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No (Possible that ms08-069 fixed IE 6 too, please verify with http://ha.ckers.org/httponly.cgi and update this page!)&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
| Microsoft Internet Explorer&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 6 (fully patched)&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Unknown&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
|-&lt;br /&gt;
| Mozilla Firefox&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 3.0.0.6+&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes (see [http://manicode.blogspot.com/2009/02/firefox-3006-httponly-champion.html])&lt;br /&gt;
|-&lt;br /&gt;
| Netscape Navigator&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 9.0b3&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
|-&lt;br /&gt;
| Opera&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 9.23&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
|-&lt;br /&gt;
| Opera&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 9.50&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
|-&lt;br /&gt;
| Opera&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 11&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Unknown&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
|-&lt;br /&gt;
| Safari&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 3.0&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No (almost yes, see [https://bugs.webkit.org/show_bug.cgi?id=10957])&lt;br /&gt;
|-&lt;br /&gt;
| Safari&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 5&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
|-&lt;br /&gt;
| iPhone (Safari)&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | iOS 4&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
|-&lt;br /&gt;
| Google's Chrome&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Beta (initial public release)&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No (almost yes, see [https://bugs.webkit.org/show_bug.cgi?id=10957])&lt;br /&gt;
|-&lt;br /&gt;
| Google's Chrome&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | 12&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Yes&lt;br /&gt;
|-&lt;br /&gt;
| Android&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Android 2.3&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Unknown&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | Unknown&lt;br /&gt;
| align=&amp;quot;center&amp;quot; | No&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;*&amp;lt;/nowiki&amp;gt; An attacker could still read the session cookie in a response to an '''[http://ha.ckers.org/blog/20070719/firefox-implements-httponly-and-is-vulnerable-to-xmlhttprequest/ XmlHttpRequest]'''.&lt;br /&gt;
&lt;br /&gt;
== Using WebGoat to Test for HttpOnly Support ==&lt;br /&gt;
&lt;br /&gt;
The goal of this section is to provide a step-by-step example of testing your browser for HttpOnly support.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3 style=color:#4682B4&amp;gt; &amp;lt;u&amp;gt; WARNING&amp;lt;/u&amp;gt; &amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The OWASP WEBGOAT HttpOnly lab is broken and does not show IE 8 Beta 2 with ms08-069 as complete in terms of HttpOnly XMLHTTPRequest header leakage protection. This error is being tracked via [http://code.google.com/p/webgoat/issues/detail?id=18 http://code.google.com/p/webgoat/issues/detail?id=18].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3 style=color:#4682B4&amp;gt; &amp;lt;u&amp;gt; Getting Started &amp;lt;/u&amp;gt; &amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:Click_link.JPG|thumb|175px|right|Figure 1 - Accessing WebGoat's HttpOnly Test Lesson]]&lt;br /&gt;
&lt;br /&gt;
Assuming you have installed and launched WebGoat, begin by navigating to the '''‘HttpOnly Test’ lesson''' located within the Cross-Site Scripting ('''XSS''') category. After loading the ‘HttpOnly Test’ lesson, as shown in '''figure 1''', you are now able to begin testing web browsers supporting HTTPOnly.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3 style=color:#4682B4&amp;gt; &amp;lt;u&amp;gt; Lesson Goal &amp;lt;/u&amp;gt; &amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the ''HttpOnly flag'' is set, then your browser should not allow a client-side script to access the session cookie. Unfortunately, since the attribute is relatively new, several browsers may neglect to handle the new attribute properly.&lt;br /&gt;
&lt;br /&gt;
The '''purpose''' of this lesson is to test whether your browser supports the '''HttpOnly cookie flag'''. ''Note the value of the'' '''''unique2u cookie'''''. If your browser supports HTTPOnly, and you ''enable'' it for a cookie, a client-side script should NOT be able to read OR write to that cookie, but the browser can still send its value to the server. However, some browsers only prevent client side read access, but do not prevent write access.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h3 style=color:#4682B4&amp;gt; &amp;lt;u&amp;gt; Testing Web Browsers for HttpOnly Support &amp;lt;/u&amp;gt; &amp;lt;/h3&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The following test was performed on two browsers, '''Internet Explorer 7''' and '''Opera 9.22''', to demonstrate the results when the HttpOnly flag is enforced properly. As you will see, IE7 properly enforces the HttpOnly flag, whereas Opera does not properly enforce the HttpOnly flag.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5 style=color:#2E8B57&amp;gt; &amp;lt;u&amp;gt; Disabling HttpOnly &amp;lt;/u&amp;gt; &amp;lt;/h5&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 1) Select the option to '''turn HttpOnly off''' as shown below in '''figure 2'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig2-Disabling_HTTPOnly.PNG|frame|center|Figure 2 - Disabling HttpOnly]]&lt;br /&gt;
&lt;br /&gt;
 2) After turning HttpOnly off, select the '''“Read Cookie”''' button. &lt;br /&gt;
*An alert dialog box will display on the screen notifying you that ''since HttpOnly was not enabled'', the '''‘unique2u’ cookie''' was successfully read as shown below in '''figure 3'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig3-Read_HTTPOnly_Off.PNG|frame|center|Figure 3 - Cookie Successfully Read with HttpOnly Off]]&lt;br /&gt;
&lt;br /&gt;
 3) With HttpOnly remaining disabled, select the '''“Write Cookie” ''' button.&lt;br /&gt;
&lt;br /&gt;
*An alert dialog box will display on the screen notifying you that ''since HttpOnly was not enabled'', the '''‘unique2u’ cookie''' was successfully modified on the client side as shown below in '''figure 4'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig4-Write_HTTPOnly_Off.PNG|frame|center|Figure 4 - Cookie Successfully Written with HttpOnly Off]]&lt;br /&gt;
&lt;br /&gt;
*As you have seen thus far, '''browsing without HttpOnly''' on is a potential '''''threat'''''. Next, we will '''enable HttpOnly''' to demonstrate how this flag protects the cookie. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;h5 style=color:#2E8B57&amp;gt; &amp;lt;u&amp;gt; Enabling HttpOnly &amp;lt;/u&amp;gt; &amp;lt;/h5&amp;gt; &lt;br /&gt;
&lt;br /&gt;
 4) Select the ''radio button'' to enable HttpOnly as shown below in '''figure 5'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig5-Turning_HTTPOnly_On.PNG|frame|center|Figure 5 - Enabling HttpOnly]]&lt;br /&gt;
&lt;br /&gt;
 5) After enabling HttpOnly, select the '''&amp;quot;Read Cookie&amp;quot;''' button.&lt;br /&gt;
&lt;br /&gt;
*If the browser enforces the HttpOnly flag properly, an alert dialog box will display only the session ID rather than the contents of the '''‘unique2u’ cookie''' as shown below in '''figure 6'''. &lt;br /&gt;
&lt;br /&gt;
[[Image:Fig6-Cookie_Read_Protection.PNG|frame|center|Figure 6 - Enforced Cookie Read Protection]]&lt;br /&gt;
&lt;br /&gt;
*However, if the browser does not enforce the HttpOnly flag properly, an alert dialog box will display both the '''‘unique2u’ cookie''' and session ID as shown below in '''figure 7'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig7-No_Cookie_Read_Protection.PNG|frame|center|Figure 7 - Unenforced Cookie Read Protection]]&lt;br /&gt;
&lt;br /&gt;
*Finally, we will test if the browser allows '''write access''' to the cookie with HttpOnly enabled.&lt;br /&gt;
&lt;br /&gt;
 6) Select the '''&amp;quot;Write Cookie&amp;quot;''' button.&lt;br /&gt;
&lt;br /&gt;
*If the browser enforces the HttpOnly flag properly, client side modification will be unsuccessful in writing to the '''‘unique2u’ cookie''' and an alert dialog box will display only containing the session ID as shown below in '''figure 8'''. &lt;br /&gt;
&lt;br /&gt;
[[Image:Fig6-Cookie_Read_Protection.PNG|frame|center|Figure 8 - Enforced Cookie Write Protection]]&lt;br /&gt;
&lt;br /&gt;
*However, if the browser does not enforce the write protection property of HttpOnly flag for the '''‘unique2u’ cookie''', the cookie will be successfully modified to ''HACKED'' on the client side as shown below in '''figure 9'''.&lt;br /&gt;
&lt;br /&gt;
[[Image:Fig9-No_Cookie_Write_Protection.PNG|frame|center|Figure 9 - Unenforced Cookie Write Protection]]&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
[1] Wiens, Jordan. [http://www.networkcomputing.com/blog/dailyblog/archives/2007/03/no_cookie_for_y.html No cookie for you!&amp;quot;]&lt;br /&gt;
&lt;br /&gt;
[2] [http://msdn2.microsoft.com/en-us/library/ms533046.aspx Mitigating Cross-site Scripting with HTTP-Only Cookies]&lt;br /&gt;
&lt;br /&gt;
[3] Howard, Michael. [http://msdn2.microsoft.com/en-us/library/ms972826.aspx Some Bad News and Some Good News]&lt;br /&gt;
&lt;br /&gt;
[4] MSDN. [http://msdn.microsoft.com/en-us/library/system.web.httpcookie.httponly.aspx Setting the HttpOnly propery in .NET]&lt;/div&gt;</summary>
		<author><name>Eyal Lupu</name></author>	</entry>

	</feed>