Skip to content

Commit d7709a0

Browse files
committed
CVSS Score 6
1 parent 144131f commit d7709a0

4 files changed

Lines changed: 62 additions & 1 deletion

File tree

trainingportal/qna.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,10 @@ let cvss_8_score_5 = () => {
255255
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")};
256256
}
257257

258+
let cvss_9_score_6 = () => {
259+
return {"digest": getDigest("CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N")};
260+
}
261+
258262
const DEFS = {
259263
"crypto_caesar": caesarEnc,
260264
"crypto_vigenere": vigenereEnc,
@@ -269,7 +273,8 @@ const DEFS = {
269273
"cvss_5_chain": cvss_5_chain,
270274
"cvss_6_score_3": cvss_6_score_3,
271275
"cvss_7_score_4": cvss_7_score_4,
272-
"cvss_8_score_5": cvss_8_score_5
276+
"cvss_8_score_5": cvss_8_score_5,
277+
"cvss_9_score_6": cvss_9_score_6
273278
}
274279

275280
module.exports = {
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
A Local Privilege Escalation (LPE) vulnerability was identified in the desktop client. A low-privileged attacker on the machine can trick the gaming client into overwriting any file on the filesystem with attacker provided content by preparing a specially crafted symbolic link.
18+
19+
The attack works by leveraging the upgrade process which uses unsecured temporary folder for storing upgrade files. The desktop client will overwrite any file as a privileged user. As a result, the attacker can become a privileged user on the machine.
20+
21+
<br><br>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
High-level analysis:
2+
3+
- Prerequisites:
4+
- The attacker needs to have a local access as a low-privileg user on the system they want to gain privileges on
5+
- Impact:
6+
- Complete compromise of the system where the gaming desktop client is installed
7+
- **NOTE**: There is no change of scope here from a Vulnerable System to a Subsequent System.
8+
- This case is covered in the [CVSS User Guide](https://www.first.org/cvss/v4-0/user-guide#Vulnerable-System-and-Subsequent-System) (PDF reader example).
9+
- The gaming desktop client does not have its own local Authorization and Authentication functionality.
10+
- However, the product makes the customer insecure as it provides an LPE attack surface.
11+
12+
---
13+
14+
CVSS:
15+
16+
- Attack Vector(AV): Local (L)
17+
- Attack Complexity (AC): Low (L)
18+
- Attack Requirements (AT): None (N)
19+
- Privileges Required (PR): Low (L)
20+
- User Interaction (UI): None (N)
21+
- Vulnerable System Confidentiality(VC): High (H)
22+
- Vulnerable System Integrity (VI): High (H)
23+
- Vulnerable System Availability (VA): High (H)
24+
- Subsequent System Confidentiality (SC): None (N)
25+
- Subsequent System Integrity (SI): None (N)
26+
- 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
@@ -112,6 +112,15 @@
112112
"type":"quiz",
113113
"mission":"Enter the CVSS v4 string (Base Score)",
114114
"codeBlockIds":[]
115+
},
116+
{
117+
"id":"cvss_9_score_6",
118+
"name":"Score Vulnerability 6",
119+
"description": "cvss_9_score_6.md",
120+
"solution": "cvss_9_score_6.sol.md",
121+
"type":"quiz",
122+
"mission":"Enter the CVSS v4 string (Base Score)",
123+
"codeBlockIds":[]
115124
}
116125
]
117126
}

0 commit comments

Comments
 (0)