Difference between revisions of "Google Code In 2013"

From OWASP
Jump to: navigation, search
Line 4: Line 4:
 
Create a HTML page with 2 textboxes a username and password textbox, your mission is to avoid that the user inputs certain things. Use JavaScript to write a function(s) that helps you to:
 
Create a HTML page with 2 textboxes a username and password textbox, your mission is to avoid that the user inputs certain things. Use JavaScript to write a function(s) that helps you to:
 
*When user press ‘submit’ button Username cannot be longer than 10 characters and not small than 3 characters
 
*When user press ‘submit’ button Username cannot be longer than 10 characters and not small than 3 characters
*The username he wrote will be wiped out from the field if it doesn’t comply with the rule
+
*The username he wrote will be wiped out(cleared) from the field if it doesn’t comply with the rule
*A pop up message will appear in case the username is longer than 10 characters
+
*A pop up message will appear in case the username is longer than 10 characters saying "Username is not valid"
 
*If the username or password field has the following characters filled by the user: “<” or “>” , a pop message must appear saying “These characters are not allowed”
 
*If the username or password field has the following characters filled by the user: “<” or “>” , a pop message must appear saying “These characters are not allowed”
  
Line 54: Line 54:
 
'''7. Find out outdated Incubator CODE Projects''' <br>
 
'''7. Find out outdated Incubator CODE Projects''' <br>
 
OWASP has many projects that are in a beginning phase, unfortunately, some of these pages have not been updated in a long time. We need help identifying when it was the last time these wiki pages were updated. The task: Go to https://www.owasp.org/index.php/OWASP_Project_Inventory#Incubator_Projects and create a table with the following info
 
OWASP has many projects that are in a beginning phase, unfortunately, some of these pages have not been updated in a long time. We need help identifying when it was the last time these wiki pages were updated. The task: Go to https://www.owasp.org/index.php/OWASP_Project_Inventory#Incubator_Projects and create a table with the following info
Name of the project | Last updated on: (date written as day/month/year)
+
Name of the project | Last updated on: (date written as day/month/year)<br>
'''<br>
+
'''8. Find out outdated Incubator TOOL Projects''' <br>
8. Find out outdated Incubator TOOL Projects''' <br>
+
 
OWASP has many projects that are in a beginning phase, unfortunately, some of these pages have not been updated in a long time. We need help identifying when it was the last time these wiki pages were updated. The task: Go to https://www.owasp.org/index.php/OWASP_Project_Inventory#Incubator_Projects and create a table with the following info
 
OWASP has many projects that are in a beginning phase, unfortunately, some of these pages have not been updated in a long time. We need help identifying when it was the last time these wiki pages were updated. The task: Go to https://www.owasp.org/index.php/OWASP_Project_Inventory#Incubator_Projects and create a table with the following info
 
Name of the project | Last updated on: (date written as day/month/year)
 
Name of the project | Last updated on: (date written as day/month/year)

Revision as of 10:42, 26 October 2013

Contents

Tasks proposal for Google CODE –IN 2013 -OWASP

Code: Tasks related to writing or refactoring code

1.Create login page with validations
Create a HTML page with 2 textboxes a username and password textbox, your mission is to avoid that the user inputs certain things. Use JavaScript to write a function(s) that helps you to:

  • When user press ‘submit’ button Username cannot be longer than 10 characters and not small than 3 characters
  • The username he wrote will be wiped out(cleared) from the field if it doesn’t comply with the rule
  • A pop up message will appear in case the username is longer than 10 characters saying "Username is not valid"
  • If the username or password field has the following characters filled by the user: “<” or “>” , a pop message must appear saying “These characters are not allowed”

2. Fix the buffer overflow
The following code has a buffer overflow. Buffer overflows are the cause of many security issues in C and C++ code. Take your time to understand first what is a buffer overflow and how can you fix this. Can you say where the problem, why and fix it?

void myData(char *loginId) {  
    char  smallBuffer[10]; // size of 10  
    strcpy(smallBuffer, loginId);
 }  
 int main(int argc, char *argv[]) {  
 char *loginId = "GoogleCodeInUser12345"; 
 copyData (loginId); }


3. Clickjacking a website
The following code allows you to check if a website can be ‘clickjacked’ or if you can use a clickjack attack. Google info about this security vulnerability. Your mission is to: Find a website that can be clickjacked
Change the code so you can demonstrate the attack on the site you found to be vulnerable. You win this tasks if you are able to make it look like a user is browsing the website and he can hardly see the difference between the ‘clickjack’ page and the real websites page

<html>
   <head>
     <title>Clickjack test page</title>
   </head>
   <body>
     < p >Website is vulnerable to clickjacking!< /p >
     <iframe src="http://www.target.site" width="500" height="500"></iframe>
   </body>
</html>


4. Playing with Firebug and DOM (Document Object Model)
Firebug is a Mozilla plugin that allows you to change the code of the webpage cached in your browser. Your mission, go to www.owasp.org and change the text that says “Welcome to OWASP” Create a print screen to show us how you changed the code to “Welcome to Code-In 2013”

