Skip to content

Commit 144131f

Browse files
committed
CVSS Score 5
1 parent 61cef0b commit 144131f

4 files changed

Lines changed: 58 additions & 1 deletion

File tree

trainingportal/qna.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,10 @@ let cvss_7_score_4 = () => {
251251
return {"digest": getDigest("CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N")};
252252
}
253253

254+
let cvss_8_score_5 = () => {
255+
return {"digest": getDigest("CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N")};
256+
}
257+
254258
const DEFS = {
255259
"crypto_caesar": caesarEnc,
256260
"crypto_vigenere": vigenereEnc,
@@ -264,7 +268,8 @@ const DEFS = {
264268
"cvss_4_score_2": cvss_4_score_2,
265269
"cvss_5_chain": cvss_5_chain,
266270
"cvss_6_score_3": cvss_6_score_3,
267-
"cvss_7_score_4": cvss_7_score_4
271+
"cvss_7_score_4": cvss_7_score_4,
272+
"cvss_8_score_5": cvss_8_score_5
268273
}
269274

270275
module.exports = {
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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+
<br><br>
6+
7+
### Scenario
8+
9+
The company "PCGamingCompany.insecure.example" offers computer games to its customers. The service offers an easy sign up for new customers.
10+
11+
From a technical standpoint, they have a web client and a desktop client. In order for customers to play games, they have to download the desktop client and log into their account.
12+
13+
<br><br>
14+
15+
#### Vulnerability
16+
17+
An attacker can cause a denial of service impact on the telemetry service by providing specially crafted data. The attacker can maliciously change the filename of a locally available game (installed by the gaming desktop client). The desktop client will then try to report this filename and the telemetry service will crash. As a result, customers won't be able to see their gaming statistics, but will still be able to play normally their games.
18+
19+
<br><br>
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
High-level analysis:
2+
3+
- Prerequisites:
4+
- None.
5+
- Even if from technical point of view the API does require authentication, it is easy for an attacker to obtain a normal account and leverage that. Per the [CVSS Specification](https://www.first.org/cvss/v4-0/specification-document#Privileges-Required-PR): "Generally, self-service provisioned accounts do not constitute a privilege requirement if the attacker can grant themselves privileges as part of the attack".
6+
- Despite the attacker starting from a local system with the desktop client being installed, they are actually targeting the Vulnerable System (the telemetry API) remotely over the network. It is within the attacker's control the sign up and install the desktop client on a machine they control.
7+
- Impact:
8+
- Non-critical service is impacted
9+
10+
---
11+
12+
CVSS:
13+
14+
- Attack Vector: Network (N)
15+
- Attack Complexity: Low (L)
16+
- Attack Requirements: None (N)
17+
- Privileges Required: None (N)
18+
- User Interaction: None (N)
19+
- Vulnerable System Confidentiality: None (N)
20+
- Vulnerable System Integrity: None (N)
21+
- Vulnerable System Availability: Low (L)
22+
- Subsequent System Confidentiality: None (N)
23+
- Subsequent System Integrity: None (N)
24+
- Subsequent System Availability: None (N)

trainingportal/static/lessons/cvss/definitions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@
103103
"type":"quiz",
104104
"mission":"Enter the CVSS v4 string (Base Score)",
105105
"codeBlockIds":[]
106+
},
107+
{
108+
"id":"cvss_8_score_5",
109+
"name":"Score Vulnerability 5",
110+
"description": "cvss_8_score_5.md",
111+
"solution": "cvss_8_score_5.sol.md",
112+
"type":"quiz",
113+
"mission":"Enter the CVSS v4 string (Base Score)",
114+
"codeBlockIds":[]
106115
}
107116
]
108117
}

0 commit comments

Comments
 (0)