Skip to content

Commit 3e1016c

Browse files
committed
CVSS Score 2
1 parent 8a33d48 commit 3e1016c

4 files changed

Lines changed: 33 additions & 1 deletion

File tree

trainingportal/qna.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,10 @@ let cvss_score_1 = () => {
235235
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")};
236236
}
237237

238+
let cvss_score_2 = () => {
239+
return {"digest": getDigest("CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N")};
240+
}
241+
238242
const DEFS = {
239243
"crypto_caesar": caesarEnc,
240244
"crypto_vigenere": vigenereEnc,
@@ -244,7 +248,8 @@ const DEFS = {
244248
"crypto_xor": xorEnc,
245249
"crypto_pbk": pbkEnc,
246250
"crypto_analysis": analysisEnc,
247-
"cvss_score_1": cvss_score_1
251+
"cvss_score_1": cvss_score_1,
252+
"cvss_score_2": cvss_score_2
248253
}
249254

250255
module.exports = {
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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+
A malicious SaaS user with knowledge of another user’s unique 128-bit userid, can read all the information (e.g. details, activity, messages) for that user through an Authorization bypass in the API.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
- Attack Vector (AV): Network (N)
2+
- Attack Complexity (AC): High (H)
3+
- Attack Requirements (AT): None (N)
4+
- Privileges Required (PR): Low (L)
5+
- User Interaction (UI): None (N)
6+
- Vulnerable System Confidentiality (VC): High (H)
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)

trainingportal/static/lessons/cvss/definitions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@
6767
"type":"quiz",
6868
"mission":"Enter the CVSS v4 string (Base Score)",
6969
"codeBlockIds":[]
70+
},
71+
{
72+
"id":"cvss_score_2",
73+
"name":"Score Vulnerability 2",
74+
"description": "cvss_score_2.md",
75+
"solution": "cvss_score_2.sol.md",
76+
"type":"quiz",
77+
"mission":"Enter the CVSS v4 string (Base Score)",
78+
"codeBlockIds":[]
7079
}
7180
]
7281
}

0 commit comments

Comments
 (0)