FirebugOwasp.jpg

Documentation/Training: Tasks related to creating/editing documents and helping others learn more

5. Create a flyer promoting secure coding: OWASP TOP TEN FLYER
Go the OWASP website and search for the OWASP top ten security vulnerabilities. Create a nice Poster (A3 format) with graphics about these security issues. Try to explain this using as much as you can graphics instead of words

6. XSS info on the OWASP website
We need your help finding all the URL links related to XSS in the Wiki pages of OWASP, your mission is to: Search and find all the webpages that mentioned or describe what is XSS(Cross Site Script) Read the documentation about this and create a document with all the links you found in the OWASP site about this topic.

  • Is it clear for you after reading all the links what is XSS?
  • If it’s not clear what kind of recommendations will you give us? What should be changed?

7. Find out outdated Incubator CODE Projects
OWASP has many projects that are in a beginning phase, unfortunately, some of these pages have not been updated in a long time. We need help identifying when it was the last time these wiki pages were updated. The task: Go to https://www.owasp.org/index.php/OWASP_Project_Inventory#Incubator_Projects and create a table with the following info Name of the project | Last updated on: (date written as day/month/year)
8. Find out outdated Incubator TOOL Projects
OWASP has many projects that are in a beginning phase, unfortunately, some of these pages have not been updated in a long time. We need help identifying when it was the last time these wiki pages were updated. The task: Go to https://www.owasp.org/index.php/OWASP_Project_Inventory#Incubator_Projects and create a table with the following info Name of the project | Last updated on: (date written as day/month/year)

Outreach/research: Tasks related to community management, outreach/marketing, or studying problems and recommending

9. Improve navigation in OWASP website
Go and navigate the OWASP website. How do you find the navigation of the website? provide us recommendations on how to improve it(max 1000 words)

10. Search for opinions about OWASP
We want to know what’s been said on the web about us. Do a google search and find as much as possible what is been said about us. Is it positive? Negative? Write your findings in an A4 format page ( 1000 words -word doc) and make sure to include references of all the URL and links you find out about OWASP

11. Analyze the Marketing Plan OWASP
We have a marketing plan available on the website: https://www.owasp.org/images/7/7c/OWASP_Background-Research_Phase1_Final_%281%29.pdf From this marketing plan answer the following questions:

  • Who are the Top visitors countries of the website and why do you think is the reason for?
  • Check the Word Cloud. Select a word that captures most your attention and explain why this word has to do with OWASP (except the word OWASP )

12. Analyze SEO Content Audit The following research is published in our website: https://www.owasp.org/images/4/48/OWASP-SEO-Content-Audit-Final-6-7-2013.pdf Research what is the whole purpose of SEO and why OWASP should focus on 3 important strategies mentioned in the report?

Quality Assurance: Tasks related to testing and ensuring code is of high quality

Discover and test security bugs in WebGoat
You might be wondering how hackers ‘hack’. This is a great chance for you to find out how to bypass security in an insecure web application and act as an Hacker. OWASP has an unsecure website called WebGoat. The tasks are related to this web application You will need to install web goat:
https://www.owasp.org/index.php/WebGoat_Installation (It’s very easy to install) Use the testing guide to find more info about these issues: https://www.owasp.org/images/5/56/OWASP_Testing_Guide_v3.pdf

13. Tasks testing 1
Go to the lesson on Hidden Form Field Manipulation. Explain in less than 250 words how this happens and how can you fix this issue
14. Task testing 2
Go to the lesson Parameter Manipulation. Explain in less than 250 words how this happens and how can you fix this issue
15. Testing task 3
Go to the lesson Cross-site Scripting (XSS). Explain in less than 250 words how this happens and how can you fix this issue
16. Test task 4
Go to the lesson Dangers of HTML Comments. Explain in less than 250 words how this happens and how can you fix this issue


User Interface: Tasks related to user experience research or user interface design and interaction

Create a cool wiki pages for OWAPS project pages
We want to revamp and create a new wiki template for OWASP project pages. For example this project has a nice landing page https://www.owasp.org/index.php/OWASP_Vulnerable_Web_Applications_Directory_Project And this one is less fancy https://www.owasp.org/index.php/OWASP_PHPRBAC_Project

Revamp the following wiki pages following the BRAND Guidelines (https://owasp.org/index.php/Marketing/Resources#tab=BRAND_GUIDELINES ). Code for the wiki pages should be delivered in a text format (just notepad++ text file). If you are using images, please deliver them in jpg format.

17. Task 1: Revamp https://www.owasp.org/index.php/OWASP_PHP_Security_Project
18. Task 2: Revamp https://www.owasp.org/index.php/OWASP_RBAC_Project
19. Task 3: Revamp https://www.owasp.org/index.php/OWASP_Broken_Web_Applications_Project
20. Task 4: Revamp https://www.owasp.org/index.php/OWASP_O2_Platform