Nput validation and business logic security controls

 

SDEV 460 – Homework 4

Input Validation and Business Logic Security Controls

Overview:

This homework will demonstrate your knowledge of testing security controls aligned with Input

validation and business logic. You will also use the recommended OWASP testing guide reporting format to report your test findings.

Assignment: Total 100 points

Using the readings from weeks 7 and 8 as a baseline, analyze, test and document the results for the tutoring web application found on the SDEV virtual machine. Use both manual means and automated tools (e.g., ZAP). The latter will enable you to discover more information than a cursory manual examination. Specific tests to be conducted include:

1. Testing for Reflected Cross site scripting (OTG-INPVAL-001)

 What is the importance of testing for this vulnerability?

 How many occurrences of the vulnerability did an automated scan discover?

 What is your recommendation to address any issues?

 Can you place a simple JavaScript alert (e.g., DeleteSession.php as an example)?

2. Testing for Stored Cross site scripting (OTG-INPVAL-002)

 What is the importance of testing for this vulnerability?

 What happens when you attempt to add a pop-up window (e.g., <script>alert(document.cookie)</script>) to the email input field within the “index.html” field?

 Can you introduce Stored Cross site scripting?

3. Testing for SQL Injection (OTG-INPVAL-005)

 Did your manual and automated testing discover any SQL Injection vulnerabilities – if so, how many? (Note: There should be at least one occurrence).

 Name two or more steps you can take according to the reading to resolve the issue.

 Fix and test at least one occurrence of the vulnerabilities – displaying your resulting source code and output results.

4. Testing for Code Injection (OTG-INPVAL-012)

 What is the importance of testing for this vulnerability?

 What are at least two measures you can take to remediate this issue?

 Can you input some simple html code or exploit Remote File Inclusion (RFI)?

5. Test business logic data validation (OTG-BUSLOGIC-001)

 What are at least two examples of business logic errors? This could be from various input forms or areas you discovered in previous HW assignments.

 How can you mitigate against such errors?

6. Test integrity checks (OTG-BUSLOGIC-003)

 Do Drop down menus exist and are they sufficient for the application? Why does the use of drop-down menus help mitigate against this risk?

 Does your manual or automated scan reveal the use of password “AUTOCOMPLETE”? What issue, if any, does the use of AUTOCOMPLETE pose?

7. Test defenses against application misuse (OTG-BUSLOGIC-007)

 What is the importance of testing for this vulnerability?

 Can adding additional characters in input fields cause unexpected results? Verify for at least two instances.

General Guidelines

You should document the results for the tests, your comments, and recommendations for improved security for each security control tested in a word or PDF document. The format of your document should be the format that is recommended in chapter 5 of the OWASP testing guide. Provide screen captures and descriptions of your tests conducted. Discuss any issues found and possible mitigations.

Note: The SDEV Virtual Machine you downloaded and used for SDEV 300. The URL is here if you need to download it again: https://citeapps.umuc.edu/SDEV/ The VM runs on the latest version of Oracle Virtual Box. The directions to reinstall the Tutoring Web Application are also included in the course resources – which also includes any required passwords.

Deliverables:

You should submit your document by the due date. Your document should be well-organized, use the OWASP recommended reporting format, include all references used and contain minimal spelling and grammar errors.

Grading Rubric: Attribute

Meets

Reflected Cross site scripting

10 points

Tests for Reflected Cross site scripting (OTG-INVAL-001) as applied to the sample tutor application. (5 points)

Discusses the importance of testing for this vulnerability.

(1 point)

Discusses and demonstrates if a user can place a simple JavaScript alert.

(4 points)

Stored Cross site scripting

10 points

Tests for Stored Cross site scripting (OTG-INVAL-002) as applied to the sample tutor application.

(5 points)

Discusses the importance of testing for this vulnerability.

(2 points)

Discusses and demonstrates if a user can introduce Stored Cross site scripting and attempt to add a pop-up window.

(3 points)

SQL Injection

20 points

Tests for SQL injection (OTG-INPVAL-005) as applied to the sample tutor application.

(5 points)

Names two or more mitigation steps according to reading or other research.

(5 points)

Fixes and tests at least one discovered SQL injection – and displays source code changes and resulting test output.

Duepapers
Calculate your paper price
Pages (550 words)
Approximate price: -

Why Work with Us

Top Quality and Well-Researched Papers

We always make sure that writers follow all your instructions precisely. You can choose your academic level: high school, college/university or professional, and we will assign a writer who has a respective degree.

Professional and Experienced Academic Writers

We have a team of professional writers with experience in academic and business writing. Many are native speakers and able to perform any task for which you need help.

Free Unlimited Revisions

If you think we missed something, send your order for a free revision. You have 10 days to submit the order for review after you have received the final document. You can do this yourself after logging into your personal account or by contacting our support.

Prompt Delivery and 100% Money-Back-Guarantee

All papers are always delivered on time. In case we need more time to master your paper, we may contact you regarding the deadline extension. In case you cannot provide us with more time, a 100% refund is guaranteed.

Original & Confidential

We use several writing tools checks to ensure that all documents you receive are free from plagiarism. Our editors carefully review all quotations in the text. We also promise maximum confidentiality in all of our services.

24/7 Customer Support

Our support agents are available 24 hours a day 7 days a week and committed to providing you with the best customer experience. Get in touch whenever you need any assistance.

Try it now!

Calculate the price of your order

Total price:
$0.00

How it works?

Follow these simple steps to get your paper done

Place your order

Fill in the order form and provide all details of your assignment.

Proceed with the payment

Choose the payment system that suits you most.

Receive the final file

Once your paper is ready, we will email it to you.

Our Services

No need to work on your paper at night. Sleep tight, we will cover your back. We offer all kinds of writing services.

Essays

Essay Writing Service

No matter what kind of academic paper you need and how urgent you need it, you are welcome to choose your academic level and the type of your paper at an affordable price. We take care of all your paper needs and give a 24/7 customer care support system.

Admissions

Admission Essays & Business Writing Help

An admission essay is an essay or other written statement by a candidate, often a potential student enrolling in a college, university, or graduate school. You can be rest assurred that through our service we will write the best admission essay for you.

Reviews

Editing Support

Our academic writers and editors make the necessary changes to your paper so that it is polished. We also format your document by correctly quoting the sources and creating reference lists in the formats APA, Harvard, MLA, Chicago / Turabian.

Reviews

Revision Support

If you think your paper could be improved, you can request a review. In this case, your paper will be checked by the writer or assigned to an editor. You can use this option as many times as you see fit. This is free because we want you to be completely satisfied with the service offered.