Tags: web jwt xxe 


# ContinuuOS
After analysis, two points were highlighted
* file /var/www/html/conf.xml which name we can see in comment in html
* authorization is done using xml

First of all, check for a [xxe vulnerability](https://portswigger.net/web-security/xxe)

As we can see, the payload worked. This means that we can see the contents of the file specified in the comment.

Aaand we got the username, password and secret key of the server user

Login on web service. After authorization, we got access to the functionality of reading logs.

If you look in more detail, you can see that when we are requesting logs, the client side sends a javascript web token to the server.

let's see its content on the site [jwt.io](https://jwt.io). In json we see the path to the log file. Let's change it to ours and sign it with the key found earlier.

Send this JWT to the server

And we got the flag. Thanks for reading:)