~~I find a sn**yaml payload and try to get a reverse shell, I add a simple nc in the payload and it can connect to my local pc, but any other reverse payload can’t work. Also tried to download the exp to the machine, but when try to execute it ,it doens’t work. ~~
Edit: Get the foothold finally, I should use a definite address in the payload. The user is simple to get, working on the root now.
Wondering if anyone could help on foothold. I got past the 500 errors but reverse shell isn’t working. Connects up but can’t execute commands. I assume there is a problem with the payload.
Ended up figuring out payload: had to run two services at once for it to play nice though. User is trivial from there if you explored the site a bit. On to root…
Kinda stuck on the root part. Tried compiling myself, didn’t work for some reason. Didnt find the package needed for compiling on the box either. Any help will be appreciated.
Hi, i managed to manipulate the request and i can make the machine download my files, but every reverse shell i try i don’t get the connection, can you give me any nudge?
i managed to get a simple nc without commands and without the “-e”
Hi, i managed to manipulate the request and i can make the machine download my files, but every reverse shell i try i don’t get the connection, can you give me any nudge?
i managed to get a simple nc without commands and without the “-e”
From what I can tell so far the YAML parser is at least meant to work. Anyone else getting a blank page with ‘Due to security reason this feature has been temporarily on hold. We will soon fix the issue!’ everytime they post something to the Yaml servlet?
From what I can tell so far the YAML parser is at least meant to work. Anyone else getting a blank page with ‘Due to security reason this feature has been temporarily on hold. We will soon fix the issue!’ everytime they post something to the Yaml servlet?
Yep
the same here
It worked the last time I tried to get a reverse connection
Hello everyone (finally back on track!)
This machine was really interesting.
Learnt something new.
Everything has already been said.
For foothold, when you think is not working, think also that there is always a workaround.
Cheers!
Impossible to get that yaml thing functionning :neutral:. Tried to execute system commands but it’s not the right way. You need to run a web server on your host to serve files to attacked url.
For rooting, I just was enable to use webassembly tools. I found a web online tool that do the same. I thought deploy.sh deploy a war to tomcat server but it’s simpler thant that. Just execute commands with root account.
Well, that was impossible for me without tutos but I really tried to go ahead. I learned things undoubtly.
I would say the rating is accurate. I had issues with both foothold and root, but only because I’m stupid. foothold i could have gotten quicker if my syntax had been correct first time. root i could have saved myself two days had I looked at something correctly. I pretty much knew exactly how to get to root once i looked the box over and read everything around me. I even did the steps that would get me to root, but then just missed ONE thing…
fun box, I’ve been away working on retired windows boxes. Root threw me for a loop. Do your standard enumeration. There’s a way of doing that redirection. GO do some reading. After that, if you make your own then just worry about Compiler errors. Runtime errors won’t block you as long as you don’t Byte off more than you can chew.
Rooted. Thanks @felamos. Learned something about w**m
@allTsar said:
From what I can tell so far the YAML parser is at least meant to work. Anyone else getting a blank page with ‘Due to security reason this feature has been temporarily on hold. We will soon fix the issue!’ everytime they post something to the Yaml servlet?
Getting this message is normal when you send something that doesn’t do what’s needed - except for when you send garbage and you get the trace that other people mentioned.
For root: getting an error when running the w**m-related command can also be normal and doesn’t necessarily mean some other user bricked the machine, just read through what you have.
Friendly reminder to clean up your room before leaving the box.
Finally rooted. Thanks to @felamos for this awesome box.
Initial foothold was pretty tough for me,learned a lot. User and root part is pretty straight forward.
If anybody need any hints can PM me.
about user:
If you are getting error 500,
please just read st******e, i mean, read every single line of it, until you see it
took like two hours for me ><
about root:
straightforward, just see what that strange file does, modify it and tadaa.
Got user.txt as the a****, and have a pretty clear idea of privesc, but am getting a weird error on a certain package. Not really familiar with the technology but I think I know what to do with d*****.sh.
Can anyone give a hint, please? I can run RCE, but cannot get reverse shell. The server can connect to me, using curl, but I do not get rev.shell . I also do not now Java,