Skip to content

Commit c3497ed

Browse files
committed
User XP review
1 parent 77b9303 commit c3497ed

File tree

2 files changed

+20
-3
lines changed

2 files changed

+20
-3
lines changed

Controller/Controller.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ On enregistre les objets "employé" valides dans un fichier en lecture seule
6464
}
6565
}
6666

67-
return Results.Ok(JsonConvert.SerializeObject(new List<object> { File.GetAttributes(ROFile).ToString(), NewId, string.IsNullOrEmpty(HaveToBeEmpty) }));
67+
return new Dictionary<string, object>{ { "File Attributes", File.GetAttributes(ROFile).ToString() },{ "NewId", NewId }, { "Memory Integrity", string.IsNullOrEmpty(HaveToBeEmpty) }
68+
};
6869
}
6970

7071
public static string VulnerableXmlParser(string Xml)
@@ -189,7 +190,7 @@ Limite les chaines à 50 caractères
189190
public static string VulnerableCodeExecution(string UserStr)
190191
{
191192
/*
192-
Retourne un nouvel Id
193+
Retourne un nouvel Id d'employé
193194
*/
194195
string Result = string.Empty;
195196
if (UserStr.Length < 40 && !UserStr.Contains("class") && !UserStr.Contains("using"))

README.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,22 @@ flowchart TD
3535
H --> P(*Variables and functions*)
3636
```
3737

38-
## 🐞 Vulnerabilities
38+
## 🏢 Business Value to Attack
39+
40+
| Business Workflow | Relevant OWASP ASVS Chapters |
41+
|----------------------------------------|------------------------------|
42+
| **Personal Data Management** | V1 Architecture, Design and Threat Modeling, V5 Validation, Sanitization and Encoding |
43+
| **Employee Management** | V2 Authentication, V9 Cryptography |
44+
| **Client Management** | V4 Access Control, V6 Stored Data |
45+
| **Banking data Management** | V7 Cryptography at Rest, V10 Malicious Code |
46+
| **Contracts and Documents Management** | V13 File and Resources, V5 Validation, Sanitization and Encoding |
47+
| **Identities and Secrets Management** | V2 Authentication, V9 Cryptography |
48+
| **Administrative Tasks** | V4 Access Control, V17 Business Logic |
49+
| **Log Management** | V19 Logging and Monitoring |
50+
| **Service Behavior** | V14 API and Web Service Security, V17 Business Logic |
51+
52+
53+
## 🐞 Vulnerabilities to discover
3954

4055
| MITRE Reference | Description | Difficulty |
4156
|----|---|----|
@@ -72,6 +87,7 @@ flowchart TD
7287
## 🔑 Hint & Write Up
7388

7489
* Try reading [Dojo-101](https://github.com/Aif4thah/Dojo-101), this project contains all you need to hack this app.
90+
7591
* [Become a sponsor](https://github.com/sponsors/Aif4thah?frequency=recurring&sponsor=Aif4thah) and get access to the **full methodology** and **complete write-up**.
7692

7793

0 commit comments

Comments
 (0)