Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

7.16 LAB: Medical Device Vulnerability Scoring need to upload the html and js file for grading. js was given function updateScore() {}. 7.16 LAB: Medical

7.16 LAB: Medical Device Vulnerability Scoring
need to upload the html and js file for grading.
js was given function updateScore() {}. image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
image text in transcribed
7.16 LAB: Medical Device Vulnerability Scoring In this lab, you will complete the implementation of a Medical Device Vunerability Scoring webpage. The purpose of this website is to return a score that numerically quantifies how vulnerable a specific vulnerability is to the particular attack. The properties of the system will be selected from a group of predetermined options, where each option is a styled radio button. Once options are selected for all possible properties, the website will display the vulnerability score (and hide the warning label). 1. Implement a function called updateScore. This function must verify that one button from each property is selected. 2. Using JavaScript, add a click or change event listener to each radio button (Do not add the event listener to the button label). Notice that the radio buttons are hidden using CSS. 3. Once one button from each property is selected, the webpage should: Hide the warning label by setting the display style of the
with ID warning to none. Note: both none and hidden have similar visual effects, however none doesn't occupy any space, while hidden does occupy space, affecting the layout). . Compute the vulnerability score. The score should be updated and displayed inside the
with ID score. 4. The score must have a minimum of O and a maximum of 10. 5. The final score must be rounded up to the tenths decimal place, and displayed with one decimal place. Ex: If the final score is 7.311456, the score should be displayed as 7.4. 6. Once the score is being displayed, updating a property will automatically update the vulnerability score. 7. The score is computed as: Scorenal (Scopestatu.) ((3.326258289. Score Base) + (1.1 Score Exploitability, where the Scope status, ScoreBase, and Score Exploitability are calculated as: If ScoreBase is O, then Score final should be 0. Scope Status (Selection) = Scope Status Value Unchanged 1.0 els Changed 1.08 1 ScoreBase=BaseConfidentiality + BaseIntegrity + Base Availability, Where: BaseConfidentiality (Level Sensitivity, LevelConfidentiality) = . Sensitivity corresponds to rows, and Confidentiality corresponds to columns Sensitivity / Confidentiality None Low High None 0.00 0.22 0.56 LOW 0.00 0.65 0.75 High 0.00 0.85 0.95 . BaseIntegrity (Level Health Impact, Level integrity) = . Health Impact corresponds to rows, and integrity corresponds to columns Health Impact / Integrity None Low High None 0.00 0.22 0.56 Scanned witlow 0.55 0.60 0.75 Camann High 0.85 0.90 0.95 Base Availability (Level HealthImpact, Level Availability) Health Impact corresponds to rows, and Availability corresponds to columns. Health Impact / Availability None LOW High None 0.00 0.22 0.56 Low 0.55 0.60 0.65 0.85 0.90 0.95 High Privileged Required * User Interaction, where: . Score Exploitability = AttackvectorAttack Complerity Attackvector (Selection) = Attack Vector Value Network 0.85 Adjacent Network 0.62 Local 0.55 Physical 0.20 AttackComplexity (Selection) = cs sca Attack Complexity Value Low 0.77 Dan Wigh 0,44 TH Privilege Required (Selection) = Privilege Required Value None 0.85 Low 0.62 High 0.27 User Interaction (Selection) = User Interaction Value ScanneNone with 0.85 Cam Required er 0.62 Puuuuuuuuuuuuuu html, body { height: 100%; body { font-family: Calibri, Arial; input { display: none; /Do NOT display radio buttons/ width: auto; .radioSelect { display: inline-block; margin: 3px; padding: 2px 5px; background: lightgray: border: 1px solid gray; border-radius: 5px; font-size: 1em; color: Oblack; .radioSelect:hover { background: gray; color: white; input:checked + .radioSelect background: Ogreen; border: 1px solid green; color: white; .column { float: left; height: auto; margin-right: 150px; margin-bottom: 5px; .output { clear: both; # Valvuldur.USSA calculator.css > input:checked + .radioSelect .container { clear: both; width: 875px; max-width: 88%; height: 904; min-height: 50px; margin-top: 20px; margin-bottom: 2px; padding-left: 20px; background-size: 875px 100%; background-color: #EBF4FA; WN warning float: left; min-width: 875px; padding: 18px 10px; background-color: red; border: transparent; border-radius: 5px; font-size: 1. lem; font-weight: bold; color: white; . score { clear: both; float: left; width: 10px; height: 6px; background-color: Ogreen; border: 1px solid green; border-radius: 5px; color: white; font-size: 2.2em; /*Center the text*/ text-align: center; vertical-align: middle; line-height: 6px; /*Same as the div height*/ /*Position the divi/ position: relative; top: 3px; left: 735px; z-index: 99; /*Place elements with this class in front of other elements / # calculator.css calculators calculator.html x calculator.html> html 1 2 Antal lang="en-us" cheta charset="UTF-8"> Vulnerability Scoring Calculator

Vulnerability Scoring Calculator

Select values for all categories to generate a score
ch&>Attack Vector

Confidentiality Impact

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Administration

Authors: Adam Jorgensen, Bradley Ball

1st Edition

111885926X, 9781118859261

More Books

Students also viewed these Databases questions

Question

nesrest cent

Answered: 1 week ago

Question

6. What actions might make employers lose elections?

Answered: 1 week ago