File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -231,6 +231,10 @@ let analysisEnc = (mes) => {
231231 return getRes ( goldenKey , cipher ) ;
232232}
233233
234+ let cvss_score_1 = ( ) => {
235+ return { "digest" : getDigest ( "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N" ) } ;
236+ }
237+
234238const DEFS = {
235239 "crypto_caesar" : caesarEnc ,
236240 "crypto_vigenere" : vigenereEnc ,
@@ -239,7 +243,8 @@ const DEFS = {
239243 "crypto_hash" : hashEnc ,
240244 "crypto_xor" : xorEnc ,
241245 "crypto_pbk" : pbkEnc ,
242- "crypto_analysis" : analysisEnc
246+ "crypto_analysis" : analysisEnc ,
247+ "cvss_score_1" : cvss_score_1
243248}
244249
245250module . exports = {
Original file line number Diff line number Diff line change 1+ ### Task
2+
3+ Score the following scenario using the CVSS v4.0 calculator [ https://www.first.org/cvss/calculator/4-0 ] ( https://www.first.org/cvss/calculator/4-0 ) .
4+
5+ ### Scenario
6+
7+ Unauthenticated attacker can list registered users of a SaaS offering.
Original file line number Diff line number Diff line change 1+ - Attack Vector (AV): Network (N)
2+ - Attack Complexity (AC): Low (L)
3+ - Attack Requirements (AT): None (N)
4+ - Privileges Required (PR): None (N)
5+ - User Interaction (UI): None (N)
6+ - Vulnerable System Confidentiality (VC): Low (L)
7+ - Vulnerable System Integrity (VI): None (N)
8+ - Vulnerable System Availability (VA): None (N)
9+ - Subsequent System Confidentiality (SC): None (N)
10+ - Subsequent System Integrity (SI): None (N)
11+ - Subsequent System Availability (SA): None (N)
Original file line number Diff line number Diff line change 5858 ],
5959 "answer" :" 5" ,
6060 "codeBlockIds" :[]
61+ },
62+ {
63+ "id" :" cvss_score_1" ,
64+ "name" :" Score Vulnerability 1" ,
65+ "description" : " cvss_score_1.md" ,
66+ "solution" : " cvss_score_1.sol.md" ,
67+ "type" :" quiz" ,
68+ "mission" :" Enter the CVSS v4 string (Base Score)" ,
69+ "codeBlockIds" :[]
6170 }
6271 ]
6372 }
You can’t perform that action at this time.
0 commit comments