Skip to content

Commit 8a33d48

Browse files
committed
CVSS Score 1
1 parent dcce949 commit 8a33d48

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
@@ -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+
234238
const 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

245250
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+
Unauthenticated attacker can list registered users of a SaaS offering.
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): 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)

trainingportal/static/lessons/cvss/definitions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@
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
}

0 commit comments

Comments
 (0)